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

Method allocated

nodedb-mem/src/budget.rs:160–162  ·  view source on GitHub ↗

Current allocated bytes.

(&self)

Source from the content-addressed store, hash-verified

158
159 /// Current allocated bytes.
160 pub fn allocated(&self) -> usize {
161 self.allocated.load(Ordering::Relaxed)
162 }
163
164 /// Hard limit in bytes.
165 pub fn limit(&self) -> usize {

Callers 6

total_allocatedMethod · 0.80
snapshotMethod · 0.80
availableMethod · 0.80
utilization_percentMethod · 0.80
set_limitMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by 1