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

Method restore_cursors

hail-fuzz/src/input.rs:234–238  ·  view source on GitHub ↗
(&mut self, snapshot: &Vec<(u64, u32)>)

Source from the content-addressed store, hash-verified

232 }
233
234 pub fn restore_cursors(&mut self, snapshot: &Vec<(u64, u32)>) {
235 snapshot
236 .iter()
237 .for_each(|(key, cursor)| self.streams.get_mut(key).unwrap().cursor = *cursor);
238 }
239}
240
241// pub fn multi_stream(

Callers 1

replay_benchFunction · 0.80

Calls 1

get_mutMethod · 0.80

Tested by

no test coverage detected