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

Method add_strong

crates/common/src/refcount.rs:58–60  ·  view source on GitHub ↗
(self, val: u32)

Source from the content-addressed store, hash-verified

56
57 #[inline]
58 fn add_strong(self, val: u32) -> Self {
59 Self::from_raw(self.inner + (val as usize) * COUNT)
60 }
61
62 #[inline]
63 fn with_leaked(self, leaked: bool) -> Self {

Callers 1

safe_incMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected