MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / is_underfull

Method is_underfull

rust/src/node.rs:435–437  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

433 /// Returns true if this leaf node is underfull (below minimum occupancy).
434 #[inline]
435 pub fn is_underfull(&self) -> bool {
436 self.keys.len() < self.min_keys()
437 }
438
439 /// Returns true if this leaf can donate a key to a sibling.
440 #[inline]

Callers 3

is_node_underfullMethod · 0.45
check_node_invariantsMethod · 0.45
removeMethod · 0.45

Calls 2

min_keysMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected