Home
last modified time | relevance | path

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

/external/syzkaller/prog/
Drand.go18 type randGen struct { struct
25 func newRand(target *Target, rs rand.Source) *randGen {
26 return &randGen{
33 func (r *randGen) rand(n int) uint64 { argument
37 func (r *randGen) randRange(begin, end uint64) uint64 { argument
41 func (r *randGen) bin() bool { argument
45 func (r *randGen) oneOf(n int) bool { argument
49 func (r *randGen) rand64() uint64 { argument
68 func (r *randGen) randInt() uint64 { argument
94 func (r *randGen) randRangeInt(begin uint64, end uint64) uint64 { argument
[all …]
Dmutation.go47 r *randGen
167 func (target *Target) mutateArg(r *randGen, s *state, arg Arg, ctx ArgCtx, updateSizes *bool) ([]*C… argument
190 func regenerate(r *randGen, s *state, arg Arg) (calls []*Call, retry, preserve bool) { argument
197 func mutateInt(r *randGen, s *state, arg Arg) (calls []*Call, retry, preserve bool) { argument
213 func (t *IntType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preserve… argument
217 func (t *FlagsType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preser… argument
221 func (t *LenType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preserve… argument
230 func (t *ResourceType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, pre… argument
234 func (t *VmaType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preserve… argument
238 func (t *ProcType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preserv… argument
[all …]
Dalloc.go54 func (ma *memAlloc) alloc(r *randGen, size0 uint64) uint64 {
136 func (va *vmaAlloc) alloc(r *randGen, size uint64) uint64 {
Dtypes.go65 generate(r *randGen, s *state) (arg Arg, calls []*Call) argument
66 mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preserve bool) argument
Dsize.go119 func (r *randGen) mutateSize(arg *ConstArg, parent []Arg) bool {
Dtarget.go156 r *randGen
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DGeneticAlgorithm.java145 RandomGenerator randGen = getRandomGenerator(); in nextGeneration() local
152 if (randGen.nextDouble() < getCrossoverRate()) { in nextGeneration()
158 if (randGen.nextDouble() < getMutationRate()) { in nextGeneration()