Lines Matching full:random
19 import random
47 """Select a random integer number from the list of specified intervals.
53 r = random.randint(0, total - 1) + intervals[0][0]
60 """Generate random binary mask with ones in the specified bit ranges.
63 positions will be fuzzed. The limits are included. Random amount of bits
68 # Select random amount of random positions in bit_ranges
70 bit_numbers += random.sample(range(rng[0], rng[1] + 1),
71 random.randint(0, rng[1] - rng[0] + 1))
98 """Return a random value from intervals not equal to the current.
106 """Return a random bit mask not equal to the current.
114 """Return a random bytes value from the list not equal to the current.
118 return validator(current, random.choice, sequences)
124 Each constraint produces one random value satisfying to it. The function
149 return random.choice(fuzz_values)
339 random.choice([selector(current, constraints), current])
340 is_cow = random.randint(0, 1)
350 random.choice([selector(current, constraints), current])
351 is_compressed = random.randint(0, 1)
352 is_cow = random.randint(0, 1)
353 is_zero = random.randint(0, 1)