Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LayerZero-Labs/qmdb
/ functions
Functions
1,374 in github.com/LayerZero-Labs/qmdb
⨍
Functions
1,374
◇
Types & classes
185
Function
test_single_proof_invalid_root
()
crates/qmdb-common/src/merkletree/singleproof.rs:178
Function
test_single_proof_multi_level
()
crates/qmdb-common/src/merkletree/singleproof.rs:190
Function
test_single_proof_one_sibling
()
crates/qmdb-common/src/merkletree/singleproof.rs:150
Function
test_small_sizes
()
crates/hpfile/src/aligned_buf.rs:330
Function
test_sort
()
crates/qmdb-common/src/utils/changeset.rs:628
Function
test_split_k80
()
crates/qmdb/src/indexer/hybrid/mod.rs:413
Function
test_start_block
()
crates/qmdb/src/lib.rs:1564
Function
test_start_end_block
()
crates/qmdb/src/tasks/bptaskhub.rs:144
Function
test_sync
()
crates/qmdb-common/src/merkletree/twig.rs:185
Function
test_t_arr14
()
crates/qmdb/src/indexer/hybrid/def.rs:38
Function
test_task_builder
()
crates/qmdb-common/src/task/single_cs_task.rs:155
Function
test_tempfile_drop
()
crates/qmdb/src/indexer/hybrid/tempfile.rs:97
Function
test_tempfile_new
()
crates/qmdb/src/indexer/hybrid/tempfile.rs:67
Function
test_tempfile_write_and_read_at
()
crates/qmdb/src/indexer/hybrid/tempfile.rs:75
Function
test_threshold_size
()
crates/qmdb/src/entryfile/entrybuffer.rs:563
Function
test_tree_active_bits
()
crates/qmdb/tests/test_tree.rs:119
Function
test_tree_append_entry
()
crates/qmdb/tests/test_tree.rs:533
Function
test_tree_edge_node
()
crates/qmdb/tests/test_tree.rs:142
Function
test_tree_init
()
crates/qmdb/tests/test_tree.rs:42
Function
test_tree_max_level
()
crates/qmdb/tests/test_tree.rs:165
Function
test_tree_new
()
crates/qmdb/tests/test_tree.rs:18
Function
test_tree_proof
()
crates/qmdb/tests/test_proof.rs:50
Function
test_tree_prune_nodes
()
crates/qmdb/tests/test_tree.rs:195
Function
test_tree_sync_mt_for_active_bits
()
crates/qmdb/tests/test_tree.rs:424
Function
test_tree_sync_mt_for_youngest_twig
()
crates/qmdb/tests/test_tree.rs:362
Function
test_tree_sync_upper_nodes
()
crates/qmdb/tests/test_tree.rs:484
Function
test_try_compact
()
crates/qmdb/src/updater.rs:1460
Function
test_unit
()
crates/qmdb/src/indexer/hybrid/unit.rs:434
Function
test_write_and_flush
()
crates/qmdb/src/indexer/hybrid/file_writer.rs:156
Function
test_write_buffer_overflow
()
crates/qmdb/src/indexer/hybrid/file_writer.rs:205
Function
test_write_kv
()
crates/qmdb/src/updater.rs:1358
Function
test_write_multiple_pages
()
crates/qmdb/src/indexer/hybrid/file_writer.rs:181
Method
time
(&self, f: F)
bench/src/speed/metrics.rs:82
Method
to_k10
(k: u64)
crates/qmdb/src/indexer/memidx.rs:80
Method
to_v6
(v: i64)
crates/qmdb/src/indexer/memidx.rs:87
Method
total_hover_blocks
(&self)
bench/src/speed/streaming_gen.rs:81
Method
try_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
Method
try_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
Method
try_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
Method
try_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
Function
twig_file_all
()
crates/qmdb/src/merkletree/twigfile.rs:417
Function
update_kv
(_: i64, task_list: Vec<RwLock<Option<SimpleTask>>>)
bench/src/speed/rocksdb.rs:128
Function
update_kv
(tid: usize, height: i64, task_list: Vec<RwLock<Option<SimpleTask>>>)
bench/src/speed/qmdb.rs:44
Function
update_kv
(_: usize, height: i64, task_list: Vec<RwLock<Option<SimpleTask>>>)
bench/src/speed/db_backend.rs:48
Method
uring_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
Method
uring_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
Method
v6_to_i64
(v6: &[u8; 6])
crates/qmdb/src/indexer/memidx.rs:94
Method
ver
(&mut self, v: i64)
crates/qmdb-common/src/entryfile/helpers.rs:25
Function
verify_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
Function
verify_single_proof
(sp: &SingleProof)
crates/qmdb-common/src/merkletree/singleproof.rs:72
Method
warmup
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
Function
warmup_indexer
(indexer: &Arc<Indexer>, height: i64, task_list: &[RwLock<Option<SimpleTask>>])
bench/src/speed/test_helper.rs:38
Method
with_capacity
(capacity: usize)
crates/hpfile/src/file_slots.rs:175
Method
with_capacity
(n: usize)
crates/qmdb/src/utils/activebits.rs:60
Method
with_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
Method
with_capacity
(cap: usize)
crates/qmdb-common/src/utils/simplemap.rs:82
Method
with_count_window
Creates a new latency tracker that keeps the last N samples
bench/src/speed/metrics.rs:44
Method
with_dir
(_dir: String)
crates/qmdb/src/indexer/memidx.rs:535
Method
with_dir
(dir: String)
crates/qmdb/src/indexer/hybrid/mod.rs:132
Method
with_dir_and_cipher
(_dir: String, _cipher: Arc<Option<Aes256Gcm>>)
crates/qmdb/src/indexer/memidx.rs:539
Method
with_dir_and_cipher
(dir: String, cipher: Arc<Option<Aes256Gcm>>)
crates/qmdb/src/indexer/hybrid/mod.rs:128
Method
with_duration_window
Creates a new latency tracker with a 60-second sliding window
bench/src/speed/metrics.rs:39
Method
with_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
Method
with_size
(size: usize)
crates/qmdb/src/tasks/tasksmanager.rs:19
Method
worker_loop
Worker thread loop - generates population blocks only
bench/src/speed/streaming_gen.rs:236
Method
write
(self, k: &[u8], v: &[u8])
crates/qmdb-common/src/task/single_cs_task.rs:44
Method
write_i16
(buf: &mut [u8], n: i16)
crates/qmdb-common/src/utils/byteorder.rs:52
Method
write_i32
(buf: &mut [u8], n: i32)
crates/qmdb-common/src/utils/byteorder.rs:36
Method
write_i64
(buf: &mut [u8], n: i64)
crates/qmdb-common/src/utils/byteorder.rs:20
Method
write_u16
(buf: &mut [u8], n: u16)
crates/qmdb-common/src/utils/byteorder.rs:44
Method
write_u32
(buf: &mut [u8], n: u32)
crates/qmdb-common/src/utils/byteorder.rs:28
Method
write_u64
(buf: &mut [u8], n: u64)
crates/qmdb-common/src/utils/byteorder.rs:12
Method
zeroed
()
crates/hpfile/src/aligned_buf.rs:38
Method
zeroed
()
crates/qmdb-common/src/utils/hasher.rs:23
← previous
1,301–1,374 of 1,374, ranked by callers