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

Method count_non_empty_streams

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

Source from the content-addressed store, hash-verified

129 }
130
131 pub fn count_non_empty_streams(&self) -> usize {
132 self.streams.iter().filter(|(_, data)| !data.bytes.is_empty()).count()
133 }
134
135 pub fn bytes_read(&self) -> usize {
136 self.streams.values().map(|x| x.cursor as usize).sum()

Callers 2

update_input_metadataMethod · 0.80
replace_inputMethod · 0.80

Calls 2

is_emptyMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected