Home
last modified time | relevance | path

Searched full:retries (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/third_party/node/deps/npm/node_modules/promise-retry/node_modules/retry/test/integration/
Dtest-retry-wrap.js24 retry.wrap(lib, {retries: 2}); property
28 assert.equal(lib.fn1.options.retries, 2);
29 assert.equal(lib.fn2.options.retries, 2);
30 assert.equal(lib.fn3.options.retries, 2);
43 retry.wrap(lib, {retries: 2}, ['fn2', 'fn3']); property
47 assert.equal(lib.fn2.options.retries, 2);
48 assert.equal(lib.fn3.options.retries, 2);
71 retry.wrap(lib, {retries: 1}); property
/third_party/node/deps/npm/node_modules/retry/test/integration/
Dtest-retry-wrap.js24 retry.wrap(lib, {retries: 2}); property
28 assert.equal(lib.fn1.options.retries, 2);
29 assert.equal(lib.fn2.options.retries, 2);
30 assert.equal(lib.fn3.options.retries, 2);
43 retry.wrap(lib, {retries: 2}, ['fn2', 'fn3']); property
47 assert.equal(lib.fn2.options.retries, 2);
48 assert.equal(lib.fn3.options.retries, 2);
95 retry.wrap(lib, {retries: 1}); property
/third_party/boost/libs/fiber/doc/
Dtuning.qbk154 [spinlock with test-test-and-swap on shared variable, adaptive retries
161 futex after certain number of retries]
167 waiting adaptive retries, suspend on futex certain amount of retries]
178 [spinlock with test-test-and-swap on shared variable, adaptive retries
185 futex after certain number of retries and speculative execution
192 waiting adaptive retries, suspend on futex certain amount of retries
204 [max number of retries while busy spinning, the use fallback]
215 [max number of retries that relax the processor before the thread
221 [max number of retries where the thread sleeps for 0s before yield
/third_party/node/deps/npm/node_modules/lockfile/
Dlockfile.js143 if (typeof opts.retries === 'number' && opts.retries > 0) {
144 debug('has retries', opts.retries)
145 var retries = opts.retries
146 opts.retries = 0
149 retries -= 1
150 if (!er || retries < 0) return orig(er, fd)
312 if (typeof opts.retries === 'number' && opts.retries > 0) {
313 var newRT = opts.retries - 1
315 opts.retries = newRT
DCHANGELOG.md35 * manage 'retries' so it does not clash with 'wait' polling
38 * failing test for the time taken for retries + wait options
101 * Add retries
/third_party/libwebsockets/READMEs/
DREADME.udp.md10 ## Implementing UDP retries
12 Retries are important in udp but there's no standardized ack method
16 retries must live in the user's transaction object like this
33 /* we have reached the end of our concealed retries */
34 lwsl_warn("%s: concealed retries done, failing\n", __func__);
/third_party/node/deps/npm/node_modules/promise-retry/test/
Dtest.js93 it('should not retry on rejection if nr of retries is 0', function () {
104 }, { retries : 0 }) property
113 it('should reject the promise if the retries were exceeded', function () {
124 }, { retries: 2, factor: 1 }) property
146 }, { retries: 1, factor: 1 }) property
168 }, { retries: 1, factor: 1 }) property
179 }, { retries: 1, factor: 1 }) property
188 }, { retries: 1, factor: 1 }); property
220 it('should work with several retries in the same chain', function () {
233 }, { retries: 1, factor: 1 }) property
/third_party/node/deps/npm/node_modules/lockfile/test/
Dretry-time.js18 var RETRIES = 2 variable
19 var EXPECTTIME = (RETRYWAIT * RETRIES) + (WAIT * (RETRIES + 1))
43 retries: RETRIES, property
/third_party/curl/docs/cmdline-opts/
Dretry.d9 makes curl do no retries (which is the default). Transient error means either:
14 for all forthcoming retries it will double the waiting time until it reaches
15 10 minutes which then will be the delay between the rest of the retries. By
17 --retry-max-time to limit the total time allowed for retries.
Dretry-delay.d3 Help: Wait time between retries
9 between retries). This option is only interesting if --retry is also
/third_party/node/deps/npm/node_modules/promise-retry/
DREADME.md15 Retries a function that returns a promise, leveraging the power of the [retry](https://github.com/t…
18 they were rather difficult to use or do not offer an easy way to do conditional retries.
34 - `retries`: The maximum amount of times to retry the operation. Default is `10`.
37 - `maxTimeout`: The maximum number of milliseconds between two retries. Default is `Infinity`.
42 If there's retries left, it will throw a special `retry` error that will be handled internally to c…
43 If there's no retries left, it will throw the actual error passed to it.
/third_party/node/deps/npm/node_modules/promise-retry/node_modules/retry/
DREADME.md48 retries: 5,
72 * `retries`: The maximum amount of times to retry the operation. Default is `10`.
75 * `maxTimeout`: The maximum number of milliseconds between two retries. Default is `Infinity`.
94 * `k = 0 ... 9`: The `retries` value (10)
109 …. If your retry operation was executed 4 times you had one attempt and 3 retries. If you then want…
125 retry.wrap(obj, {retries: 3})
127 retry.wrap(obj, {retries: 3}, ['method1', 'method2'])
178 Returns `false` when no `error` value is given, or the maximum amount of retries
181 Otherwise it returns `true`, and retries the operation after the timeout for
/third_party/boost/boost/fiber/detail/
Dspinlock_ttas_adaptive.hpp46 std::size_t retries = 0; in lock() local
64 if ( max_relax_retries > retries) { in lock()
65 ++retries; in lock()
72 } else if ( max_sleep_retries > retries) { in lock()
73 ++retries; in lock()
106 … retries_.store( prev_retries + (retries - prev_retries) / 8, std::memory_order_relaxed); in lock()
Dspinlock_ttas_adaptive_futex.hpp43 std::int32_t collisions = 0, retries = 0, expected = 0; in lock() local
50 while ( retries++ < BOOST_FIBERS_RETRY_THRESHOLD) { in lock()
63 if ( max_relax_retries > retries) { in lock()
70 } else if ( max_sleep_retries > retries) { in lock()
104 … retries_.store( prev_retries + (retries - prev_retries) / 8, std::memory_order_relaxed); in lock()
118 retries_.store( prev_retries + (retries - prev_retries) / 8, std::memory_order_relaxed); in lock()
Dspinlock_ttas.hpp50 std::size_t retries = 0; in lock() local
58 if ( BOOST_FIBERS_SPIN_BEFORE_SLEEP0 > retries) { in lock()
59 ++retries; in lock()
66 } else if ( BOOST_FIBERS_SPIN_BEFORE_YIELD > retries) { in lock()
Dspinlock_ttas_futex.hpp42 std::int32_t collisions = 0, retries = 0, expected = 0; in lock() local
44 while ( retries++ < BOOST_FIBERS_RETRY_THRESHOLD) { in lock()
57 if ( BOOST_FIBERS_SPIN_BEFORE_SLEEP0 > retries) { in lock()
64 } else if ( BOOST_FIBERS_SPIN_BEFORE_YIELD > retries) { in lock()
/third_party/node/deps/npm/node_modules/retry/
DReadme.md53 retries: 5,
78 * `retries`: The maximum amount of times to retry the operation. Default is `10`. Seting this to `1…
81 * `maxTimeout`: The maximum number of milliseconds between two retries. Default is `Infinity`.
100 * `k = 0 ... 9`: The `retries` value (10)
115 …. If your retry operation was executed 4 times you had one attempt and 3 retries. If you then want…
131 retry.wrap(obj, {retries: 3})
133 retry.wrap(obj, {retries: 3}, ['method1', 'method2'])
186 Returns `false` when no `error` value is given, or the maximum amount of retries
189 Otherwise it returns `true`, and retries the operation after the timeout for
/third_party/grpc/test/core/client_channel/
Dretry_throttle_test.cc41 // Failure: token_count=2. At threshold, so no retries. in TEST()
43 // Failure: token_count=1. Below threshold, so no retries. in TEST()
45 // Failure: token_count=0. Below threshold, so no retries. in TEST()
47 // Failure: token_count=0. Below threshold, so no retries. Not in TEST()
56 // Failure: token_count=1.2. Below threshold, so no retries. in TEST()
60 // Failure: token_count=1.8. Below threshold, so no retries. in TEST()
/third_party/ltp/include/
Dtst_crypto.h26 * safe to retry them. The retries field allows you to set the number of
39 uint32_t retries; member
50 .retries = 1000 \
101 * operation tst_crypto_session::retries times before giving up and returning
/third_party/grpc/test/core/handshake/
Dverify_peer_options.cc86 // sleeping between polls. The total time spent (deadline * retries) in server_thread()
89 int retries = 60; in server_thread() local
90 while (!gpr_event_get(&client_handshake_complete) && retries-- > 0) { in server_thread()
173 // completed. The total time spent on the client side (retries * deadline) in verify_peer_options_test()
175 int retries = 10; in verify_peer_options_test() local
179 while (state != GRPC_CHANNEL_READY && retries-- > 0) { in verify_peer_options_test()
189 if (retries < 0) { in verify_peer_options_test()
/third_party/node/deps/npm/node_modules/got/
Dindex.js66 const backoff = opts.retries(++retryCount, err);
213 retries: 5 property
274 if (typeof opts.retries !== 'function') {
275 const retries = opts.retries;
277 opts.retries = (iter, err) => { function
278 if (iter > retries || !isRetryAllowed(err)) {
/third_party/ltp/testcases/lib/
Dtest.sh166 # Function returns 0 if succeed in RETRIES times or the last retcode the cmd
171 local RETRIES=${2:-"3"}
172 local i=$RETRIES
185 tst_resm TINFO "Failed to execute '$cmd' after $RETRIES retries"
366 tst_resm TWARN "Failed to umount($device) after 50 retries"
/third_party/grpc/test/core/util/
Dport_server_client.cc124 int retries = 0; member
151 if (pr->retries >= 5) { in got_port_from_server()
160 GPR_ASSERT(pr->retries < 10); in got_port_from_server()
165 1000.0 * (1 + pow(1.3, pr->retries) * rand() / RAND_MAX)), in got_port_from_server()
167 pr->retries++; in got_port_from_server()
/third_party/flutter/skia/infra/bots/recipes/test.expected/
DTest-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-Lottie.json81RETRIES):\n try:\n with contextlib.closing(\n urllib2.urlopen(HASHES_URL, timeout=TIMEO…
101 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
106 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
117 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@",
/third_party/musl/src/temp/
Dmkdtemp.c9 int retries = 100; in mkdtemp() local
19 } while (--retries && errno == EEXIST); in mkdtemp()

12345678910>>...18