MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / empty

Method empty

icicle-cortexm/src/mmio.rs:205–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203
204impl GlobalMmioSource {
205 pub fn empty() -> Self {
206 Self { data: vec![], offset: 0, mmio_accesses: None }
207 }
208
209 pub fn next_bytes(&mut self, size: usize) -> Option<&[u8]> {
210 let buf = self.data.get(self.offset..self.offset + size)?;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected