Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/base/triedb
/ functions
Functions
627 in github.com/base/triedb
⨍
Functions
627
◇
Types & classes
91
↓ 1 callers
Function
pop
(manager: &mut MetadataManager, expected: &mut HashSet<OrphanPage>)
src/meta/mod.rs:783
↓ 1 callers
Function
print_page
( db_path: &str, page_id: Option<PageId>, output_path: Option<String>, )
cli/src/main.rs:211
↓ 1 callers
Method
print_page
(&self, buf: impl io::Write, page_id: Option<PageId>)
src/database.rs:187
↓ 1 callers
Method
print_page_helper
Recursive helper for printing page structure.
src/storage/debug.rs:119
↓ 1 callers
Method
print_path_helper
Recursive helper for printing path traversal.
src/storage/debug.rs:232
↓ 1 callers
Function
print_statistics
( db_path: &str, output_path: Option<String>, )
cli/src/main.rs:274
↓ 1 callers
Method
print_statistics
(&self, buf: impl io::Write)
src/database.rs:207
↓ 1 callers
Method
process_account_leaf_with_overlay
( &'a self, context: &TransactionContext, overlay: &OverlayState, root_builder
src/storage/overlay_root.rs:330
↓ 1 callers
Method
process_branch_node_with_overlay
( &'a self, mut overlay: OverlayState, path: &RawPath, mut children: [Option<P
src/storage/overlay_root.rs:272
↓ 1 callers
Method
process_overlayed_account
( &self, root_builder: &mut RootBuilder, path: Nibbles, account: &Account,
src/storage/overlay_root.rs:500
↓ 1 callers
Method
process_overlayed_child
( &'a self, context: &TransactionContext, overlay: OverlayState, root_builder:
src/storage/overlay_root.rs:460
↓ 1 callers
Function
push
( manager: &mut MetadataManager, expected: &mut HashSet<OrphanPage>, next_
src/meta/mod.rs:772
↓ 1 callers
Method
push_pointer
( &mut self, path: RawPath, pointer: Pointer, page: Rc<SlottedPage<'a>>,
src/storage/overlay_root.rs:47
↓ 1 callers
Function
random_test_account
(rng: &mut StdRng)
src/storage/test_utils.rs:25
↓ 1 callers
Method
raw_contents
(&self)
src/page/page.rs:94
↓ 1 callers
Method
raw_state
(&self)
src/page/page.rs:88
↓ 1 callers
Method
reclaimed_range
(&self)
src/meta/mod.rs:209
↓ 1 callers
Method
remove_child
Removes the child of the [Node] at the given index. # Panics This function will panic if the [Node] type does not support children.
src/node.rs:239
↓ 1 callers
Method
root_node_hash
(&self)
src/meta/mod.rs:145
↓ 1 callers
Function
root_page_info
( db_path: &str, output_path: Option<String>, )
cli/src/main.rs:300
↓ 1 callers
Method
root_page_info
( &self, buf: impl io::Write, file_path: impl AsRef<Path>, )
src/database.rs:195
↓ 1 callers
Function
setup_database
( db: &Database, eoa_count: usize, contract_count: usize, storage_per_contract: usize, )
benches/benchmark_common.rs:77
↓ 1 callers
Method
size
(&self)
src/database.rs:239
↓ 1 callers
Method
snapshot_id
(&self)
src/page/page.rs:105
↓ 1 callers
Method
swap_cell_pointers
Swaps the cell pointers at the given indices.
src/page/slotted_page.rs:251
↓ 1 callers
Method
take_cache_storage_read
Take the cache storage read hit and miss
src/metrics.rs:85
↓ 1 callers
Method
take_pages_allocated
(&self)
src/metrics.rs:76
↓ 1 callers
Method
take_pages_reallocated
(&self)
src/metrics.rs:80
↓ 1 callers
Method
take_pages_split
(&self)
src/metrics.rs:72
↓ 1 callers
Method
to_owned
(self)
src/storage/value.rs:77
↓ 1 callers
Method
traverse_path
Finds the next node in the path, returning the node and the remaining path.
src/page/subtrie_page.rs:20
↓ 1 callers
Method
try_complete
(&self, value: T)
src/executor/futures.rs:52
↓ 1 callers
Method
update_hash
Recomputes the hash for this metadata slots.
src/meta/mod.rs:248
↓ 1 callers
Method
update_metadata
(&self, mut meta: impl AsMut<MetadataSlot>)
src/context.rs:80
↓ 1 callers
Method
update_metrics_rw
(&self, context: &TransactionContext)
src/database.rs:254
Method
acquire
Constructs a new `PageMut` from a pointer to an *unused* page. The state of the page is atomically transitioned to dirty to ensure exclusive access.
src/page/page.rs:174
Method
acquire_unchecked
Constructs a new `PageMut` from a pointer to an *unused* page, without checking the page state. This method is similar to [`PageMut::acquire`], excep
src/page/page.rs:218
Function
arb_children
()
src/node.rs:686
Function
arb_hash_rlp
()
src/pointer.rs:131
Function
arb_u256_rlp
()
src/pointer.rs:127
Function
arb_u256_rlp
()
src/node.rs:72
Function
arb_u64_rlp
()
src/node.rs:68
Method
arbitrary_with
(size: Self::Parameters)
src/path.rs:278
Method
arbitrary_with
(params: Self::Parameters)
src/node.rs:711
Function
auto_growth
()
src/page/manager/mmap.rs:362
Function
auto_increment_snapshot_id
()
src/meta/mod.rs:752
Function
bench_account_deletes
(c: &mut Criterion)
benches/crud_benchmarks.rs:277
Function
bench_account_get_proof
(c: &mut Criterion)
benches/proof_benchmarks.rs:13
Function
bench_account_inserts
(c: &mut Criterion)
benches/crud_benchmarks.rs:155
Function
bench_account_inserts_loop
(c: &mut Criterion)
benches/crud_benchmarks.rs:193
Function
bench_account_reads
(c: &mut Criterion)
benches/crud_benchmarks.rs:58
Function
bench_account_updates
(c: &mut Criterion)
benches/crud_benchmarks.rs:238
Function
bench_mixed_operations
(c: &mut Criterion)
benches/crud_benchmarks.rs:314
Function
bench_state_root_with_overlay
(c: &mut Criterion)
benches/crud_benchmarks.rs:607
Function
bench_storage_deletes
(c: &mut Criterion)
benches/crud_benchmarks.rs:568
Function
bench_storage_get_proof
(c: &mut Criterion)
benches/proof_benchmarks.rs:48
Function
bench_storage_inserts
(c: &mut Criterion)
benches/crud_benchmarks.rs:485
Function
bench_storage_reads
(c: &mut Criterion)
benches/crud_benchmarks.rs:444
Function
bench_storage_updates
(c: &mut Criterion)
benches/crud_benchmarks.rs:529
Method
capacity
Returns the maximum number of pages that can be allocated to the file.
src/page/manager/mmap.rs:116
Method
capacity
(&self)
src/meta/mod.rs:628
Method
child
Returns the child of the [Node] at the given index.
src/node.rs:196
Method
children_slot_size
(children: &[Option<Pointer>])
src/node.rs:313
Method
clear_cache
(&mut self)
src/transaction.rs:121
Method
close
Syncs and closes the backing file.
src/page/manager/mmap.rs:278
Method
close
Closes the storage engine, flushing all data to disk.
src/storage/engine/engine.rs:45
Method
commit
(mut self)
src/transaction.rs:173
Method
commit
Transitions the page state from *dirty* to *occupied*. This has the same effect as dropping the page, but it's more explicit.
src/page/page.rs:273
Function
common_prefix_length
()
src/path.rs:463
Function
consumer
()
src/transaction.rs:36
Function
crash_recovery
()
src/meta/mod.rs:905
Method
create_new
Sets the option to create a new file, failing if it already exists. The default is `false`. If `.create_new(true)` is set, then `.create()` is ignor
src/page/manager/options.rs:43
Method
default
()
src/path.rs:195
Method
default
()
src/page/manager/options.rs:94
Method
default
()
src/storage/debug.rs:58
Method
default
()
src/transaction/manager.rs:11
Function
defer
()
src/executor/inline.rs:24
Function
defer
()
src/executor/threadpool.rs:64
Method
defer
(&self, f: F)
src/executor/traits.rs:26
Method
deref
(&self)
src/page/slotted_page.rs:136
Method
deref
(&self)
src/page/page.rs:298
Method
deref
(&self)
src/meta/mod.rs:95
Method
deref_mut
(&mut self)
src/meta/mod.rs:281
Method
dirty
(snapshot_id: SnapshotId)
src/page/state.rs:146
Method
discard
Transitions the page state from *dirty* to *unused*.
src/page/page.rs:278
Method
downcast
(self)
src/page/slotted_page.rs:166
Method
drop
(&mut self)
src/transaction.rs:210
Method
drop
(&mut self)
src/page/page.rs:311
Method
drop
(&mut self)
src/page/manager/mmap.rs:284
Method
drop
(&mut self)
src/executor/threadpool.rs:48
Method
empty
Creates an empty overlay state.
src/overlay.rs:122
Method
fmt
(&self, f: &mut fmt::Formatter)
src/page.rs:181
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/path.rs:253
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/page/slotted_page.rs:156
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/page/page.rs:117
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/page/slotted_page/cell_pointer.rs:49
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/storage/debug.rs:32
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/executor/futures.rs:107
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/meta/error.rs:7
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/transaction/error.rs:7
← previous
next →
301–400 of 627, ranked by callers