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

Method steps

hail-fuzz/src/i2s/analysis.rs:263–268  ·  view source on GitHub ↗

Return the number of steps between the start and end of the counter.

(&self)

Source from the content-addressed store, hash-verified

261impl Counter {
262 /// Return the number of steps between the start and end of the counter.
263 fn steps(&self) -> usize {
264 if self.stride == 0 {
265 return 0;
266 }
267 (self.end.wrapping_sub(self.start) / self.stride) as usize
268 }
269
270 /// Gets the minimum and maximum value of the counter.
271 fn min_max(&self) -> MinMax {

Callers 2

finalize_strideMethod · 0.80
from_sequenceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected