Home
last modified time | relevance | path

Searched refs:retries (Results 1 – 25 of 180) sorted by relevance

12345678

/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/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()
Dspinlock_rtm.hpp39 for ( std::size_t retries = 0; retries < BOOST_FIBERS_RETRY_THRESHOLD; ++retries) { in lock() local
/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
/third_party/node/deps/npm/node_modules/promise-retry/test/
Dtest.js104 }, { retries : 0 }) property
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
233 }, { retries: 1, factor: 1 }) 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.
/third_party/libwebsockets/READMEs/
DREADME.udp.md10 ## Implementing UDP retries
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/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/musl/src/temp/
Dmkdtemp.c9 int retries = 100; in mkdtemp() local
19 } while (--retries && errno == EEXIST); in mkdtemp()
Dmktemp.c10 int retries = 100; in mktemp() local
25 } while (--retries); in mktemp()
Dmkostemps.c17 int fd, retries = 100; in __mkostemps() local
22 } while (--retries && errno == EEXIST); in __mkostemps()
/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/include/
Dtst_crypto.h39 uint32_t retries; member
50 .retries = 1000 \
/third_party/uboot/u-boot-2020.01/drivers/net/phy/
Dmeson-gxl.c33 unsigned int retries = 10; in meson_gxl_startup() local
78 if (!retries) { in meson_gxl_startup()
91 --retries; in meson_gxl_startup()
/third_party/grpc/test/core/handshake/
Dverify_peer_options.cc89 int retries = 60; in server_thread() local
90 while (!gpr_event_get(&client_handshake_complete) && retries-- > 0) { in server_thread()
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()
Dserver_ssl_common.cc139 int retries = 10; in server_thread() local
140 while (!gpr_event_get(&client_handshake_complete) && retries-- > 0) { in server_thread()
235 int retries = 10; in server_ssl_test() local
237 while (sock == -1 && retries-- > 0) { in server_ssl_test()
/third_party/uboot/u-boot-2020.01/drivers/ufs/
Dufs.c231 int retries = UFS_UIC_COMMAND_RETRIES; in ufshcd_dme_set_attr() local
245 } while (ret && peer && --retries); in ufshcd_dme_set_attr()
250 UFS_UIC_COMMAND_RETRIES - retries); in ufshcd_dme_set_attr()
269 int retries = UFS_UIC_COMMAND_RETRIES; in ufshcd_dme_get_attr() local
281 } while (ret && peer && --retries); in ufshcd_dme_get_attr()
286 UFS_UIC_COMMAND_RETRIES - retries); in ufshcd_dme_get_attr()
452 int retries = DME_LINKSTARTUP_RETRIES; in ufshcd_link_startup() local
475 } while (ret && retries--); in ufshcd_link_startup()
483 retries = DME_LINKSTARTUP_RETRIES; in ufshcd_link_startup()
1034 int retries; in ufshcd_query_flag_retry() local
[all …]
/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/toybox/toys/pending/
Ddhcp6.c49 int length, state, request_length, sock, sock1, status, retval, retries;
501 TT.retries = 0; in signal_handler()
511 TT.retries = 0; in signal_handler()
594 TT.retries++; in dhcp6_main()
595 if(TT.retries > TT.retry) set_timeout(TT.errortimeout); in dhcp6_main()
596 else if (TT.retries == TT.retry) { in dhcp6_main()
606 TT.retries++; in dhcp6_main()
607 if (TT.retries > TT.retry) set_timeout(TT.errortimeout); in dhcp6_main()
608 else if (TT.retries == TT.retry) { in dhcp6_main()
627 TT.retries = 0; in dhcp6_main()
[all …]
/third_party/node/deps/npm/node_modules/promise-retry/
DREADME.md18 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/ltp/testcases/kernel/input/
Dinput_helper.c75 int retries = 10; in open_device() local
77 while (retries--) { in open_device()
147 int retries = 10; in open_uinput() local
154 while (retries--) { in open_uinput()

12345678