Home
last modified time | relevance | path

Searched refs:attempts (Results 1 – 25 of 542) sorted by relevance

12345678910>>...22

/external/mockito/src/test/java/org/mockitoutil/
DRetryRule.java17 public static RetryRule attempts(final int attempts) { in attempts() argument
18 return new RetryRule(new NumberedAttempts(attempts)); in attempts()
30 private final int attempts; field in RetryRule.NumberedAttempts
32 NumberedAttempts(int attempts) { in NumberedAttempts() argument
33 assert attempts > 1; in NumberedAttempts() local
34 this.attempts = attempts; in NumberedAttempts()
42 … for (int remainingAttempts = attempts; remainingAttempts > 0 ; remainingAttempts--) { in apply()
47 … throw new AssertionError(format("Tried this test + %d times and failed", attempts)) in apply()
/external/vboot_reference/utility/
Dtpm-dad-lock20 attempts=0
25 attempts=$(( $attempts + 1 ))
44 echo delay of $elapsed seconds after $attempts attempts
/external/compiler-rt/test/asan/android_commands/
Dandroid_common.py11 def adb(args, attempts = 1): argument
17 while attempts > 0 and ret != 0:
18 attempts -= 1
20 if attempts != 0:
/external/tensorflow/tensorflow/core/kernels/
Dqueue_base.cc193 std::deque<Attempt>* attempts = in Cancel() local
196 for (Attempt& attempt : *attempts) { in Cancel()
266 std::deque<Attempt>* attempts = in TryAttemptLocked() local
271 while (!done && !attempts->empty()) { in TryAttemptLocked()
272 if (attempts->front().is_cancelled) { in TryAttemptLocked()
290 attempts->pop_front(); in TryAttemptLocked()
292 Attempt* cur_attempt = &attempts->front(); in TryAttemptLocked()
306 attempts->pop_front(); in TryAttemptLocked()
/external/autotest/server/site_tests/servo_ConsoleStress/
Dcontrol.servo_v429 attempts = int(args_dict.get("attempts", 5000))
35 attempts=attempts, cmd_type=cmd_type, cmd=cmd)
Dcontrol.ec29 attempts = int(args_dict.get("attempts", 1000))
35 attempts=attempts, cmd_type=cmd_type, cmd=cmd)
Dcontrol.cr5029 attempts = int(args_dict.get("attempts", 1000))
35 attempts=attempts, cmd_type=cmd_type, cmd=cmd)
Dcontrol29 attempts = int(args_dict.get("attempts", 1000))
35 attempts=attempts, cmd_type=cmd_type, cmd=cmd)
Dcontrol.servo_micro29 attempts = int(args_dict.get("attempts", 5000))
35 attempts=attempts, cmd_type=cmd_type, cmd=cmd)
Dservo_ConsoleStress.py41 def run_once(self, attempts, cmd_type, cmd): argument
63 for i in range(attempts):
/external/autotest/server/cros/
Dtradefed_utils.py28 attempts = 0
31 attempts += 1
35 filelock.acquire(random.uniform(0.0, pow(2.0, attempts)))
40 if attempts > 11:
56 logging.info('Acquired cache lock after %d attempts.', attempts)
/external/vboot_reference/firmware/lib/
Drollback_index.c87 int attempts = 3; in ReadSpaceFirmware() local
89 while (attempts--) { in ReadSpaceFirmware()
128 int attempts = 3; in WriteSpaceFirmware() local
135 while (attempts--) { in WriteSpaceFirmware()
184 int attempts = 3; in ReadSpaceKernel() local
186 while (attempts--) { in ReadSpaceKernel()
223 int attempts = 3; in WriteSpaceKernel() local
230 while (attempts--) { in WriteSpaceKernel()
/external/syzkaller/vendor/google.golang.org/appengine/datastore/
Dtransaction.go61 attempts := 3
63 attempts = opts.Attempts
65 for i := 0; i < attempts; i++ {
/external/autotest/client/site_tests/network_ProxyResolver/
Dnetwork_ProxyResolver.py285 attempts = timeout
286 while attempts > 0:
290 attempts -= 1
312 attempts = timeout
314 while attempts > 0:
319 attempts -= 1
/external/skia/experimental/Networking/
DSkSockets.cpp97 int attempts = 0; in readPacket() local
108 ++attempts; in readPacket()
149 attempts = 0; in readPacket()
184 int attempts = 0; in writePacket() local
199 attempts++; in writePacket()
232 attempts = 0; in writePacket()
/external/skqp/experimental/Networking/
DSkSockets.cpp97 int attempts = 0; in readPacket() local
108 ++attempts; in readPacket()
149 attempts = 0; in readPacket()
184 int attempts = 0; in writePacket() local
199 attempts++; in writePacket()
232 attempts = 0; in writePacket()
/external/bcc/tools/
Dtcpretrans_example.txt27 A -l option will include TCP tail loss probe attempts:
44 See the "L>" in the "T>" column. These are attempts: the kernel probably
71 -l, --lossprobe include tail loss probe attempts
76 ./tcpretrans -l # include TLP attempts
/external/autotest/site_utils/
Dadd_detected_host_labels.py134 attempts = len(hostnames)
137 'hosts.', attempts-successes, attempts)
/external/skqp/infra/bots/recipe_modules/run/
Dapi.py81 def with_retry(self, steptype, name, attempts, between_attempts_fn=None, argument
83 for attempt in xrange(attempts):
94 if attempt == attempts - 1:
/external/skia/infra/bots/recipe_modules/run/
Dapi.py81 def with_retry(self, steptype, name, attempts, between_attempts_fn=None, argument
83 for attempt in xrange(attempts):
94 if attempt == attempts - 1:
/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dexport_utils.py211 attempts = 0
212 while attempts < MAX_DIRECTORY_CREATION_ATTEMPTS:
223 attempts += 1
225 result_dir, attempts, MAX_DIRECTORY_CREATION_ATTEMPTS))
/external/python/cpython3/Objects/stringlib/
Dreplace.h22 int attempts = 10; in STRINGLIB() local
29 if (!--attempts) { in STRINGLIB()
/external/guava/guava-tests/test/com/google/common/collect/
DMinMaxPriorityQueueTest.java591 for (int attempts = 0; attempts < size * (size - 1); attempts++) { in testCorrectOrdering_smallHeapsPollFirst()
606 for (int attempts = 0; attempts < size * (size - 1); attempts++) { in testCorrectOrdering_smallHeapsPollLast()
620 for (int attempts = 0; attempts < 5000; attempts++) { in testCorrectOrdering_mediumHeapsPollFirst()
652 for (int attempts = 0; attempts < 5000; attempts++) { in testCorrectOrdering_mediumHeapsPollLast()
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Dqos_mc_aware.sh355 local attempts=50
359 for ((i = 0; i < attempts; ++i)); do
375 ((attempts == passes))
384 echo " sent $attempts BC ARPs, got $passes responses"
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DLocalUiController.java100 for (int attempts = 0; !eventInjected && attempts < 4; attempts++) { in injectString()

12345678910>>...22