/third_party/ltp/testcases/network/nfsv4/acl/ |
D | random_gen.py | 32 group = self.gList[random.randint(0,len(self.gList)-1)][0] 154 l=random.randint(0,maxlength) 156 a = random.randint(0,a_length-1) 164 a = random.randint(0,a_length-1) 178 type = ace_type[random.randint(0,len(ace_type))] 179 flag = ace_flags[random.randint(0,len(ace_flags))] 180 mask = ace_mask[random.randint(0,len(ace_mask))] 181 who = ace_who[random.randint(0,len(ace_who))] 190 n = random.randint(0,userListSize-1) 200 if random.randint(0,1) == 1: [all …]
|
/third_party/node/deps/v8/tools/ |
D | bigint-tester.py | 52 if negative == kYes or (negative == kRandom and (random.randint(0, 1) == 0)): 55 s.append(kChars[random.randint(1, kBase - 1)]) # No leading zero. 57 s.append(kChars[random.randint(0, kBase - 1)]) 126 return GenRandom(random.randint(0, kLineLength)) 153 return random.randint(0, kLineLength), random.randint(0, kLineLength) 209 left_length = random.randint(1, kLineLength) 223 return random.randint(min_left, kLineLength), random.randint(1, max_right) 238 left_length = random.randint(0, kLineLength - 1) 240 small_shift = random.randint(0, 1) == 0 245 right_length = random.randint(0, 3)
|
/third_party/node/deps/v8/tools/testrunner/testproc/ |
D | fuzzer.py | 189 if self._rng.randint(1, 10) <= p: 209 seed = self._rng.randint(-2147483648, 2147483647) 280 flag2 = '--interrupt-budget=%d' % rng.randint(0, 135168) 281 flag3 = '--interrupt-budget-for-feedback-allocation=%d' % rng.randint( 290 yield ['--stack-size=%d' % rng.randint(54, 983)] 302 yield ['--thread-pool-size=%d' % rng.randint(1, 8)] 338 interval = rng.randint(self._min, max(value, self._min))
|
D | combiner.py | 85 max_size = self._rng.randint(self._min_size, self._max_size) 95 selected = self._rng.randint(0, len(self._groups) - 1)
|
/third_party/skia/tools/rebaseline/ |
D | toggle_legacy_flag.py | 26 from random import randint 64 random = randint(1, 10000)
|
/third_party/python/Lib/turtledemo/ |
D | nim.py | 31 return random.randint(MINSTICKS, MAXSTICKS) 46 z = random.randint(0,2) 49 rand = random.randint(m > 1, state[z]-1)
|
/third_party/node/deps/v8/tools/testrunner/utils/ |
D | random_utils.py | 12 seed = random.SystemRandom().randint(-2147483648, 2147483647)
|
/third_party/python/Lib/email/ |
D | utils.py | 186 randint = random.getrandbits(64) 193 msgid = '<%d.%d.%d%s@%s>' % (timeval, pid, randint, idstring, domain)
|
/third_party/python/Modules/_decimal/tests/ |
D | randdec.py | 441 def randint(): function 463 num = randint() 464 denom = randint() 469 number_funcs = [randint, randfloat, randcomplex, randfraction]
|
/third_party/python/Lib/ |
D | random.py | 366 def randint(self, a, b): member in Random 862 randint = _inst.randint variable
|
D | imaplib.py | 231 self.tagpre = Int2AP(random.randint(4096, 65535))
|
/third_party/benchmark/bindings/python/google_benchmark/ |
D | example.py | 47 random_list = [random.randint(0, 100) for _ in range(100)]
|
/third_party/cef/tools/cefbuilds/ |
D | cef_json_builder_example.py | 34 return random.randint(30000000, 60000000)
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/tools/ |
D | run_one.py | 48 seed = random.SystemRandom().randint(-2147483648, 2147483647)
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
D | bignum_core.py | 735 a = random.randint(1, n) 736 b = random.randint(1, n)
|
/third_party/vk-gl-cts/scripts/ |
D | run_internal_tests.py | 100 '--port=%d' % random.randint(50000, 60000),
|
/third_party/mesa3d/.gitlab-ci/tests/ |
D | test_lava_job_submitter.py | 333 data_chunk = [next(chain) for _ in range(random.randint(0, 50))]
|
/third_party/musl/libc-test/src/math/gen/ |
D | rnd.c | 35 uint64_t randint(uint64_t a, uint64_t b) in randint() function
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/ |
D | wps-nfc.py | 213 message.nonce = random.randint(0, 0xffff)
|
D | p2p-nfc.py | 155 message.nonce = random.randint(0, 0xffff)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/ |
D | wps-nfc.py | 213 message.nonce = random.randint(0, 0xffff)
|
D | p2p-nfc.py | 155 message.nonce = random.randint(0, 0xffff)
|
/third_party/python/Lib/test/ |
D | test_zipfile.py | 20 from random import randint, random, randbytes 171 read_data = zipopen1.read(randint(1, 1024)) 2239 datacount = randint(16, 64)*1024 + randint(1, 1024) 2240 cls.data = b''.join(struct.pack('<f', random()*randint(-1000, 1000)) 2313 read_data = zipopen1.read(randint(1, 1024))
|
/third_party/python/Tools/demo/ |
D | sortvisu.py | 376 j = random.randint(0, n-1)
|
/third_party/python/Tools/stringbench/ |
D | stringbench.py | 882 n = r.randint(5, 65)
|