Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/consistent-milk12/masstree
/ functions
Functions
2,313 in github.com/consistent-milk12/masstree
⨍
Functions
2,313
◇
Types & classes
187
↓ 3 callers
Method
or_default
Inserts the default value if vacant, returns the entry's value.
src/tree/generic/entry.rs:161
↓ 3 callers
Method
or_insert_with_key
(self, default: F)
src/tree/generic/entry.rs:147
↓ 3 callers
Function
pool_alloc_internode
()
src/node_pool.rs:309
↓ 3 callers
Method
pop
(&mut self)
src/node_pool.rs:96
↓ 3 callers
Method
prepare_split_leaf
(&self, new_leaf_ptr: *mut Self)
src/leaf15.rs:1449
↓ 3 callers
Function
r1_concurrent
(num_threads: usize)
tests/cpp/r1.rs:78
↓ 3 callers
Method
record_transition
(&mut self, description: String)
src/tree/range/forward_ctx.rs:208
↓ 3 callers
Method
record_update
(&mut self, old_value: O)
src/tree/generic/batch.rs:229
↓ 3 callers
Method
retire_leaf
(&self, ptr: *mut LeafNode15<P>, guard: &LocalGuard<'_>)
src/alloc15.rs:200
↓ 3 callers
Method
rotate
(&mut self, i: usize, j: usize)
src/permuter.rs:408
↓ 3 callers
Function
rscale_threads
(num_threads: usize)
tests/cpp/rscale.rs:61
↓ 3 callers
Method
run_batch
( &mut self, strategy: &mut S, end_bound: &RangeBound<'_>, guard: &LocalGuard<
src/tree/range/forward_ctx.rs:977
↓ 3 callers
Method
run_batch_reverse
( &mut self, strategy: &mut S, start_bound: &RangeBound<'_>, start_bound_ikey:
src/tree/range/reverse_ctx.rs:1418
↓ 3 callers
Function
rw2_seed
(get_frac: f64)
tests/cpp/rw2.rs:20
↓ 3 callers
Function
rw2fixed_impl
(get_frac: f64)
tests/cpp/rw2fixed.rs:21
↓ 3 callers
Method
scan_intra_leaf_batch
Batch-optimized forward range scan — fastest for all storage types. Processes all entries per leaf with single OCC validation, reducing per-entry ove
src/tree/range/api.rs:214
↓ 3 callers
Method
schedule_sublayer
(&self, route: Route)
src/tree/coalesce.rs:137
↓ 3 callers
Method
search_for_insert_generic
( &self, leaf: &LeafNode15<P>, key: &Key<'_>, perm: &<LeafNode15<P> as TreeLea
src/tree/generic/search.rs:145
↓ 3 callers
Method
search_for_insert_single_layer
( &self, leaf: &LeafNode15<P>, key: &Key<'_>, perm: &<LeafNode15<P> as TreeLea
src/tree/generic/search.rs:263
↓ 3 callers
Function
setup_indexset_long
(keys: &[[u8; LONG_KEY_SIZE]])
benches/high_impact.rs:97
↓ 3 callers
Function
setup_masstree15_long
(keys: &[[u8; LONG_KEY_SIZE]])
benches/high_impact_masstree.rs:37
↓ 3 callers
Function
setup_masstree15_long
(keys: &[[u8; LONG_KEY_SIZE]])
benches/high_impact_general.rs:39
↓ 3 callers
Function
setup_masstree15_long
(keys: &[[u8; LONG_KEY_SIZE]])
benches/high_impact.rs:78
↓ 3 callers
Function
setup_skipmap_long
(keys: &[[u8; LONG_KEY_SIZE]])
benches/high_impact.rs:89
↓ 3 callers
Function
setup_tree_index_long
(keys: &[[u8; LONG_KEY_SIZE]])
benches/high_impact.rs:105
↓ 3 callers
Method
size
(&self)
src/suffix/unit_tests.rs:180
↓ 3 callers
Function
size_class
(layout: Layout)
src/node_pool.rs:39
↓ 3 callers
Method
store_value_relaxed
(&self, slot: usize, output: &P::Output)
src/leaf15.rs:276
↓ 3 callers
Function
table_rule
Build a table row separator. `joints` specifies the box-drawing chars: (left, cross, right) and `dash`.
src/tree/generic/print.rs:76
↓ 3 callers
Method
update_in_place
(&self, slot: usize, output: &ValuePtr<V>)
src/policy/box_values.rs:240
↓ 3 callers
Function
uscale_threads
(num_threads: usize)
tests/cpp/uscale.rs:67
↓ 3 callers
Method
version
(&self)
src/internode/accessors.rs:21
↓ 3 callers
Function
w1_concurrent
(num_threads: usize)
tests/cpp/w1.rs:56
↓ 3 callers
Function
wscale_threads
(num_threads: usize)
tests/cpp/wscale.rs:47
↓ 2 callers
Method
abandoned
(&self)
src/tree/coalesce.rs:182
↓ 2 callers
Method
acquire_raw
(&self)
src/nodeversion.rs:371
↓ 2 callers
Method
advance_no_alloc_ref
( &'s mut self, end_bound: &RangeBound<'_>, guard: &LocalGuard<'_>, )
src/tree/range/forward_ctx.rs:1456
↓ 2 callers
Method
advance_prev_leaf_single_layer_snapshot
( &mut self, guard: &LocalGuard<'_>, )
src/tree/range/reverse_ctx.rs:1115
↓ 2 callers
Method
advance_to_key_generic
( &'a self, mut leaf: &'a LeafNode15<P>, key: &Key<'_>, old_version: u32,
src/tree/generic.rs:476
↓ 2 callers
Method
alloc_internode_direct
(&self, height: u32)
src/alloc15.rs:245
↓ 2 callers
Method
assert_ordering
(&mut self, key: &[u8])
src/tree/range/forward_ctx.rs:156
↓ 2 callers
Method
assign_ksuf_init
(&self, slot: usize, suffix: &[u8], guard: &LocalGuard<'_>)
src/leaf15.rs:630
↓ 2 callers
Function
assign_suffix
( inline: &InlineSuffixBag, external: &AtomicPtr<SuffixBagCell>, slot: usize, suffix: &[u8],
src/policy/suffix_ops.rs:96
↓ 2 callers
Function
assign_suffix_init
( inline: &InlineSuffixBag, external: &AtomicPtr<SuffixBagCell>, slot: usize, suffix: &[u8],
src/policy/suffix_ops.rs:141
↓ 2 callers
Function
assign_suffix_prealloc
( inline: &InlineSuffixBag, external: &AtomicPtr<SuffixBagCell>, slot: usize, suffix: &[u8],
src/policy/suffix_ops.rs:177
↓ 2 callers
Method
back_at_offset
(&self, offset: usize)
src/permuter.rs:181
↓ 2 callers
Function
bench_rw1
( threads: usize, duration: Duration, limit: u64, check: bool, core_ids: &Arc<Vec<CoreId>>
benches/mttest.rs:499
↓ 2 callers
Function
bench_rw3
( threads: usize, duration: Duration, limit: u64, check: bool, core_ids: &Arc<Vec<CoreId>>
benches/mttest.rs:771
↓ 2 callers
Function
bench_rw4
( threads: usize, duration: Duration, limit: u64, check: bool, core_ids: &Arc<Vec<CoreId>>
benches/mttest.rs:887
↓ 2 callers
Function
bench_same
( threads: usize, duration: Duration, limit: u64, core_ids: &Arc<Vec<CoreId>>, )
benches/mttest.rs:1004
↓ 2 callers
Function
bench_uscale
C++ `kvtest_uscale` semantics: - seed = `kvtest_first_seed + tid` (NOT tid % 48) - `nseqkeys = 16 * ruscale_partsz = 140,000,000` - NO pre-population
benches/mttest.rs:1098
↓ 2 callers
Function
bench_wscale
( threads: usize, duration: Duration, limit: u64, core_ids: &Arc<Vec<CoreId>>, )
benches/mttest.rs:1192
↓ 2 callers
Method
bernoulli
(&mut self, p: f64)
benches/mttest.rs:272
↓ 2 callers
Function
build_workloads
(threads: usize)
benches/high_impact_masstree.rs:1181
↓ 2 callers
Function
build_workloads
(threads: usize)
benches/high_impact_general.rs:1183
↓ 2 callers
Method
can_reuse_slot0
(&self, new_ikey: u64)
src/leaf15.rs:1427
↓ 2 callers
Method
capacity
(&self)
src/suffix/inline.rs:178
↓ 2 callers
Method
child_with_depth_prefetch
(&self, i: usize, guard: &impl Guard)
src/internode/accessors.rs:187
↓ 2 callers
Method
child_with_full_prefetch
(&self, i: usize, guard: &impl Guard)
src/internode/accessors.rs:203
↓ 2 callers
Method
children_are_leaves
(&self)
src/internode/accessors.rs:122
↓ 2 callers
Method
cleanup_expired
Clean up expired sessions
examples/session_store.rs:333
↓ 2 callers
Method
clear_all
(&self)
src/suffix/inline.rs:490
↓ 2 callers
Function
clear_suffix
( inline: &InlineSuffixBag, external: &AtomicPtr<SuffixBagCell>, slot: usize, )
src/policy/suffix_ops.rs:211
↓ 2 callers
Function
cold_path
()
src/hints.rs:5
↓ 2 callers
Method
compact_with_permuter
Compact using a permutation to determine active slots. # Returns The number of bytes reclaimed.
src/suffix/compact.rs:190
↓ 2 callers
Function
compute_prefix_upper_bound_into
(prefix: &[u8], buf: &mut [u8; MAX_KEY_LENGTH])
src/tree/range/api.rs:584
↓ 2 callers
Method
copied
(&self)
src/policy.rs:219
↓ 2 callers
Method
debug_assert_invariants
(&self)
src/internode.rs:495
↓ 2 callers
Method
descend_twig_chain
( &self, initial_ptr: *mut u8, key: &mut Key<'_>, guard: &LocalGuard<'_>,
src/tree/generic/optimistic_reads.rs:352
↓ 2 callers
Method
drain_to_external_with_vec
Drain inline suffixes to external bag, reusing a pre-allocated buffer. # Panics On OOM, while trying to allocate for [`SuffixBag`].
src/suffix/inline.rs:301
↓ 2 callers
Method
emit_equal
(self)
src/tree/range/iterator/iter_flags.rs:62
↓ 2 callers
Function
ensure_external_bag
( external: &AtomicPtr<SuffixBagCell>, )
src/policy/suffix_ops.rs:233
↓ 2 callers
Function
expected_prefix
(keys: &[[u8; K]])
benches/range_masstree15.rs:134
↓ 2 callers
Method
find_initial_reverse
Find the initial position for a reverse range scan. Positions the scan at the correct leaf and slot for the end bound. Uses an iterative loop instead
src/tree/range/reverse_ctx.rs:150
↓ 2 callers
Method
find_next
(&mut self, guard: &LocalGuard<'_>)
src/tree/range/forward_ctx.rs:348
↓ 2 callers
Method
find_next_ptr
( &mut self, guard: &LocalGuard<'_>, )
src/tree/range/forward_ctx.rs:373
↓ 2 callers
Function
find_position_after_suffix
( cursor_key: &CursorKey, leaf: &LeafNode15<P>, perm: &<LeafNode15<P> as TreeLeafNode<P>>::Perm,
src/tree/range/helper.rs:236
↓ 2 callers
Method
find_retry
Reposition after a conflict or layer transition. Corresponds to `find::find_retry`.
src/tree/range/forward_ctx.rs:707
↓ 2 callers
Method
first_with_guard
(&'a self, guard: &LocalGuard<'a>)
src/tree/range/api.rs:136
↓ 2 callers
Method
for_each_batch_ref
(mut self, mut visitor: F)
src/tree/range/iterator/batch_forward.rs:105
↓ 2 callers
Method
for_each_values_batch
(mut self, mut visitor: F)
src/tree/range/iterator/batch_forward.rs:291
↓ 2 callers
Function
format_comparison
Format a comparison row, returning (test, cpp, rust, ratio).
scripts/run_cpp_bench.py:289
↓ 2 callers
Function
get_user
(cache: &UrlCache, user_id: u32)
examples/url_cache.rs:279
↓ 2 callers
Method
get_user_sessions
Get all active sessions for a user
examples/session_store.rs:298
↓ 2 callers
Method
handle_up_back
Handle ascent to parent layer for reverse scan. Returns `true` if successfully restored to parent layer, `false` if layer stack empty (scan complete)
src/tree/range/reverse_ctx.rs:926
↓ 2 callers
Method
has_changed_or_locked
(&self, old: u32)
src/nodeversion.rs:468
↓ 2 callers
Function
has_external
(external: &AtomicPtr<SuffixBagCell>)
src/policy/suffix_ops.rs:77
↓ 2 callers
Method
has_split_no_compiler_fence
(&self, old: u32)
src/nodeversion.rs:460
↓ 2 callers
Method
has_suffix
Check if slot has a suffix (reader operation).
src/inline/loom_tests.rs:35
↓ 2 callers
Function
hex_format_8
(buf: &mut [u8; 8], val: u32)
benches/concurrent_read_write_general.rs:55
↓ 2 callers
Function
hot_key_indices
Generate indices where most accesses hit a small set of hot keys.
benches/storage_gap.rs:95
↓ 2 callers
Method
ikey
(&self, idx: usize)
src/internode/loom_tests.rs:32
↓ 2 callers
Method
ikey_relaxed
(&self, i: usize)
src/internode.rs:613
↓ 2 callers
Method
inc_nkeys
(&self)
src/internode/accessors.rs:269
↓ 2 callers
Method
insert_batch_values_with_guard
( &self, entries: I, guard: &LocalGuard<'_>, )
src/tree/generic/batch.rs:747
↓ 2 callers
Method
insert_into_empty_leaf_batch
Insert into an empty leaf. Returns a pointer to a suffix bag that must be retired after the lock is dropped (null if none).
src/tree/generic/batch.rs:1021
↓ 2 callers
Method
insert_key_and_child
(&self, p: usize, new_ikey: u64, new_child: *mut u8)
src/internode.rs:224
↓ 2 callers
Function
install_drained_bag
( mut new_bag: SuffixBag, external_slot: &AtomicPtr<SuffixBagCell>, slot: usize, perm: &impl T
src/policy/suffix_ops.rs:305
↓ 2 callers
Method
is_empty
(&self, slot: usize)
src/policy/box_values.rs:172
↓ 2 callers
Method
is_expired
(&self)
examples/url_cache.rs:61
← previous
next →
401–500 of 2,313, ranked by callers