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

Method store

crates/vm/src/object/ext.rs:508–511  ·  view source on GitHub ↗
(&self, obj: &PyObject)

Source from the content-addressed store, hash-verified

506 }
507
508 pub fn store(&self, obj: &PyObject) {
509 let ptr = obj as *const PyObject as *mut u8;
510 Radium::store(&self.inner, ptr, Ordering::Relaxed);
511 }
512
513 pub fn load(&self) -> Option<&PyObject> {
514 let ptr = Radium::load(&self.inner, Ordering::Relaxed);

Callers 15

set_check_hostnameMethod · 0.45
write_eofMethod · 0.45
init_innerMethod · 0.45
setblockingMethod · 0.45
settimeoutMethod · 0.45
setdefaulttimeoutFunction · 0.45
acquireMethod · 0.45
_after_forkMethod · 0.45
deleteMethod · 0.45
set_innerMethod · 0.45
getMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected