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

Method is_full

rust/src/node.rs:423–425  ·  view source on GitHub ↗

Returns true if this leaf node is at capacity.

(&self)

Source from the content-addressed store, hash-verified

421
422 /// Returns true if this leaf node is at capacity.
423 pub fn is_full(&self) -> bool {
424 self.keys.len() >= self.capacity
425 }
426
427 /// Returns true if this leaf node needs to be split.
428 /// We allow one extra key beyond capacity to ensure proper splitting.

Callers 3

insertMethod · 0.45
insert_into_leafMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected