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

Method is_leaf

python/tests/test_optimized_bplus_tree.py:29–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 self.next: Optional["OptimizedLeafNode"] = None
28
29 def is_leaf(self) -> bool:
30 return True
31
32 def find_position(self, key) -> int:
33 """Binary search using only the keys portion of data array."""

Callers 15

get_depthMethod · 0.45
_print_tree_structureFunction · 0.45
_check_keys_ascendingMethod · 0.45
_check_min_occupancyMethod · 0.45
_check_max_occupancyMethod · 0.45
_get_leaf_depthsMethod · 0.45
count_nodes_per_levelMethod · 0.45
_count_total_keysMethod · 0.45
_count_total_nodesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected