MCPcopy Index your code
hub / github.com/RustPython/RustPython / get

Method get

crates/common/src/refcount.rs:94–96  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

92 /// Get current strong count
93 #[inline]
94 pub fn get(&self) -> usize {
95 State::from_raw(self.state.load(Ordering::Relaxed)).strong() as usize
96 }
97
98 /// Increment strong count
99 #[inline]

Callers 2

with_deferred_dropsFunction · 0.45
try_defer_dropFunction · 0.45

Calls 2

strongMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected