MCPcopy Create free account

hub / github.com/LayerZero-Labs/qmdb / functions

Functions1,374 in github.com/LayerZero-Labs/qmdb

Functiontest_single_proof_invalid_root
()
crates/qmdb-common/src/merkletree/singleproof.rs:178
Functiontest_single_proof_multi_level
()
crates/qmdb-common/src/merkletree/singleproof.rs:190
Functiontest_single_proof_one_sibling
()
crates/qmdb-common/src/merkletree/singleproof.rs:150
Functiontest_small_sizes
()
crates/hpfile/src/aligned_buf.rs:330
Functiontest_sort
()
crates/qmdb-common/src/utils/changeset.rs:628
Functiontest_split_k80
()
crates/qmdb/src/indexer/hybrid/mod.rs:413
Functiontest_start_block
()
crates/qmdb/src/lib.rs:1564
Functiontest_start_end_block
()
crates/qmdb/src/tasks/bptaskhub.rs:144
Functiontest_sync
()
crates/qmdb-common/src/merkletree/twig.rs:185
Functiontest_t_arr14
()
crates/qmdb/src/indexer/hybrid/def.rs:38
Functiontest_task_builder
()
crates/qmdb-common/src/task/single_cs_task.rs:155
Functiontest_tempfile_drop
()
crates/qmdb/src/indexer/hybrid/tempfile.rs:97
Functiontest_tempfile_new
()
crates/qmdb/src/indexer/hybrid/tempfile.rs:67
Functiontest_tempfile_write_and_read_at
()
crates/qmdb/src/indexer/hybrid/tempfile.rs:75
Functiontest_threshold_size
()
crates/qmdb/src/entryfile/entrybuffer.rs:563
Functiontest_tree_active_bits
()
crates/qmdb/tests/test_tree.rs:119
Functiontest_tree_append_entry
()
crates/qmdb/tests/test_tree.rs:533
Functiontest_tree_edge_node
()
crates/qmdb/tests/test_tree.rs:142
Functiontest_tree_init
()
crates/qmdb/tests/test_tree.rs:42
Functiontest_tree_max_level
()
crates/qmdb/tests/test_tree.rs:165
Functiontest_tree_new
()
crates/qmdb/tests/test_tree.rs:18
Functiontest_tree_proof
()
crates/qmdb/tests/test_proof.rs:50
Functiontest_tree_prune_nodes
()
crates/qmdb/tests/test_tree.rs:195
Functiontest_tree_sync_mt_for_active_bits
()
crates/qmdb/tests/test_tree.rs:424
Functiontest_tree_sync_mt_for_youngest_twig
()
crates/qmdb/tests/test_tree.rs:362
Functiontest_tree_sync_upper_nodes
()
crates/qmdb/tests/test_tree.rs:484
Functiontest_try_compact
()
crates/qmdb/src/updater.rs:1460
Functiontest_unit
()
crates/qmdb/src/indexer/hybrid/unit.rs:434
Functiontest_write_and_flush
()
crates/qmdb/src/indexer/hybrid/file_writer.rs:156
Functiontest_write_buffer_overflow
()
crates/qmdb/src/indexer/hybrid/file_writer.rs:205
Functiontest_write_kv
()
crates/qmdb/src/updater.rs:1358
Functiontest_write_multiple_pages
()
crates/qmdb/src/indexer/hybrid/file_writer.rs:181
Methodtime
(&self, f: F)
bench/src/speed/metrics.rs:82
Methodto_k10
(k: u64)
crates/qmdb/src/indexer/memidx.rs:80
Methodto_v6
(v: i64)
crates/qmdb/src/indexer/memidx.rs:87
Methodtotal_hover_blocks
(&self)
bench/src/speed/streaming_gen.rs:81
Methodtry_get_file_ref
Try to get a reference to the file segment containing the given offset. Unlike `get_file_ref`, this method returns `None` if the file segment does no
crates/hpfile/src/lib.rs:430
Methodtry_read
Try to submit a read request without blocking (async version). Returns a DoneReceiver if successful, None if the channel is full. # Returns - `Some(r
crates/qmdb/src/entryfile/uring_reader.rs:429
Methodtry_read_blocking
Try to submit a read request without blocking (sync version for regular threads). Returns a DoneReceiver if successful, None if the channel is full.
crates/qmdb/src/entryfile/uring_reader.rs:486
Methodtry_twice_compact
Performs compaction of old entries. # Arguments `ebw` - Entry buffer writer guard `r` - Optional operation record for verification `comp_idx` - Index
crates/qmdb/src/updater.rs:783
Functiontwig_file_all
()
crates/qmdb/src/merkletree/twigfile.rs:417
Functionupdate_kv
(_: i64, task_list: Vec<RwLock<Option<SimpleTask>>>)
bench/src/speed/rocksdb.rs:128
Functionupdate_kv
(tid: usize, height: i64, task_list: Vec<RwLock<Option<SimpleTask>>>)
bench/src/speed/qmdb.rs:44
Functionupdate_kv
(_: usize, height: i64, task_list: Vec<RwLock<Option<SimpleTask>>>)
bench/src/speed/db_backend.rs:48
Methoduring_id
Calculates the io_uring instance ID for a given position. # Arguments `file_pos` - Position in the entry file `shard_id` - ID of the shard `uring_cou
crates/qmdb/src/prefetcher/dioprefetcher.rs:1229
Methoduring_loop
Main loop for io_uring processing. # Arguments `job_man` - Reference to the job manager `sub_id_receiver` - Receiver for sub-job IDs
crates/qmdb/src/prefetcher/dioprefetcher.rs:862
Methodv6_to_i64
(v6: &[u8; 6])
crates/qmdb/src/indexer/memidx.rs:94
Methodver
(&mut self, v: i64)
crates/qmdb-common/src/entryfile/helpers.rs:25
Functionverify_single_proof
Verifies a `SingleProof` using QMDb's level-aware node hashing. The verifier follows the classic sibling concatenation rule using the provided `index
crates/qmdb/src/merkletree/singleproof.rs:88
Functionverify_single_proof
(sp: &SingleProof)
crates/qmdb-common/src/merkletree/singleproof.rs:72
Methodwarmup
Warms up the cache for a specific block height and key prefix. # Arguments `height` - Block height to warm up `k80` - 80-bit key prefix for selective
crates/qmdb/src/lib.rs:1393
Functionwarmup_indexer
(indexer: &Arc<Indexer>, height: i64, task_list: &[RwLock<Option<SimpleTask>>])
bench/src/speed/test_helper.rs:38
Methodwith_capacity
(capacity: usize)
crates/hpfile/src/file_slots.rs:175
Methodwith_capacity
(n: usize)
crates/qmdb/src/utils/activebits.rs:60
Methodwith_capacity
Creates a new empty changeset with estimated capacity based on operation counts. # Arguments `account_op_count` - Expected number of account operati
crates/qmdb-common/src/utils/changeset.rs:317
Methodwith_capacity
(cap: usize)
crates/qmdb-common/src/utils/simplemap.rs:82
Methodwith_count_window
Creates a new latency tracker that keeps the last N samples
bench/src/speed/metrics.rs:44
Methodwith_dir
(_dir: String)
crates/qmdb/src/indexer/memidx.rs:535
Methodwith_dir
(dir: String)
crates/qmdb/src/indexer/hybrid/mod.rs:132
Methodwith_dir_and_cipher
(_dir: String, _cipher: Arc<Option<Aes256Gcm>>)
crates/qmdb/src/indexer/memidx.rs:539
Methodwith_dir_and_cipher
(dir: String, cipher: Arc<Option<Aes256Gcm>>)
crates/qmdb/src/indexer/hybrid/mod.rs:128
Methodwith_duration_window
Creates a new latency tracker with a 60-second sliding window
bench/src/speed/metrics.rs:39
Methodwith_inspector
Sets the inspector for the EntryMutator. # Arguments `inspector` - The inspector to use for monitoring entry mutations
crates/qmdb-common/src/mutator/entrymutator.rs:413
Methodwith_size
(size: usize)
crates/qmdb/src/tasks/tasksmanager.rs:19
Methodworker_loop
Worker thread loop - generates population blocks only
bench/src/speed/streaming_gen.rs:236
Methodwrite
(self, k: &[u8], v: &[u8])
crates/qmdb-common/src/task/single_cs_task.rs:44
Methodwrite_i16
(buf: &mut [u8], n: i16)
crates/qmdb-common/src/utils/byteorder.rs:52
Methodwrite_i32
(buf: &mut [u8], n: i32)
crates/qmdb-common/src/utils/byteorder.rs:36
Methodwrite_i64
(buf: &mut [u8], n: i64)
crates/qmdb-common/src/utils/byteorder.rs:20
Methodwrite_u16
(buf: &mut [u8], n: u16)
crates/qmdb-common/src/utils/byteorder.rs:44
Methodwrite_u32
(buf: &mut [u8], n: u32)
crates/qmdb-common/src/utils/byteorder.rs:28
Methodwrite_u64
(buf: &mut [u8], n: u64)
crates/qmdb-common/src/utils/byteorder.rs:12
Methodzeroed
()
crates/hpfile/src/aligned_buf.rs:38
Methodzeroed
()
crates/qmdb-common/src/utils/hasher.rs:23
← previous1,301–1,374 of 1,374, ranked by callers