Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KentBeck/BPlusTree3
/ len
Method
len
rust/src/node.rs:35–37 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
33
/// Returns the number of key-value pairs in this leaf.
34
#[inline]
35
pub fn len(&self) -> usize {
36
self.keys_len()
37
}
38
39
/// Get a reference to the keys in this leaf node.
40
pub fn keys(&self) -> &Vec<K> {
Callers
15
profile_very_large_single_scan
Function · 0.45
collapse_root_if_needed
Method · 0.45
rebalance_child
Method · 0.45
test_rebalancing_with_various_sibling_scenarios
Function · 0.45
rebalance_leaf
Method · 0.45
rebalance_branch
Method · 0.45
check_linked_list_invariants
Method · 0.45
check_node_invariants
Method · 0.45
keys_len
Method · 0.45
values_len
Method · 0.45
remove_at
Method · 0.45
insert
Method · 0.45
Calls
1
keys_len
Method · 0.80
Tested by
15
test_rebalancing_with_various_sibling_scenarios
Function · 0.36
test_deep_tree_branch_collapse_attack
Function · 0.36
test_linked_list_cycle_attack
Function · 0.36
test_split_during_iteration_attack
Function · 0.36
test_linked_list_fragmentation_attack
Function · 0.36
test_iterator_state_corruption_attack
Function · 0.36
test_intensive_linked_list_corruption_detection
Function · 0.36
fuzz_test_bplustree
Function · 0.36
fuzz_test_with_random_keys
Function · 0.36
test_root_collapse_edge_cases
Function · 0.36
test_root_collapse_infinite_loop_attack
Function · 0.36
test_split_merge_thrashing_attack
Function · 0.36