Home
last modified time | relevance | path

Searched refs:randint (Results 1 – 25 of 35) sorted by relevance

12

/third_party/ltp/testcases/network/nfsv4/acl/
Drandom_gen.py32 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/
Dbigint-tester.py52 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/
Dfuzzer.py189 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))
Dcombiner.py85 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/
Dtoggle_legacy_flag.py26 from random import randint
64 random = randint(1, 10000)
/third_party/python/Lib/turtledemo/
Dnim.py31 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/
Drandom_utils.py12 seed = random.SystemRandom().randint(-2147483648, 2147483647)
/third_party/python/Lib/email/
Dutils.py186 randint = random.getrandbits(64)
193 msgid = '<%d.%d.%d%s@%s>' % (timeval, pid, randint, idstring, domain)
/third_party/python/Modules/_decimal/tests/
Dranddec.py441 def randint(): function
463 num = randint()
464 denom = randint()
469 number_funcs = [randint, randfloat, randcomplex, randfraction]
/third_party/python/Lib/
Drandom.py366 def randint(self, a, b): member in Random
862 randint = _inst.randint variable
Dimaplib.py231 self.tagpre = Int2AP(random.randint(4096, 65535))
/third_party/benchmark/bindings/python/google_benchmark/
Dexample.py47 random_list = [random.randint(0, 100) for _ in range(100)]
/third_party/cef/tools/cefbuilds/
Dcef_json_builder_example.py34 return random.randint(30000000, 60000000)
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/tools/
Drun_one.py48 seed = random.SystemRandom().randint(-2147483648, 2147483647)
/third_party/mbedtls/scripts/mbedtls_dev/
Dbignum_core.py735 a = random.randint(1, n)
736 b = random.randint(1, n)
/third_party/vk-gl-cts/scripts/
Drun_internal_tests.py100 '--port=%d' % random.randint(50000, 60000),
/third_party/mesa3d/.gitlab-ci/tests/
Dtest_lava_job_submitter.py333 data_chunk = [next(chain) for _ in range(random.randint(0, 50))]
/third_party/musl/libc-test/src/math/gen/
Drnd.c35 uint64_t randint(uint64_t a, uint64_t b) in randint() function
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/
Dwps-nfc.py213 message.nonce = random.randint(0, 0xffff)
Dp2p-nfc.py155 message.nonce = random.randint(0, 0xffff)
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/
Dwps-nfc.py213 message.nonce = random.randint(0, 0xffff)
Dp2p-nfc.py155 message.nonce = random.randint(0, 0xffff)
/third_party/python/Lib/test/
Dtest_zipfile.py20 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/
Dsortvisu.py376 j = random.randint(0, n-1)
/third_party/python/Tools/stringbench/
Dstringbench.py882 n = r.randint(5, 65)

12