MCPcopy Create free account

hub / github.com/base/triedb / functions

Functions627 in github.com/base/triedb

↓ 1 callersFunctionpop
(manager: &mut MetadataManager, expected: &mut HashSet<OrphanPage>)
src/meta/mod.rs:783
↓ 1 callersFunctionprint_page
( db_path: &str, page_id: Option<PageId>, output_path: Option<String>, )
cli/src/main.rs:211
↓ 1 callersMethodprint_page
(&self, buf: impl io::Write, page_id: Option<PageId>)
src/database.rs:187
↓ 1 callersMethodprint_page_helper
Recursive helper for printing page structure.
src/storage/debug.rs:119
↓ 1 callersMethodprint_path_helper
Recursive helper for printing path traversal.
src/storage/debug.rs:232
↓ 1 callersFunctionprint_statistics
( db_path: &str, output_path: Option<String>, )
cli/src/main.rs:274
↓ 1 callersMethodprint_statistics
(&self, buf: impl io::Write)
src/database.rs:207
↓ 1 callersMethodprocess_account_leaf_with_overlay
( &'a self, context: &TransactionContext, overlay: &OverlayState, root_builder
src/storage/overlay_root.rs:330
↓ 1 callersMethodprocess_branch_node_with_overlay
( &'a self, mut overlay: OverlayState, path: &RawPath, mut children: [Option<P
src/storage/overlay_root.rs:272
↓ 1 callersMethodprocess_overlayed_account
( &self, root_builder: &mut RootBuilder, path: Nibbles, account: &Account,
src/storage/overlay_root.rs:500
↓ 1 callersMethodprocess_overlayed_child
( &'a self, context: &TransactionContext, overlay: OverlayState, root_builder:
src/storage/overlay_root.rs:460
↓ 1 callersFunctionpush
( manager: &mut MetadataManager, expected: &mut HashSet<OrphanPage>, next_
src/meta/mod.rs:772
↓ 1 callersMethodpush_pointer
( &mut self, path: RawPath, pointer: Pointer, page: Rc<SlottedPage<'a>>,
src/storage/overlay_root.rs:47
↓ 1 callersFunctionrandom_test_account
(rng: &mut StdRng)
src/storage/test_utils.rs:25
↓ 1 callersMethodraw_contents
(&self)
src/page/page.rs:94
↓ 1 callersMethodraw_state
(&self)
src/page/page.rs:88
↓ 1 callersMethodreclaimed_range
(&self)
src/meta/mod.rs:209
↓ 1 callersMethodremove_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 callersMethodroot_node_hash
(&self)
src/meta/mod.rs:145
↓ 1 callersFunctionroot_page_info
( db_path: &str, output_path: Option<String>, )
cli/src/main.rs:300
↓ 1 callersMethodroot_page_info
( &self, buf: impl io::Write, file_path: impl AsRef<Path>, )
src/database.rs:195
↓ 1 callersFunctionsetup_database
( db: &Database, eoa_count: usize, contract_count: usize, storage_per_contract: usize, )
benches/benchmark_common.rs:77
↓ 1 callersMethodsize
(&self)
src/database.rs:239
↓ 1 callersMethodsnapshot_id
(&self)
src/page/page.rs:105
↓ 1 callersMethodswap_cell_pointers
Swaps the cell pointers at the given indices.
src/page/slotted_page.rs:251
↓ 1 callersMethodtake_cache_storage_read
Take the cache storage read hit and miss
src/metrics.rs:85
↓ 1 callersMethodtake_pages_allocated
(&self)
src/metrics.rs:76
↓ 1 callersMethodtake_pages_reallocated
(&self)
src/metrics.rs:80
↓ 1 callersMethodtake_pages_split
(&self)
src/metrics.rs:72
↓ 1 callersMethodto_owned
(self)
src/storage/value.rs:77
↓ 1 callersMethodtraverse_path
Finds the next node in the path, returning the node and the remaining path.
src/page/subtrie_page.rs:20
↓ 1 callersMethodtry_complete
(&self, value: T)
src/executor/futures.rs:52
↓ 1 callersMethodupdate_hash
Recomputes the hash for this metadata slots.
src/meta/mod.rs:248
↓ 1 callersMethodupdate_metadata
(&self, mut meta: impl AsMut<MetadataSlot>)
src/context.rs:80
↓ 1 callersMethodupdate_metrics_rw
(&self, context: &TransactionContext)
src/database.rs:254
Methodacquire
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
Methodacquire_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
Functionarb_children
()
src/node.rs:686
Functionarb_hash_rlp
()
src/pointer.rs:131
Functionarb_u256_rlp
()
src/pointer.rs:127
Functionarb_u256_rlp
()
src/node.rs:72
Functionarb_u64_rlp
()
src/node.rs:68
Methodarbitrary_with
(size: Self::Parameters)
src/path.rs:278
Methodarbitrary_with
(params: Self::Parameters)
src/node.rs:711
Functionauto_growth
()
src/page/manager/mmap.rs:362
Functionauto_increment_snapshot_id
()
src/meta/mod.rs:752
Functionbench_account_deletes
(c: &mut Criterion)
benches/crud_benchmarks.rs:277
Functionbench_account_get_proof
(c: &mut Criterion)
benches/proof_benchmarks.rs:13
Functionbench_account_inserts
(c: &mut Criterion)
benches/crud_benchmarks.rs:155
Functionbench_account_inserts_loop
(c: &mut Criterion)
benches/crud_benchmarks.rs:193
Functionbench_account_reads
(c: &mut Criterion)
benches/crud_benchmarks.rs:58
Functionbench_account_updates
(c: &mut Criterion)
benches/crud_benchmarks.rs:238
Functionbench_mixed_operations
(c: &mut Criterion)
benches/crud_benchmarks.rs:314
Functionbench_state_root_with_overlay
(c: &mut Criterion)
benches/crud_benchmarks.rs:607
Functionbench_storage_deletes
(c: &mut Criterion)
benches/crud_benchmarks.rs:568
Functionbench_storage_get_proof
(c: &mut Criterion)
benches/proof_benchmarks.rs:48
Functionbench_storage_inserts
(c: &mut Criterion)
benches/crud_benchmarks.rs:485
Functionbench_storage_reads
(c: &mut Criterion)
benches/crud_benchmarks.rs:444
Functionbench_storage_updates
(c: &mut Criterion)
benches/crud_benchmarks.rs:529
Methodcapacity
Returns the maximum number of pages that can be allocated to the file.
src/page/manager/mmap.rs:116
Methodcapacity
(&self)
src/meta/mod.rs:628
Methodchild
Returns the child of the [Node] at the given index.
src/node.rs:196
Methodchildren_slot_size
(children: &[Option<Pointer>])
src/node.rs:313
Methodclear_cache
(&mut self)
src/transaction.rs:121
Methodclose
Syncs and closes the backing file.
src/page/manager/mmap.rs:278
Methodclose
Closes the storage engine, flushing all data to disk.
src/storage/engine/engine.rs:45
Methodcommit
(mut self)
src/transaction.rs:173
Methodcommit
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
Functioncommon_prefix_length
()
src/path.rs:463
Functionconsumer
()
src/transaction.rs:36
Functioncrash_recovery
()
src/meta/mod.rs:905
Methodcreate_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
Methoddefault
()
src/path.rs:195
Methoddefault
()
src/page/manager/options.rs:94
Methoddefault
()
src/storage/debug.rs:58
Methoddefault
()
src/transaction/manager.rs:11
Functiondefer
()
src/executor/inline.rs:24
Functiondefer
()
src/executor/threadpool.rs:64
Methoddefer
(&self, f: F)
src/executor/traits.rs:26
Methodderef
(&self)
src/page/slotted_page.rs:136
Methodderef
(&self)
src/page/page.rs:298
Methodderef
(&self)
src/meta/mod.rs:95
Methodderef_mut
(&mut self)
src/meta/mod.rs:281
Methoddirty
(snapshot_id: SnapshotId)
src/page/state.rs:146
Methoddiscard
Transitions the page state from *dirty* to *unused*.
src/page/page.rs:278
Methoddowncast
(self)
src/page/slotted_page.rs:166
Methoddrop
(&mut self)
src/transaction.rs:210
Methoddrop
(&mut self)
src/page/page.rs:311
Methoddrop
(&mut self)
src/page/manager/mmap.rs:284
Methoddrop
(&mut self)
src/executor/threadpool.rs:48
Methodempty
Creates an empty overlay state.
src/overlay.rs:122
Methodfmt
(&self, f: &mut fmt::Formatter)
src/page.rs:181
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/path.rs:253
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/page/slotted_page.rs:156
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/page/page.rs:117
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/page/slotted_page/cell_pointer.rs:49
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/storage/debug.rs:32
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/executor/futures.rs:107
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/meta/error.rs:7
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/transaction/error.rs:7
← previousnext →301–400 of 627, ranked by callers