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

Method get

crates/common/src/atomic.rs:73–75  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

71 }
72
73 pub fn get(&self) -> Option<NonNull<T>> {
74 NonNull::new(self.inner.load(Ordering::Acquire))
75 }
76
77 pub fn set(&self, value: NonNull<T>) -> Result<(), NonNull<T>> {
78 let exchange = self.inner.compare_exchange(

Callers 15

bytes_to_intFunction · 0.45
get_or_try_initMethod · 0.45
get_prevMethod · 0.45
get_nextMethod · 0.45
set_prevMethod · 0.45
set_nextMethod · 0.45
is_lockedMethod · 0.45
is_exclusiveMethod · 0.45
try_upgradeMethod · 0.45
lock_internalMethod · 0.45

Calls 2

newFunction · 0.85
loadMethod · 0.45