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

Method data_start

crates/vm/src/datastack.rs:37–41  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

35 /// Pointer to the first usable byte after the header (aligned).
36 #[inline(always)]
37 fn data_start(&self) -> *mut u8 {
38 let header_end = (self as *const Self as usize) + core::mem::size_of::<Self>();
39 let aligned = (header_end + ALIGN - 1) & !(ALIGN - 1);
40 aligned as *mut u8
41 }
42
43 /// Pointer past the last usable byte.
44 #[inline(always)]

Callers 3

newMethod · 0.80
push_slowMethod · 0.80
is_in_current_chunkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected