Package edu.berkeley.cs.jqf.fuzz.ei
Class ZestGuidance.LinearInput
java.lang.Object
edu.berkeley.cs.jqf.fuzz.ei.ZestGuidance.Input<Integer>
edu.berkeley.cs.jqf.fuzz.ei.ZestGuidance.LinearInput
- Direct Known Subclasses:
ZestGuidance.SeedInput
- Enclosing class:
- ZestGuidance
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class edu.berkeley.cs.jqf.fuzz.ei.ZestGuidance.Input
isFavored, sampleGeometric, setFavoredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
values
A list of byte values (0-255) ordered by their index. -
requested
protected int requestedThe number of bytes requested so far
-
-
Constructor Details
-
LinearInput
public LinearInput() -
LinearInput
-
-
Method Details
-
getOrGenerateFresh
- Specified by:
getOrGenerateFreshin classZestGuidance.Input<Integer>
-
size
public int size()- Specified by:
sizein classZestGuidance.Input<Integer>
-
gc
public void gc()Truncates the input list to remove values that were never actually requested.Although this operation mutates the underlying object, the effect should not be externally visible (at least as long as the test executions are deterministic).
- Specified by:
gcin classZestGuidance.Input<Integer>
-
fuzz
- Specified by:
fuzzin classZestGuidance.Input<Integer>
-
iterator
-