MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / contains

Method contains

crates/virtual-machine/src/memory/ram.rs:23–25  ·  view source on GitHub ↗
(&self, addr: u64)

Source from the content-addressed store, hash-verified

21 }
22
23 pub fn contains(&self, addr: u64) -> bool {
24 addr >= self.base && addr < self.base + self.size
25 }
26
27 fn index(&self, addr: u64) -> Option<usize> {
28 if self.contains(addr) {

Callers 15

maybe_tickMethod · 0.45
render_consoleMethod · 0.45
collect_console_inputFunction · 0.45
collect_ctrl_bytesFunction · 0.45
egui_key_to_scancodeFunction · 0.45
is_legacy_export_symbolFunction · 0.45
parse_blocksFunction · 0.45
draw_cfgFunction · 0.45
render_previewFunction · 0.45
uiMethod · 0.45

Calls

no outgoing calls