Home
last modified time | relevance | path

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

123

/external/autotest/client/tests/kvm/
Dmigration_control.srv28 mac = "9a:%02x:%02x:%02x:%02x:%02x" % (r.randint(0x00, 0xff),
29 r.randint(0x00, 0xff),
30 r.randint(0x00, 0xff),
31 r.randint(0x00, 0xff),
32 r.randint(0x00, 0xff))
/external/autotest/client/site_tests/platform_SuspendStress/
Dplatform_SuspendStress.py42 self.suspend_and_resume(random.randint(MIN_SLEEP_INTERVAL, 15))
43 time.sleep(random.randint(MIN_WORK_INTERVAL,
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/
Ddiagnose.py137 return " ".join(rword(random.randint(4,9)) for i in range(length))
144 choice = random.randint(0,3)
150 elements.append(rsentence(random.randint(1,4)))
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
D_version133.py114 def randint(minvalue, maxvalue): function
131 nbits = random.randint(min_nbits, rangebits)
139 a = randint(1, p-1)
184 x = randint(1, n-1)
D_version200.py188 def randint(minvalue, maxvalue): function
205 nbits = random.randint(min_nbits, rangebits)
250 x = randint(1, n-1)
Drandnum.py60 def randint(maxvalue): function
Dprime.py95 x = rsa.randnum.randint(n-1)
/external/autotest/client/virt/tests/
Diofuzz.py131 [r.randint(beg, end), r.randint(0,255)]))
/external/autotest/client/site_tests/audio_ActiveStreamStress/
Daudio_ActiveStreamStress.py66 random_tab = random.randint(1, 10)
72 for i in xrange(1, random.randint(1, random_tab)):
/external/autotest/client/site_tests/power_SuspendStress/
Dpower_SuspendStress.py46 time.sleep(self._min_resume + random.randint(0, 3))
60 self._suspender.suspend(random.randint(0, 3) + self._min_suspend)
/external/autotest/client/site_tests/network_3GSafetyDance/
Dnetwork_3GSafetyDance.py97 n = random.randint(0, len(self.ops) - 1)
99 time.sleep(random.randint(5, 20) / 10.0)
/external/autotest/client/site_tests/network_MobileSuspendResume/
Dnetwork_MobileSuspendResume.py7 from random import choice, randint
218 self.suspend_resume(randint(10, 40))
223 time.sleep(randint(1, 30))
/external/autotest/server/site_tests/dummy_FlakyTestServer/
Dflaky_test.py12 if random.randint(0,1):
/external/autotest/client/tests/flaky_test/
Dflaky_test.py12 if random.randint(0,1):
/external/autotest/client/tests/kvm/scripts/
Dksm_overcommit_guest.py172 rand = random.randint(((PAGE_SIZE / page.itemsize) - 1) -
199 rand = random.randint(((PAGE_SIZE/page.itemsize) - 1) -
/external/autotest/client/bin/self-test/tests/
D111-barrier-unordered-20x11 time.sleep(random.randint(1, 5))
D110-barrier-unordered-10x11 time.sleep(random.randint(1, 5))
D112-barrier-unordered-40x11 time.sleep(random.randint(1, 5))
D113-barrier-unordered-100x11 time.sleep(random.randint(1, 5))
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_temp_file.py32 random_hex = hex(random.randint(0, 2 ** 52))[2:]
/external/autotest/client/site_tests/power_CheckAfterSuspend/
Dpower_CheckAfterSuspend.py57 time.sleep(random.randint(0, 3))
/external/opencv3/doc/py_tutorials/py_ml/py_kmeans/py_kmeans_opencv/
Dpy_kmeans_opencv.markdown53 x = np.random.randint(25,100,25)
54 y = np.random.randint(175,255,25)
123 X = np.random.randint(25,50,(25,2))
124 Y = np.random.randint(60,85,(25,2))
/external/opencv3/doc/py_tutorials/py_ml/py_knn/py_knn_understanding/
Dpy_knn_understanding.markdown81 trainData = np.random.randint(0,100,(25,2)).astype(np.float32)
84 responses = np.random.randint(0,2,(25,1)).astype(np.float32)
114 newcomer = np.random.randint(0,100,(1,2)).astype(np.float32)
142 newcomers = np.random.randint(0,100,(10,2)).astype(np.float32)
/external/autotest/server/site_tests/platform_CryptohomeSyncStressServer/
Dplatform_CryptohomeSyncStressServer.py38 delay = random.randint(0, self.max_delay)
/external/autotest/client/cros/cellular/wardmodem/state_machines/
Dcall_machine_e362.py77 self._call_duration += random.randint(0, 20)

123