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

Method read_halfword

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

Source from the content-addressed store, hash-verified

327 }
328
329 fn read_doubleword(&mut self, addr: u64) -> Result<u64, VmError> {
330 self.read_n(addr, 8)
331 }
332
333 fn write_byte(&mut self, addr: u64, data: u8) -> Result<(), VmError> {
334 self.write_n(addr, data as u64, 1)

Callers

nothing calls this directly

Calls 1

read_nMethod · 0.80

Tested by

no test coverage detected