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

Method is_in_start_bound

cranelift/bforest/src/map.rs:834–840  ·  view source on GitHub ↗
(&self, key: K)

Source from the content-addressed store, hash-verified

832 }
833
834 fn is_in_start_bound(&self, key: K) -> bool {
835 match self.start {
836 Bound::Included(k) => self.cursor.comp.cmp(key, k).is_ge(),
837 Bound::Excluded(k) => self.cursor.comp.cmp(key, k).is_gt(),
838 Bound::Unbounded => true,
839 }
840 }
841
842 fn is_in_end_bound(&self, key: K) -> bool {
843 match self.end {

Callers 1

is_in_boundsMethod · 0.80

Calls 1

cmpMethod · 0.45

Tested by

no test coverage detected