MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / range

Method range

tests/all/stack_creator.rs:30–33  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

28 unsafe { self.base.as_ptr().add(self.len) }
29 }
30 fn range(&self) -> Range<usize> {
31 let base = self.base.as_ptr() as usize;
32 base..base + self.len
33 }
34 fn guard_range(&self) -> Range<*mut u8> {
35 std::ptr::null_mut()..std::ptr::null_mut()
36 }

Callers

nothing calls this directly

Calls 2

as_ptrMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected