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

Method datastack_has_space

crates/vm/src/vm/mod.rs:662–664  ·  view source on GitHub ↗
(&self, size: usize)

Source from the content-addressed store, hash-verified

660 /// Check whether the thread data stack currently has room for `size` bytes.
661 #[inline(always)]
662 pub(crate) fn datastack_has_space(&self, size: usize) -> bool {
663 unsafe { (*self.datastack.get()).has_space(size) }
664 }
665
666 /// Pop a previous data stack allocation.
667 ///

Calls 2

has_spaceMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected