Home
last modified time | relevance | path

Searched refs:retries (Results 1 - 25 of 62) sorted by relevance

123

/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/
H A Doptions.js17 options.retry = { retries: 0 }
19 const retries = parseInt(options.retry, 10)
20 if (isFinite(retries)) {
21 options.retry = { retries }
23 options.retry = { retries: 0 }
26 options.retry = { retries: options.retry }
28 options.retry = { retries: 0, ...options.retry }
/third_party/node/deps/npm/node_modules/retry/test/integration/
H A Dtest-retry-wrap.js24 retry.wrap(lib, {retries: 2});
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']);
47 assert.equal(lib.fn2.options.retries, 2);
48 assert.equal(lib.fn3.options.retries, 2);
95 retry.wrap(lib, {retries: 1});
H A Dtest-timeouts.js58 retries: 3,
67 var timeouts = retry.timeouts({retries: 2});
/third_party/node/deps/npm/node_modules/promise-retry/test/
H A Dtest.js93 it('should not retry on rejection if nr of retries is 0', function () {
104 }, { retries : 0 })
113 it('should reject the promise if the retries were exceeded', function () {
124 }, { retries: 2, factor: 1 })
146 }, { retries: 1, factor: 1 })
168 }, { retries: 1, factor: 1 })
179 }, { retries: 1, factor: 1 })
188 }, { retries: 1, factor: 1 });
220 it('should work with several retries in the same chain', function () {
233 }, { retries
[all...]
/third_party/ltp/lib/
H A Dtst_fill_fs.c79 int retries = 3; in fill_flat_vec() local
109 while (retries) { in fill_flat_vec()
116 if (verbose && retries < 3) in fill_flat_vec()
119 retries = 3; in fill_flat_vec()
129 retries--; in fill_flat_vec()
/third_party/node/test/fixtures/test-runner/aborts/
H A Dwait-for-abort-helper.js3 let retries = 0;
6 retries++;
13 if(retries > 100) {
/third_party/node/lib/internal/fs/
H A Dstreams.js397 function writeAll(data, size, pos, cb, retries = 0) {
411 retries = bytesWritten ? 0 : retries + 1;
416 if (retries > 5) {
419 writeAll.call(this, buffer.slice(bytesWritten), size, pos, cb, retries);
426 function writevAll(chunks, size, pos, cb, retries = 0) {
440 retries = bytesWritten ? 0 : retries + 1;
445 if (retries > 5) {
448 writevAll.call(this, [Buffer.concat(buffers).slice(bytesWritten)], size, pos, cb, retries);
[all...]
H A Drimraf.js45 let retries = 0;
49 if (retryErrorCodes.has(err.code) && retries < options.maxRetries) {
50 retries++;
51 const delay = retries * options.retryDelay;
/third_party/toybox/toys/pending/
H A 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 in dhcp6_main()
[all...]
/third_party/ltp/testcases/kernel/input/
H A 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()
/third_party/rust/crates/regex/scripts/
H A Dscrape_crates_io.py131 retries = 0
132 while retries < max_retries:
133 retries += 1
138 retries, max_retries + 1, self.url))
/third_party/vulkan-loader/scripts/
H A Dupdate_deps.py372 def Clone(self, retries=10, retry_seconds=60):
375 for retry in range(retries):
382 print("Error cloning on iteration {}/{}: {}".format(retry + 1, retries, e))
383 if retry + 1 < retries:
392 # If we get here, we've exhausted our retries.
393 print("Failed to clone {} on all retries.".format(self.url))
396 def Fetch(self, retries=10, retry_seconds=60):
397 for retry in range(retries):
403 print("Error fetching on iteration {}/{}: {}".format(retry + 1, retries, e))
404 if retry + 1 < retries
[all...]
/third_party/ltp/include/
H A 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/musl/src/temp/
H A Dmkdtemp.c9 int retries = 100; in mkdtemp() local
19 } while (--retries && errno == EEXIST); in mkdtemp()
H A Dmkostemps.c17 int fd, retries = 100; in __mkostemps() local
22 } while (--retries && errno == EEXIST); in __mkostemps()
H A Dmktemp.c10 int retries = 100; in mktemp() local
25 } while (--retries); in mktemp()
/third_party/curl/lib/
H A Dtftp.c130 int retries; member
445 state->retries++; in tftp_send_first()
446 if(state->retries>state->retry_max) { in tftp_send_first()
595 state->retries = 0; in tftp_rx()
636 state->retries = 0; in tftp_rx()
655 state->retries++; in tftp_rx()
658 NEXT_BLOCKNUM(state->block), state->retries); in tftp_rx()
659 if(state->retries > state->retry_max) { in tftp_rx()
730 state->retries++; in tftp_tx()
732 if(state->retries>stat in tftp_tx()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
H A D4-1.c185 int retries = 6000; in main() local
188 while (!received_all && retries-- > 0) in main()
191 if (retries <= 0) { in main()
/third_party/ltp/testcases/kernel/uevents/
H A Duevent.h155 int retries = 5000; in wait_for_pid() local
160 } while (ret == 0 && retries--); in wait_for_pid()
/third_party/lwip/src/apps/tftp/
H A Dtftp_server.c89 u8_t retries; member
222 tftp_state.retries = 0; in recv()
380 if ((tftp_state.last_data != NULL) && (tftp_state.retries < TFTP_MAX_RETRIES)) { in tftp_tmr()
383 tftp_state.retries++; in tftp_tmr()
/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise09.c161 int status, pid, retries = 0; in child() local
207 tst_res(TINFO, "Memory hungry child %i started, try %i", pid, retries); in child()
210 } while (retries++ < 10 && count_freed(ptr) == 0); in child()
/third_party/node/deps/npm/node_modules/retry/lib/
H A Dretry.js18 retries: 10,
33 for (var i = 0; i < opts.retries; i++) {
/third_party/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_msg.c371 int retries = 0; in vmw_send_msg() local
374 while (retries < RETRIES) { in vmw_send_msg()
375 retries++; in vmw_send_msg()
/third_party/node/deps/v8/tools/testrunner/local/
H A Dandroid.py54 retries=5, enable_usb_resets=True, device_arg=device)[0]
160 retries=0,
/third_party/node/deps/openssl/openssl/crypto/rsa/
H A Drsa_gen.c80 int i = 0, quo = 0, rmd = 0, adj = 0, retries = 0; in rsa_multiprime_keygen() local
177 retries = 0; in rsa_multiprime_keygen()
292 } else if (retries == 4) { in rsa_multiprime_keygen()
302 retries++; in rsa_multiprime_keygen()

Completed in 13 milliseconds

123