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

Method is_leaked

crates/common/src/refcount.rs:182–184  ·  view source on GitHub ↗

Check if this object is leaked (interned).

(&self)

Source from the content-addressed store, hash-verified

180
181 /// Check if this object is leaked (interned).
182 pub fn is_leaked(&self) -> bool {
183 State::from_raw(self.state.load(Ordering::Acquire)).leaked()
184 }
185}
186
187// Deferred Drop Infrastructure

Callers 1

is_internedMethod · 0.80

Calls 2

leakedMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected