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

Method write_cache_u32

crates/compiler-core/src/bytecode.rs:728–733  ·  view source on GitHub ↗

Write a u32 value across two consecutive CACHE code units starting at `index`. # Safety Same requirements as `write_cache_u16`.

(&self, index: usize, value: u32)

Source from the content-addressed store, hash-verified

726 /// # Safety
727 /// Same requirements as `write_cache_u16`.
728 pub unsafe fn write_cache_u32(&self, index: usize, value: u32) {
729 unsafe {
730 self.write_cache_u16(index, value as u16);
731 self.write_cache_u16(index + 1, (value >> 16) as u16);
732 }
733 }
734
735 /// Read a u32 value from two consecutive CACHE code units starting at `index`.
736 ///

Callers 7

specialize_load_attrMethod · 0.80
specialize_callMethod · 0.80
specialize_call_kwMethod · 0.80
specialize_to_boolMethod · 0.80
specialize_store_attrMethod · 0.80

Calls 1

write_cache_u16Method · 0.80

Tested by

no test coverage detected