Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ stack_len
Method
stack_len
crates/vm/src/frame.rs:285–287 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
283
/// Current stack depth.
284
#[inline(always)]
285
fn stack_len(&self) -> usize {
286
self.stack_top as usize
287
}
288
289
/// Whether the stack is empty.
290
#[inline(always)]
Callers
9
fmt
Method · 0.80
execute_instruction
Method · 0.80
unwind_blocks
Method · 0.80
execute_call_vectorcall
Method · 0.80
execute_call_kw_vectorcall
Method · 0.80
specialize_call
Method · 0.80
specialize_call_kw
Method · 0.80
pop_multiple
Method · 0.80
nth_value
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected