summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/netns/0003many_0
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2022-09-18 18:22:11 +0100
committerFlorian Westphal <fw@strlen.de>2022-09-21 12:10:09 +0200
commitd899df24826c268c764edb07c3a3ed3f2c90b253 (patch)
treeb4f8300c71f65a554cde337648c9e6b35908517e /tests/shell/testcases/netns/0003many_0
parent91626261c9dfedbd1e8ff40959b453418ebc8fb6 (diff)
segtree: refactor decomposition of closed intervals
Move the code in `interval_map_decompose` which adds a new closed interval to the set into a separate function. In addition to the moving of the code, there is one other change: `compound_expr_add` is called once, after the main conditional, instead of being called in each branch. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/netns/0003many_0')
0 files changed, 0 insertions, 0 deletions