MCPcopy Create free account
hub / github.com/douchuan/algorithm / get

Method get

src/common/drop.rs:24–26  ·  view source on GitHub ↗

count of Drop::drop called

(&self)

Source from the content-addressed store, hash-verified

22impl Ctx {
23 /// count of Drop::drop called
24 pub fn get(&self) -> usize {
25 DROPS.with(|drops| drops.load(Ordering::SeqCst))
26 }
27}
28
29pub fn with<F>(f: F)

Callers 6

setMethod · 0.45
heapifyFunction · 0.45
peekMethod · 0.45
peek_indexMethod · 0.45
peek_keyMethod · 0.45
byte_at_checkedFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected