MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / len

Method len

nodedb-wal/src/mmap_reader.rs:224–226  ·  view source on GitHub ↗

Total size of the mmap'd region.

(&self)

Source from the content-addressed store, hash-verified

222
223 /// Total size of the mmap'd region.
224 pub fn len(&self) -> usize {
225 self.mmap.len()
226 }
227
228 /// Whether the mmap'd region is empty.
229 pub fn is_empty(&self) -> bool {

Callers 7

openMethod · 0.45
release_pagesMethod · 0.45
next_recordMethod · 0.45
replay_segments_mmapFunction · 0.45
filter_segments_by_lsnFunction · 0.45
replay_segments_parallelFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected