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

Class Counter

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

Source from the content-addressed store, hash-verified

248/// Represents a set of values that increment/decrement at a fixed rate.
249#[derive(Debug, Copy, Clone, PartialEq, Eq)]
250pub struct Counter {
251 /// The initial value of the counter.
252 pub start: i64,
253
254 /// The amount the counter increments/decrements each step.
255 pub stride: i64,
256
257 /// The final value of the counter.
258 pub end: i64,
259}
260
261impl Counter {
262 /// Return the number of steps between the start and end of the counter.

Callers 1

from_sequenceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected