MCPcopy Create free account

hub / github.com/LayerZero-Labs/qmdb / types & classes

Types & classes185 in github.com/LayerZero-Labs/qmdb

↓ 2 callersClassNodePos
crates/qmdb/src/merkletree/tree.rs:86
↓ 2 callersInterfaceTask
crates/qmdb-common/src/task/task.rs:4
↓ 1 callersClassAlignedHash32
crates/qmdb-common/src/utils/hasher.rs:15
↓ 1 callersClassBlock
crates/qmdb/src/test_helper/testgen.rs:92
InterfaceADS
Core trait defining the database interface. Provides operations for reading, writing, and verifying state. # Thread Safety All methods are thread-saf
crates/qmdb/src/lib.rs:1275
ClassActiveBits
crates/qmdb/src/utils/activebits.rs:55
ClassActiveBits
crates/qmdb-common/src/merkletree/activebits.rs:9
ClassActiveBitsUtil
Utility functions for manipulating active bits using u64 operations. Works with 4-element u64 slices (256 bits total).
crates/qmdb-common/src/merkletree/activebitsutil.rs:3
ClassAddressHasher
Hasher for 20-byte address keys. Uses all 20 bytes: bytes 0..8 XOR 8..16 XOR (12..20 shifted) + wyhash64.
crates/qmdb-common/src/utils/short_key.rs:59
ClassAdsCore
Core database engine handling state storage and verification. Manages the underlying storage, indexing, and proof generation. # Architecture AdsCore
crates/qmdb/src/lib.rs:180
ClassAdsWrap
High-level wrapper providing block-oriented database operations. Manages block lifecycle, caching, and task coordination. # Type Parameters `T`: Task
crates/qmdb/src/lib.rs:973
ClassAlignedBuf512
Buffer with 512-byte alignment for O_DIRECT operations. This buffer guarantees that: - The starting address is aligned to 512 bytes - Memory is conti
crates/hpfile/src/aligned_buf.rs:71
ClassBarrierSet
crates/qmdb/src/flusher/barrier_set.rs:3
ClassBatchProofReq
crates/qmdb/src/flusher/shard.rs:17
ClassBenchmarkResults
bench/src/speed/results.rs:134
ClassBigEndian
crates/qmdb-common/src/utils/byteorder.rs:57
ClassBitmap
crates/qmdb/src/utils/bitmap.rs:9
ClassBitmapModel
bench/src/speed/correctness.rs:58
ClassBlock512
crates/hpfile/src/aligned_buf.rs:30
ClassBlockPairTaskHub
crates/qmdb/src/tasks/bptaskhub.rs:11
EnumBlockType
bench/src/speed/streaming_gen.rs:24
ClassBufList
Manages a pool of direct I/O buffers. Provides: - Buffer allocation - Buffer recycling - Buffer access
crates/qmdb/src/prefetcher/dioprefetcher.rs:1253
ClassBytesCache
A sharded cache for storing and retrieving byte slices. This cache provides concurrent access through multiple shards, each protected by a read-write
crates/qmdb/src/utils/bytescache.rs:216
ClassBytesCacheShard
A shard of the bytes cache that manages a subset of the cached data. Each shard maintains its own buffer pool and position mapping to reduce contenti
crates/qmdb/src/utils/bytescache.rs:79
ClassChangeOp
crates/qmdb-common/src/utils/changeset.rs:33
ClassChangeSet
crates/qmdb-common/src/utils/changeset.rs:154
ClassChunkState
crates/qmdb-common/tests/reference_impl.rs:165
ClassCli
bench/src/cli.rs:5
ClassCompactJob
crates/qmdb/src/compactor.rs:69
ClassCompactor
Manages the compaction process for a database shard. The Compactor coordinates storage optimization by: - Monitoring entry counts and triggering comp
crates/qmdb/src/compactor.rs:95
ClassConfig
crates/qmdb/src/config.rs:126
ClassConsumer
Consumer end of a ring buffer channel. The consumer can: - Receive items from the producer - Return items back to the producer
crates/qmdb/src/utils/ringchannel.rs:27
ClassCounters
crates/qmdb/src/indexer/hybrid/index_cache.rs:13
ClassCrudCli
bench/src/bin/crud.rs:34
ClassDSNIter
Iterator over deactivated serial numbers in an entry. This iterator yields (index, serial_number) pairs for each deactivated serial number stored in
crates/qmdb-common/src/entryfile/entry.rs:600
ClassDetailedStats
bench/src/speed/metrics.rs:192
ClassDiffMap
crates/qmdb-common/src/merkletree/diffmap.rs:36
EnumDoneReceiver
crates/qmdb/src/entryfile/uring_reader.rs:63
EnumDoneSender
crates/qmdb/src/entryfile/uring_reader.rs:40
ClassEdgeNode
crates/qmdb/src/merkletree/tree.rs:129
ClassEntry
crates/qmdb-common/src/entryfile/entry.rs:46
ClassEntryBuffer
crates/qmdb/src/entryfile/entrybuffer.rs:97
ClassEntryBufferReader
crates/qmdb/src/entryfile/entrybuffer.rs:272
ClassEntryBufferWriter
crates/qmdb/src/entryfile/entrybuffer.rs:50
ClassEntryBuilder
crates/qmdb-common/src/entryfile/helpers.rs:6
ClassEntryBz
crates/qmdb-common/src/entryfile/entry.rs:64
ClassEntryCache
crates/qmdb/src/entryfile/entrycache.rs:8
ClassEntryFile
crates/qmdb/src/entryfile/entryfile.rs:16
ClassEntryFileWithPreReader
crates/qmdb/src/entryfile/entryfile.rs:392
ClassEntryFileWriter
crates/qmdb/src/entryfile/entryfile.rs:447
InterfaceEntryIndexer
Trait for indexer operations required by EntryMutator
crates/qmdb-common/src/mutator/entrymutator.rs:51
InterfaceEntryMutationInspector
Trait for inspecting entry mutations during database operations. This trait provides hooks for monitoring entry operations such as reading, appending
crates/qmdb-common/src/mutator/entrymutator.rs:66
ClassEntryMutationResult
crates/qmdb-common/src/mutator/entrymutator.rs:79
ClassEntryMutator
Handles mutations of key-value entries with efficient indexing
crates/qmdb-common/src/mutator/entrymutator.rs:87
ClassEntryMutatorBuilder
Builder for creating EntryMutator instances with different configurations. This builder allows for step-by-step configuration of an EntryMutator, sta
crates/qmdb-common/src/mutator/entrymutator.rs:369
InterfaceEntryStorage
Trait for storage operations on entries
crates/qmdb-common/src/mutator/entrymutator.rs:18
ClassExtEntryFile
crates/qmdb/src/entryfile/entrybuffer.rs:14
ClassFileChunk
crates/hpfile/src/watcher.rs:18
ClassFileReader
crates/qmdb/src/indexer/hybrid/file_reader.rs:12
ClassFileSlots
Lock-free file slots using a resizable ring buffer. This is a specialized wrapper around `ResizableSlots<File>` with additional file-specific feature
crates/hpfile/src/file_slots.rs:516
ClassFileWatcher
Watches a directory and streams newly appended file bytes via a crossbeam channel. Implementation notes: - Uses notify (debounced watcher) to receive
crates/hpfile/src/watcher.rs:30
ClassFileWriter
crates/qmdb/src/indexer/hybrid/file_writer.rs:12
ClassFlusher
crates/qmdb/src/flusher/flusher.rs:181
ClassFlusherShard
Shard-specific flusher component that manages local state and operations. The FlusherShard is responsible for: - Managing local buffer operations - U
crates/qmdb/src/flusher/shard.rs:43
ClassGaloisLfsr
crates/qmdb/src/utils/lfsr.rs:18
ClassHPFile
crates/hpfile/src/lib.rs:62
ClassHash32Hasher
Hasher for 32-byte hash keys (keccak, etc). Uses bytes 0..8 XOR 24..32. No wyhash64 needed (keccak is well-distributed).
crates/qmdb-common/src/utils/short_key.rs:48
ClassHashIterForPosList
Iterator for retrieving hash values for a list of positions in the tree
crates/qmdb/src/merkletree/tree.rs:1107
ClassHasher
An incremental hasher that can accept any number of writes.
crates/qmdb-common/tests/reference_impl.rs:267
ClassHistoryEntry
crates/qmdb/examples/v3_indexer.rs:76
ClassHoverBlockResult
Result of generating a hover block, including bitmap update info
bench/src/speed/hover_gen.rs:25
ClassHoverConfig
bench/src/speed/streaming_gen.rs:67
ClassHoverExecuteConfig
bench/src/bin/speed.rs:61
ClassHoverGen
Hover block generator
bench/src/speed/hover_gen.rs:33
ClassHoverTaskConfig
bench/src/bin/speed.rs:47
ClassHoverWorkloadArgs
bench/src/cli.rs:45
ClassHybridIndexer
crates/qmdb/src/indexer/hybrid/mod.rs:109
ClassIdentityHasher
Identity hasher for testing - returns the key as-is.
crates/qmdb-common/src/utils/short_key.rs:91
ClassInFlightRequest
crates/qmdb/src/entryfile/uring_reader.rs:122
ClassInMemIndexerGeneric
crates/qmdb/src/indexer/memidx.rs:520
ClassIndexCache
crates/qmdb/src/indexer/hybrid/index_cache.rs:152
ClassIndexCacheMap
crates/qmdb/src/indexer/hybrid/index_cache.rs:88
ClassIndexedBlock
A complete block with its index and type
bench/src/speed/streaming_gen.rs:54
InterfaceIndexerTrait
crates/qmdb-common/src/indexer/indexer_trait.rs:3
ClassInstructionMeter
A small helper to measure QEVM instruction count / execution time / cycles. - **Linux ARM64**: Uses `perf_event` to count hardware instructions. - **
crates/qmdb-common/src/utils/instruction_meter.rs:34
ClassIntSet
crates/qmdb/src/utils/intset.rs:105
EnumJob
Represents a job to be processed by the prefetcher. Can be either: - A task job for processing multiple entries - A warmup job for prefetching specif
crates/qmdb/src/prefetcher/dioprefetcher.rs:362
ClassJobManager
Manages prefetch jobs and I/O operations across shards. Handles: - Buffer management - I/O scheduling - Job coordination - Completion notification
crates/qmdb/src/prefetcher/dioprefetcher.rs:153
ClassJobManager
Manages jobs for the universal prefetcher implementation. This implementation is used for platforms that don't support io_uring. It provides basic jo
crates/qmdb/src/prefetcher/uniprefetcher.rs:21
ClassJobSlot
Per-io_uring-worker tracking for a job. We keep exactly one `Arc<Job>` alive per job (per worker) to avoid per-I/O refcount contention on the `Arc` h
crates/qmdb/src/prefetcher/dioprefetcher.rs:185
ClassKVCursor
crates/qmdb/src/indexer/kvlist.rs:53
ClassKVList
crates/qmdb/src/indexer/kvlist.rs:30
ClassLatencyStats
bench/src/speed/metrics.rs:16
ClassLevel8NthHasher
Hasher for level8nth u64 keys. Compresses sparse values (8-15, 24-31, ...) into contiguous indices.
crates/qmdb-common/src/utils/short_key.rs:37
ClassLittleEndian
We just copy some code from https://docs.rs/byteorder/latest/byteorder/ such that it can be used in no_std environment. LittleEndian is a module that
crates/qmdb-common/src/utils/byteorder.rs:5
ClassMerger
crates/qmdb/src/indexer/hybrid/mod.rs:47
ClassMetaDB
Metadata database managing persistent state information. This struct provides methods to read and write metadata to disk, optionally encrypting sensi
crates/qmdb/src/metadb.rs:301
ClassMetaInfo
crates/qmdb/src/metadb.rs:122
ClassMultiEntryFileUringReader
crates/qmdb/src/entryfile/uring_reader.rs:180
ClassMultiEntryFileUringReaderReceiver
crates/qmdb/src/entryfile/uring_reader.rs:190
next →1–100 of 185, ranked by callers