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

Function get_invalidation_counter

crates/vm/src/stdlib/_abc.rs:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 static ABC_INVALIDATION_COUNTER: AtomicU64 = AtomicU64::new(0);
22
23 fn get_invalidation_counter() -> u64 {
24 ABC_INVALIDATION_COUNTER.load(Ordering::SeqCst)
25 }
26
27 fn increment_invalidation_counter() {
28 ABC_INVALIDATION_COUNTER.fetch_add(1, Ordering::SeqCst);

Callers 4

newMethod · 0.85
get_cache_tokenFunction · 0.85
_abc_instancecheckFunction · 0.85
_abc_subclasscheckFunction · 0.85

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected