Home
last modified time | relevance | path

Searched refs:ShuffleAmount (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerMutate.cpp112 size_t ShuffleAmount = in Mutate_ShuffleBytes() local
114 size_t ShuffleStart = Rand(Size - ShuffleAmount); in Mutate_ShuffleBytes()
115 assert(ShuffleStart + ShuffleAmount <= Size); in Mutate_ShuffleBytes()
116 std::shuffle(Data + ShuffleStart, Data + ShuffleStart + ShuffleAmount, Rand); in Mutate_ShuffleBytes()