Lines Matching refs:rng
55 def random_extra_flags(rng): argument
59 return [flag for prob, flag in EXTRA_FLAGS if rng.random() < prob]
86 def create_flags_generator(self, rng, test, analysis_value): argument
99 def __init__(self, rng, count, fuzzers, disable_analysis=False): argument
110 self._rng = rng
224 def create_flags_generator(self, rng, test, analysis_value): argument
240 def create_flags_generator(self, rng, test, analysis_value): argument
256 def create_flags_generator(self, rng, test, analysis_value): argument
266 def create_flags_generator(self, rng, test, analysis_value): argument
272 def create_flags_generator(self, rng, test, analysis_value): argument
276 flag1 = rng.choice(
280 flag2 = '--interrupt-budget=%d' % rng.randint(0, 135168)
281 flag3 = '--interrupt-budget-for-feedback-allocation=%d' % rng.randint(
288 def create_flags_generator(self, rng, test, analysis_value): argument
290 yield ['--stack-size=%d' % rng.randint(54, 983)]
294 def create_flags_generator(self, rng, test, analysis_value): argument
300 def create_flags_generator(self, rng, test, analysis_value): argument
302 yield ['--thread-pool-size=%d' % rng.randint(1, 8)]
332 def create_flags_generator(self, rng, test, analysis_value): argument
338 interval = rng.randint(self._min, max(value, self._min))