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

Method bytes

nodedb/src/engine/timeseries/columnar_segment/mmap.rs:46–51  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

44
45impl BackingStore {
46 pub(super) fn bytes(&self) -> &[u8] {
47 match self {
48 BackingStore::Mmap { mmap, .. } => mmap,
49 BackingStore::Decrypted(v) => v,
50 }
51 }
52}
53
54/// Wrapper around a column-file backing store that advises `MADV_SEQUENTIAL`

Callers 11

fetch_jwksFunction · 0.45
download_parquetMethod · 0.45
load_manifestFunction · 0.45
load_core_snapshotFunction · 0.45
read_restore_markerFunction · 0.45
lenMethod · 0.45
is_emptyMethod · 0.45
derefMethod · 0.45

Calls

no outgoing calls