Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_drops
Function · 0.45
try_defer_drop
Function · 0.45
Calls
2
strong
Method · 0.80
load
Method · 0.45
Tested by
no test coverage detected