Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KentBeck/BPlusTree3
/ functions
Functions
1,100 in github.com/KentBeck/BPlusTree3
⨍
Functions
1,100
◇
Types & classes
69
↓ 5 callers
Method
get_first_leaf_id
Get the ID of the first (leftmost) leaf in the tree
rust/src/tree_structure.rs:120
↓ 5 callers
Method
is_underfull
(&self)
rust/src/node.rs:435
↓ 5 callers
Method
merge_with_right
Merge this leaf with its right sibling
python/bplustree/bplus_tree.py:727
↓ 5 callers
Function
node_create
Create a new node */
python/bplustree_c_src/node_ops.c:92
↓ 5 callers
Function
node_destroy
Destroy a node and decref all Python objects */
python/bplustree_c_src/node_ops.c:121
↓ 5 callers
Method
record
(&mut self, duration: Duration)
rust/src/bin/function_profiler.rs:22
↓ 5 callers
Method
stats
Get arena statistics
rust/src/compact_arena.rs:184
↓ 5 callers
Method
try_insert
Get a reference to the value associated with a key. # Arguments `key` - The key to look up Insert with comprehensive error handling and rollback on
rust/src/lib.rs:59
↓ 4 callers
Function
_print_structure
Helper to print tree structure
python/tests/test_proper_deletion.py:100
↓ 4 callers
Method
_save_failure_info
Save operation history for debugging when a failure occurs
python/tests/fuzz_test.py:387
↓ 4 callers
Function
assert_attack_failed
Legacy compatibility - verify attack failed
rust/tests/test_utils.rs:493
↓ 4 callers
Function
assert_invariants_int
Standard invariant check for integer trees
rust/tests/test_utils.rs:177
↓ 4 callers
Method
batch_insert
Batch insert operations with rollback on any failure
rust/src/lib.rs:97
↓ 4 callers
Method
can_donate
Check if branch can give a key to a sibling (has more than minimum)
python/bplustree/bplus_tree.py:857
↓ 4 callers
Method
can_donate
(&self)
rust/src/node.rs:441
↓ 4 callers
Function
create_tree_5
Standard tree with capacity 5 (for odd capacity testing)
rust/tests/test_utils.rs:22
↓ 4 callers
Method
deallocate_branch
(&mut self, id: NodeId)
rust/src/compact_arena.rs:369
↓ 4 callers
Method
first_key
(&self)
rust/src/node.rs:74
↓ 4 callers
Method
get
(&self, id: NodeId)
rust/src/compact_arena.rs:123
↓ 4 callers
Method
get_key
(&self, index: usize)
rust/src/node.rs:56
↓ 4 callers
Method
get_mut
Get a mutable reference to the value for a key. # Arguments `key` - The key to look up # Returns A mutable reference to the value if the key exist
rust/src/get_operations.rs:138
↓ 4 callers
Method
get_mut
(&mut self, key: &K)
rust/src/node.rs:28
↓ 4 callers
Method
get_value_mut
(&mut self, index: usize)
rust/src/node.rs:68
↓ 4 callers
Function
insert_sequential_range_int
Insert sequential data 0..count with integer values
rust/tests/test_utils.rs:56
↓ 4 callers
Method
is_underfull
Check if leaf has fewer than minimum required keys.
python/bplustree/bplus_tree.py:697
↓ 4 callers
Method
is_underfull
Check if branch has fewer than minimum required keys
python/bplustree/bplus_tree.py:852
↓ 4 callers
Method
items_fast
Returns a fast iterator over all key-value pairs using unsafe arena access. This provides better performance by skipping bounds checks. # Safety This
rust/src/iteration.rs:67
↓ 4 callers
Method
measure_operation
Measure operation time and return (total_time, per_operation_time).
python/tests/test_performance_baseline.py:28
↓ 4 callers
Method
random_key
Generate a random key, biased towards existing keys for deletions/updates
python/tests/fuzz_test.py:183
↓ 4 callers
Method
slice
Returns all key-value pairs as a vector (for testing/debugging).
rust/src/validation.rs:288
↓ 4 callers
Method
validate_for_operation
Check if tree is in a valid state for operations
rust/src/validation.rs:365
↓ 4 callers
Method
values
Return iterator over values.
python/bplustree/__init__.py:36
↓ 3 callers
Method
_count_total_nodes
Count total nodes in the tree
python/tests/_invariant_checker.py:330
↓ 3 callers
Method
allocate_branch
(&mut self, branch: BranchNode<K, V>)
rust/src/compact_arena.rs:357
↓ 3 callers
Method
borrow_from_left
Borrow the rightmost key-value from left sibling
python/bplustree/bplus_tree.py:707
↓ 3 callers
Method
borrow_from_right
Borrow the leftmost key-value from right sibling
python/bplustree/bplus_tree.py:717
↓ 3 callers
Function
check_invariants
Helper function to check tree invariants
python/tests/test_invariant_bug.py:10
↓ 3 callers
Function
create_tree_6
Standard tree with capacity 6 (for specific testing scenarios)
rust/tests/test_utils.rs:27
↓ 3 callers
Method
find_position
Binary search using only the keys portion of data array.
python/tests/test_optimized_bplus_tree.py:32
↓ 3 callers
Method
get_child
Leaf nodes don't have children.
python/tests/test_optimized_bplus_tree.py:36
↓ 3 callers
Method
get_child
Get the child node where a key would be found
python/bplustree/bplus_tree.py:924
↓ 3 callers
Method
get_or_default
Get value for a key with default. # Arguments `key` - The key to look up `default` - The default value to return if key is not found # Returns A r
rust/src/get_operations.rs:87
↓ 3 callers
Method
get_value
(&self, index: usize)
rust/src/node.rs:62
↓ 3 callers
Method
is_full
Returns true if this leaf node is at capacity.
rust/src/node.rs:423
↓ 3 callers
Method
is_underfull
Returns True if the node has fewer than minimum required keys
python/bplustree/bplus_tree.py:664
↓ 3 callers
Method
keys_is_empty
(&self)
rust/src/node.rs:86
↓ 3 callers
Method
remove_item
Remove a key from the tree, returning an error if the key doesn't exist. This is equivalent to Python's `del tree[key]`.
rust/src/delete_operations.rs:61
↓ 3 callers
Method
try_get
Try to get a value, returning detailed error context on failure. # Arguments `key` - The key to look up # Returns A reference to the value if the
rust/src/get_operations.rs:166
↓ 3 callers
Method
try_remove
Remove with comprehensive error handling
rust/src/lib.rs:80
↓ 3 callers
Method
verify_consistency
Verify that B+ tree matches reference implementation
python/tests/fuzz_test.py:134
↓ 3 callers
Function
verify_ordering
Verify tree ordering after operations
rust/tests/test_utils.rs:312
↓ 3 callers
Method
winner
(&self)
rust/examples/comprehensive_comparison.rs:39
↓ 3 callers
Method
with_operation
(self, operation: &str)
rust/src/error.rs:143
↓ 2 callers
Method
_get_leaf_depths
Get all leaves with their depths
python/tests/_invariant_checker.py:236
↓ 2 callers
Method
_merge_with_sibling
Merge an underfull child with one of its siblings
python/bplustree/bplus_tree.py:357
↓ 2 callers
Function
_print_tree_structure
Print tree structure to see actual layout
python/tests/test_invariant_bug.py:42
↓ 2 callers
Method
accept_from_left
Accept a borrowed key-value pair at the beginning (from left sibling)
rust/src/node.rs:478
↓ 2 callers
Method
accept_from_right
Accept a borrowed key-value pair at the end (from right sibling)
rust/src/node.rs:484
↓ 2 callers
Method
allocated_count
Get the number of allocated items
rust/src/compact_arena.rs:276
↓ 2 callers
Method
append_keys
(&mut self, other: &mut Vec<K>)
rust/src/node.rs:219
↓ 2 callers
Method
append_values
(&mut self, other: &mut Vec<V>)
rust/src/node.rs:225
↓ 2 callers
Function
assert_full_validation
Comprehensive tree validation including ordering
rust/tests/test_utils.rs:184
↓ 2 callers
Method
best_ratio
(&self)
rust/examples/comprehensive_comparison.rs:57
↓ 2 callers
Method
borrow_first
Borrow the first key-value pair from this leaf (used when this is the right sibling)
rust/src/node.rs:470
↓ 2 callers
Method
borrow_last
Borrow the last key-value pair from this leaf (used when this is the left sibling)
rust/src/node.rs:462
↓ 2 callers
Method
check_node_invariants
Recursively check invariants for a node and its children.
rust/src/validation.rs:150
↓ 2 callers
Method
create_empty_root_leaf
(&mut self)
rust/src/delete_operations.rs:160
↓ 2 callers
Function
create_simple_tree
Legacy compatibility - create simple tree
rust/tests/test_utils.rs:471
↓ 2 callers
Function
create_tree_with_data
Create tree with custom capacity and insert 0..count sequential data
rust/tests/test_utils.rs:145
↓ 2 callers
Method
deallocate
(&mut self, id: NodeId)
rust/src/compact_arena.rs:78
↓ 2 callers
Method
find_leaf_for_key
Find the leaf node that contains or would contain the given key
python/bplustree/bplus_tree.py:812
↓ 2 callers
Method
find_leaf_for_key
(&self, key: &K)
rust/src/tree_structure.rs:144
↓ 2 callers
Method
find_leaf_for_key_with_match
(&self, key: &K)
rust/src/tree_structure.rs:180
↓ 2 callers
Method
find_position
Binary search for key position.
python/tests/test_single_array_int_optimization.py:27
↓ 2 callers
Method
find_position
Binary search for key position.
python/tests/test_single_array_int_optimization.py:83
↓ 2 callers
Method
first
Returns the first key-value pair in the tree.
rust/src/range_queries.rs:58
↓ 2 callers
Method
free_count
Get the number of free slots
rust/src/compact_arena.rs:271
↓ 2 callers
Method
get_child_for_key
(&self, branch_id: NodeId, key: &K)
rust/src/get_operations.rs:217
↓ 2 callers
Method
get_leaf_unchecked
Unsafe fast access to leaf node (no bounds checking) # Safety Caller must ensure id is valid and allocated
rust/src/compact_arena.rs:435
↓ 2 callers
Function
insert_range
Insert sequential data start..end with string values
rust/tests/test_utils.rs:113
↓ 2 callers
Method
is_full
Returns True if the node is at capacity
python/bplustree/bplus_tree.py:654
↓ 2 callers
Method
is_full
(self)
python/bplustree/bplus_tree.py:691
↓ 2 callers
Method
is_full
(self)
python/bplustree/bplus_tree.py:846
↓ 2 callers
Method
len
Returns the number of elements in the tree.
rust/src/tree_structure.rs:15
↓ 2 callers
Function
node_gc_op
Common GC operation: traverse or clear Python references in a node and its children. */
python/bplustree_c_src/bplustree_module.c:326
↓ 2 callers
Method
or_default_with_log
(self)
rust/src/error.rs:147
↓ 2 callers
Function
populate_maps
(capacity: usize, data: &[i32])
rust/tests/range_differential.rs:4
↓ 2 callers
Function
populate_sequential_int_x10
Legacy compatibility - populate tree with sequential integer data where value = key * 10
rust/tests/test_utils.rs:486
↓ 2 callers
Method
push_key
(&mut self, key: K)
rust/src/node.rs:207
↓ 2 callers
Method
push_value
(&mut self, value: V)
rust/src/node.rs:213
↓ 2 callers
Method
resolve_range_bounds
Resolve range bounds into start position, skip flag, and end information.
rust/src/range_queries.rs:72
↓ 2 callers
Function
run_full_fuzz_test
Run the full million-operation fuzz test
python/tests/fuzz_test.py:481
↓ 2 callers
Method
setup_method
Set up test fixtures before each test method.
python/tests/test_dictionary_api.py:28
↓ 2 callers
Method
split
Split this leaf node, returning the new right node
python/bplustree/bplus_tree.py:778
↓ 2 callers
Method
split
Split this branch node, returning the new right node
python/bplustree/bplus_tree.py:935
↓ 2 callers
Function
stress_test_cycle
Execute a stress test cycle with automatic invariant checking
rust/tests/test_utils.rs:221
↓ 2 callers
Function
tree_find_leaf
Find leaf node that should contain the key */ Find leaf node that should contain the key */
python/bplustree_c_src/tree_ops.c:11
↓ 2 callers
Function
tree_get
Get value for key */
python/bplustree_c_src/tree_ops.c:128
↓ 2 callers
Method
utilization
Get the utilization ratio (allocated / total capacity)
rust/src/compact_arena.rs:281
↓ 1 callers
Function
BPlusTree_clear
python/bplustree_c_src/bplustree_module.c:384
← previous
next →
101–200 of 1,100, ranked by callers