MCPcopy Create free account
hub / github.com/RetypeOS/parcode / reset

Method reset

examples/audit.rs:35–38  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

33 }
34 }
35 fn reset(&self) {
36 self.allocated.store(0, Ordering::SeqCst);
37 self.peak.store(0, Ordering::SeqCst);
38 }
39 fn peak(&self) -> usize {
40 self.peak.load(Ordering::SeqCst)
41 }

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected