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

Function refcount_overflow

crates/common/src/refcount.rs:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16#[inline(never)]
17#[cold]
18fn refcount_overflow() -> ! {
19 #[cfg(feature = "std")]
20 std::process::abort();
21 #[cfg(not(feature = "std"))]
22 core::panic!("refcount overflow");
23}
24
25/// State wraps reference count + flags in a single word (platform usize)
26#[derive(Clone, Copy)]

Callers 3

incMethod · 0.85
inc_byMethod · 0.85
safe_incMethod · 0.85

Calls 1

abortFunction · 0.50

Tested by

no test coverage detected