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

Method capacity

nodedb-wal/src/align.rs:141–143  ·  view source on GitHub ↗

Total capacity of the buffer.

(&self)

Source from the content-addressed store, hash-verified

139
140 /// Total capacity of the buffer.
141 pub fn capacity(&self) -> usize {
142 self.capacity
143 }
144
145 /// Remaining capacity.
146 pub fn remaining(&self) -> usize {

Callers 6

zero_tailFunction · 0.45
full_capacity_sliceFunction · 0.45
appendMethod · 0.45
appendMethod · 0.45
memory_bytesMethod · 0.45
sizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected