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

Method seek_to_start

hail-fuzz/src/input.rs:222–224  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

220 }
221
222 pub fn seek_to_start(&mut self) {
223 self.streams.values_mut().for_each(|x| x.cursor = 0);
224 }
225
226 pub fn trim(&mut self) {
227 self.streams.values_mut().for_each(|x| x.bytes.truncate(x.cursor as usize));

Callers 5

reset_input_cursorMethod · 0.80
exec_oneMethod · 0.80
crate_snapshot_afterMethod · 0.80
initMethod · 0.80
startMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected