/third_party/node/deps/npm/node_modules/promise-retry/test/ |
H A D | test.js | 7 describe('promise-retry', function () { 8 it('should call fn again if retry was called', function () { 11 return promiseRetry(function (retry) { 17 retry(new Error('foo')); 34 return promiseRetry(function (retry, number) { 41 retry(new Error('foo')); 55 it('should not retry on fulfillment if retry was not called', function () { 74 it('should not retry on rejection if retry wa [all...] |
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/ |
H A D | options.js | 16 if (!options.retry) { 17 options.retry = { retries: 0 } 18 } else if (typeof options.retry === 'string') { 19 const retries = parseInt(options.retry, 10) 21 options.retry = { retries } 23 options.retry = { retries: 0 } 25 } else if (typeof options.retry === 'number') { 26 options.retry = { retries: options.retry } 28 options.retry [all...] |
/third_party/node/deps/npm/node_modules/retry/test/integration/ |
H A D | test-retry-operation.js | 4 var retry = require(common.dir.lib + '/retry'); variable 8 var operation = retry.operation([1, 2, 3]); 21 if (operation.retry(error)) { 46 var operation = retry.operation(); 57 var operation = retry.operation(); 69 var operation = retry.operation(); 80 var operation = retry.operation(); 96 var operation = retry.operation([1, 2, 3]); 106 if (operation.retry(erro [all...] |
H A D | test-timeouts.js | 3 var retry = require(common.dir.lib + '/retry'); variable 6 var timeouts = retry.timeouts(); 16 var timeouts = retry.timeouts({ 29 var timeouts = retry.timeouts(timeoutsArray); 37 var timeouts = retry.timeouts({ 48 var timeouts = retry.timeouts(); 57 var timeouts = retry.timeouts({ 67 var timeouts = retry.timeouts({retries: 2});
|
H A D | test-retry-wrap.js | 4 var retry = require(common.dir.lib + '/retry'); variable 16 retry.wrap(lib); 24 retry.wrap(lib, {retries: 2}); 35 retry.wrap(lib, ['fn2', 'fn3']); 43 retry.wrap(lib, {retries: 2}, ['fn2', 'fn3']); 59 retry.wrap(lib); 80 retry.wrap(lib, {}, ['fn1', 'fn2']); 95 retry.wrap(lib, {retries: 1});
|
H A D | test-forever.js | 3 var retry = require(common.dir.lib + '/retry'); variable 6 var operation = retry.operation({ 20 if (operation.retry(err)) {
|
/third_party/ffmpeg/libavutil/tests/ |
H A D | random_seed.c | 33 int i, j, rsf, retry; in main() local 38 for (retry=0; retry<3; retry++){ in main() 43 goto retry; in main() 47 retry:; in main() 49 if (retry >= 3) { in main()
|
/third_party/curl/tests/libtest/ |
H A D | lib1594.c | 34 curl_off_t retry; in test() local 48 res = curl_easy_getinfo(curl, CURLINFO_RETRY_AFTER, &retry); in test() 55 retry += time(NULL); in test() 56 retry /= 10000; in test() 58 printf("Retry-After %" CURL_FORMAT_CURL_OFF_T "\n", retry); in test()
|
/third_party/alsa-utils/alsactl/ |
H A D | monitor.c | 165 static int check_control_cdev(int infd, bool *retry) in check_control_cdev() argument 190 *retry = true; in check_control_cdev() 303 bool *retry) in run_dispatcher() 339 err = check_control_cdev(infd, retry); in run_dispatcher() 340 if (err < 0 || *retry) in run_dispatcher() 399 bool retry; in monitor() local 422 retry: in monitor() 423 retry = false; in monitor() 430 err = run_dispatcher(epfd, sigfd, infd, &srcs, &retry); in monitor() 433 if (retry) { in monitor() 302 run_dispatcher(int epfd, int sigfd, int infd, struct list_head *srcs, bool *retry) run_dispatcher() argument [all...] |
/third_party/toybox/toys/pending/ |
H A D | tftp.c | 219 int packetlen, retry; in read_ack() local 221 for (retry = 0; retry < TFTP_RETRIES; retry++) { in read_ack() 272 int len, sd, fd, retry, nbytesrecvd = 0, ndatabytes, ret, result = -1; in file_get() local 290 for (retry = 0 ; retry < TFTP_RETRIES; retry++) { in file_get() 302 retry--; in file_get() 314 retry in file_get() 388 int packetlen, sd, fd, retry = 0, ret, result = -1; file_put() local [all...] |
/third_party/node/deps/npm/node_modules/sigstore/dist/ |
H A D | config.js | 72 retry: options.retry ?? exports.DEFAULT_RETRY, 96 retry: options.retry ?? exports.DEFAULT_RETRY, 103 retry: options.retry ?? exports.DEFAULT_RETRY,
|
/third_party/openssl/test/ |
H A D | rdrand_sanitytest.c | 34 int retry; in sanity_check_bytes() local 35 for (retry = 0; retry < max_retries; retry++) { in sanity_check_bytes() 89 * multiplied by the 8x retry loop in asm, and failure probabilities are in sanity_check_rdseed_bytes()
|
/third_party/node/deps/npm/node_modules/retry/example/ |
H A D | stop.js | 1 var retry = require('../lib/retry'); variable 11 var operation = retry.operation(opts); 21 if (operation.retry(err)) {
|
H A D | dns.js | 2 var retry = require('../lib/retry'); variable 12 var operation = retry.operation(opts); 16 if (operation.retry(err)) {
|
/third_party/node/deps/npm/node_modules/promise-retry/ |
H A D | index.js | 4 var retry = require('retry'); variable 23 operation = retry.operation(options); 41 if (operation.retry(err || new Error())) {
|
/third_party/ltp/tools/genload/ |
H A D | stress.c | 38 /* By default, retry on non-critical errors every 50ms. */ 136 } else if (strcmp(arg, "--no-retry") == 0) { in main() 140 } else if (strcmp(arg, "--retry-delay") == 0) { in main() 141 assert_arg("--retry-delay"); in main() 143 dbg(stdout, "setting retry delay to %dus\n", in main() 341 " --no-retry exit rather than retry non-critical errors\n" in usage() 342 " --retry-delay n wait n us before continuing past error\n" in usage() 473 int retry = global_retry; in hogcpu() local 496 usleep(retry); in hogcpu() 549 int retry = global_retry; hogio() local 625 int retry = global_retry; hogvm() local 748 int retry = global_retry; hoghdd() local [all...] |
H A D | genload.c | 38 /* By default, retry on non-critical errors every 50ms. */ 136 } else if (strcmp(arg, "--no-retry") == 0) { in main() 140 } else if (strcmp(arg, "--retry-delay") == 0) { in main() 141 assert_arg("--retry-delay"); in main() 143 dbg(stdout, "setting retry delay to %dus\n", in main() 341 " --no-retry exit rather than retry non-critical errors\n" in usage() 342 " --retry-delay n wait n us before continuing past error\n" in usage() 473 int retry = global_retry; in hogcpu() local 496 usleep(retry); in hogcpu() 549 int retry = global_retry; hogio() local 625 int retry = global_retry; hogvm() local 748 int retry = global_retry; hoghdd() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_mschapv2.c | 402 int retry = 1; in eap_mschapv2_failure_txt() local 423 retry = atoi(pos); in eap_mschapv2_failure_txt() 424 wpa_printf(MSG_DEBUG, "EAP-MSCHAPV2: retry is %sallowed", in eap_mschapv2_failure_txt() 425 retry == 1 ? "" : "not "); in eap_mschapv2_failure_txt() 473 if (data->prev_error == ERROR_AUTHENTICATION_FAILURE && retry && in eap_mschapv2_failure_txt() 477 "EAP-MSCHAPV2: mark password retry disabled based on local configuration"); in eap_mschapv2_failure_txt() 478 retry = 0; in eap_mschapv2_failure_txt() 481 "EAP-MSCHAPV2: failure message: '%s' (retry %sallowed, error " in eap_mschapv2_failure_txt() 483 msg, retry == 1 ? "" : "not ", data->prev_error); in eap_mschapv2_failure_txt() 492 } else if (retry in eap_mschapv2_failure_txt() 659 int retry = 0; eap_mschapv2_failure() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_mschapv2.c | 402 int retry = 1; in eap_mschapv2_failure_txt() local 423 retry = atoi(pos); in eap_mschapv2_failure_txt() 424 wpa_printf(MSG_DEBUG, "EAP-MSCHAPV2: retry is %sallowed", in eap_mschapv2_failure_txt() 425 retry == 1 ? "" : "not "); in eap_mschapv2_failure_txt() 473 if (data->prev_error == ERROR_AUTHENTICATION_FAILURE && retry && in eap_mschapv2_failure_txt() 477 "EAP-MSCHAPV2: mark password retry disabled based on local configuration"); in eap_mschapv2_failure_txt() 478 retry = 0; in eap_mschapv2_failure_txt() 481 "EAP-MSCHAPV2: failure message: '%s' (retry %sallowed, error " in eap_mschapv2_failure_txt() 483 msg, retry == 1 ? "" : "not ", data->prev_error); in eap_mschapv2_failure_txt() 492 } else if (retry in eap_mschapv2_failure_txt() 659 int retry = 0; eap_mschapv2_failure() local [all...] |
/third_party/skia/infra/bots/task_drivers/canary/ |
H A D | canary.go | 81 for retry := 0; ; retry++ { 83 if retry > 0 { 84 retryText = fmt.Sprintf(" (Retry #%d)", retry) 109 if retry >= (retryAttempts - 1) { 119 // retry loop.
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps_upnp_event.c | 52 unsigned int retry; /* which retry */ member 60 * Leaves data, retry count etc. alone. 128 e->retry++; in event_retry() 129 wpa_printf(MSG_DEBUG, "WPS UPnP: Try address %d", e->retry); in event_retry() 131 if (e->retry >= dl_list_len(&s->addr_list)) { in event_retry() 289 if (itry++ == e->retry) in event_send_start() 291 if (itry < e->retry) in event_send_start()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps_upnp_event.c | 52 unsigned int retry; /* which retry */ member 60 * Leaves data, retry count etc. alone. 128 e->retry++; in event_retry() 129 wpa_printf(MSG_DEBUG, "WPS UPnP: Try address %d", e->retry); in event_retry() 131 if (e->retry >= dl_list_len(&s->addr_list)) { in event_retry() 290 if (itry++ == e->retry) in event_send_start() 292 if (itry < e->retry) in event_send_start()
|
/third_party/ffmpeg/tools/ |
H A D | probetest.c | 96 unsigned int p, i, type, size, retry; in main() local 146 for (retry = 0; retry < retry_count; retry += FFMAX(size, 32)) { in main()
|
/third_party/libwebsockets/lib/core-net/ |
H A D | network.c | 338 /* otherwise ask caller to retry later */ in lws_socket_bind() 410 const lws_retry_bo_t *retry, uint16_t *ctry, in lws_retry_get_delay_ms() 413 uint64_t ms = 3000, pc = 30; /* sane-ish defaults if no retry table */ in lws_retry_get_delay_ms() 419 if (retry) { in lws_retry_get_delay_ms() 420 if (retry->retry_ms_table_count) { in lws_retry_get_delay_ms() 421 if (*ctry < retry->retry_ms_table_count) in lws_retry_get_delay_ms() 422 ms = retry->retry_ms_table[*ctry]; in lws_retry_get_delay_ms() 424 ms = retry->retry_ms_table[ in lws_retry_get_delay_ms() 425 retry->retry_ms_table_count - 1]; in lws_retry_get_delay_ms() 429 if (retry in lws_retry_get_delay_ms() 409 lws_retry_get_delay_ms(struct lws_context *context, const lws_retry_bo_t *retry, uint16_t *ctry, char *conceal) lws_retry_get_delay_ms() argument 448 lws_retry_sul_schedule(struct lws_context *context, int tid, lws_sorted_usec_list_t *sul, const lws_retry_bo_t *retry, sul_cb_t cb, uint16_t *ctry) lws_retry_sul_schedule() argument [all...] |
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-retry.h | 40 * \param retry: the retry backoff table we are using, or NULL for default 46 * next connection retry, according to the backoff table \p retry. *\p conceal is 51 * If \p retry is NULL, a default of 3s + (0..300ms jitter) is used. If it's 56 lws_retry_get_delay_ms(struct lws_context *context, const lws_retry_bo_t *retry, 64 * \param retry: the retry backoff table we are using, or NULL for default 68 * Helper that combines interpreting the retry table with scheduling a sul to 74 lws_sorted_usec_list_t *sul, const lws_retry_bo_t *retry, [all...] |