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

Method peek_byte_raw

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

Source from the content-addressed store, hash-verified

382 return line.data.get(offset as usize).copied();
383 }
384 }
385 }
386 self.next.peek_byte_raw(addr)
387 }
388}
389
390impl<Next: MemoryAccess + RamImage> RamImage for Cache<Next> {
391 fn ram_len(&self) -> usize {
392 self.next.ram_len()
393 }
394 fn ram_base(&self) -> u64 {
395 self.next.ram_base()
396 }
397 fn write_image_into(&self, buf: &mut [u8]) {
398 // Deeper (older) levels first, then overlay this level's dirty lines so

Callers

nothing calls this directly

Calls 2

address_fieldsMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected