MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / left_sibling_branch_level

Method left_sibling_branch_level

cranelift/bforest/src/path.rs:605–607  ·  view source on GitHub ↗

Find the level where the left sibling to the current node at `level` branches off.

(&self, level: usize)

Source from the content-addressed store, hash-verified

603
604 /// Find the level where the left sibling to the current node at `level` branches off.
605 fn left_sibling_branch_level(&self, level: usize) -> Option<usize> {
606 self.entry[0..level].iter().rposition(|&e| e != 0)
607 }
608
609 /// Get the right sibling node to the current node at `level`.
610 /// Also return the critical key between the current node and the right sibling.

Callers 3

prev_leafMethod · 0.80
current_crit_keyMethod · 0.80
update_crit_keyMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected