Home
last modified time | relevance | path

Searched refs:retry (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/third_party/node/deps/npm/node_modules/promise-retry/
DREADME.md1 # node-promise-retry
5 [npm-url]:https://npmjs.org/package/promise-retry
6 [downloads-image]:http://img.shields.io/npm/dm/promise-retry.svg
7 [npm-image]:http://img.shields.io/npm/v/promise-retry.svg
8 [travis-url]:https://travis-ci.org/IndigoUnited/node-promise-retry
9 [travis-image]:http://img.shields.io/travis/IndigoUnited/node-promise-retry/master.svg
10 [david-dm-url]:https://david-dm.org/IndigoUnited/node-promise-retry
11 [david-dm-image]:https://img.shields.io/david/IndigoUnited/node-promise-retry.svg
12 [david-dm-dev-url]:https://david-dm.org/IndigoUnited/node-promise-retry#info=devDependencies
13 [david-dm-dev-image]:https://img.shields.io/david/dev/IndigoUnited/node-promise-retry.svg
[all …]
/third_party/node/deps/npm/node_modules/promise-retry/test/
Dtest.js11 return promiseRetry(function (retry) { argument
17 retry(new Error('foo'));
34 return promiseRetry(function (retry, number) { argument
41 retry(new Error('foo'));
96 return promiseRetry(function (retry) { argument
103 .catch(retry);
116 return promiseRetry(function (retry) { argument
123 .catch(retry);
136 return promiseRetry(function (retry) { argument
141 retry(new Error('foo'));
[all …]
/third_party/node/deps/npm/node_modules/promise-retry/node_modules/retry/
DREADME.md1 # retry chapter
3 Abstraction for exponential and custom retry strategies for failed operations.
7 npm install retry
15 The example below will retry a potentially failing `dns.resolve` operation
21 var retry = require('retry');
24 var operation = retry.operation();
28 if (operation.retry(err)) {
47 var operation = retry.operation({
58 ### retry.operation([options])
60 Creates a new `RetryOperation` object. `options` is the same as `retry.timeouts()`'s `options`, wit…
[all …]
/third_party/node/deps/npm/node_modules/retry/test/integration/
Dtest-retry-operation.js4 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(error)) {
122 var operation = retry.operation({ retries: 3, forever: true });
[all …]
Dtest-timeouts.js3 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});
Dtest-retry-wrap.js4 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});
Dtest-forever.js3 var retry = require(common.dir.lib + '/retry'); variable
6 var operation = retry.operation({
20 if (operation.retry(err)) {
/third_party/node/deps/npm/node_modules/promise-retry/node_modules/retry/test/integration/
Dtest-retry-operation.js4 var retry = require(common.dir.lib + '/retry'); variable
7 var operation = retry.operation();
18 var operation = retry.operation();
30 var operation = retry.operation();
41 var operation = retry.operation();
58 var operation = retry.operation([1, 2, 3]);
68 if (operation.retry(error)) {
84 var operation = retry.operation({ retries: 3, forever: true });
94 if (attempts !== 6 && operation.retry(error)) {
111 var operation = retry.operation({
[all …]
Dtest-timeouts.js3 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});
Dtest-retry-wrap.js4 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);
71 retry.wrap(lib, {retries: 1});
/third_party/ffmpeg/libavutil/tests/
Drandom_seed.c33 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/node/deps/npm/node_modules/is-retry-allowed/
Dreadme.md1 # is-retry-allowed [![Build Status](https://travis-ci.org/floatdrop/is-retry-allowed.svg?branch=mas…
3 Is retry allowed for Error?
9 $ npm install --save is-retry-allowed
16 const isRetryAllowed = require('is-retry-allowed');
37 Object with `code` property, which will be used to determine retry.
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/base/
Dnet_test.dart17 testUsingContext('retry from 500', () async {
28 'Download failed -- attempting retry 1 in 1 second...\n'
29 'Download failed -- attempting retry 2 in 2 seconds...\n'
30 'Download failed -- attempting retry 3 in 4 seconds...\n'
31 'Download failed -- attempting retry 4 in 8 seconds...\n',
40 testUsingContext('retry from network error', () async {
51 'Download failed -- attempting retry 1 in 1 second...\n'
52 'Download failed -- attempting retry 2 in 2 seconds...\n'
53 'Download failed -- attempting retry 3 in 4 seconds...\n'
54 'Download failed -- attempting retry 4 in 8 seconds...\n',
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/dart/
Dpub_get_test.dart43 'pub get failed (69) -- attempting retry 1 in 1 second...\n',
50 'pub get failed (69) -- attempting retry 1 in 1 second...\n'
51 'pub get failed (69) -- attempting retry 2 in 2 seconds...\n',
56 'pub get failed (69) -- attempting retry 1 in 1 second...\n'
57 'pub get failed (69) -- attempting retry 2 in 2 seconds...\n',
62 'pub get failed (69) -- attempting retry 1 in 1 second...\n'
63 'pub get failed (69) -- attempting retry 2 in 2 seconds...\n'
64 'pub get failed (69) -- attempting retry 3 in 4 seconds...\n' // at t=1
65 'pub get failed (69) -- attempting retry 4 in 8 seconds...\n' // at t=5
66 'pub get failed (69) -- attempting retry 5 in 16 seconds...\n' // at t=13
[all …]
/third_party/curl/tests/libtest/
Dlib1594.c32 curl_off_t retry; in test() local
46 res = curl_easy_getinfo(curl, CURLINFO_RETRY_AFTER, &retry); in test()
53 retry += time(NULL); in test()
54 retry /= 10000; in test()
56 printf("Retry-After %" CURL_FORMAT_CURL_OFF_T "\n", retry); in test()
/third_party/curl/docs/cmdline-opts/
Dretry.d1 Long: retry
8 will retry this number of times before giving up. Setting the number to 0
13 When curl is about to retry a transfer, it will first wait one second and then
16 using --retry-delay you disable this exponential backoff algorithm. See also
17 --retry-max-time to limit the total time allowed for retries.
20 one was present to know when to issue the next retry.
Dretry-all-errors.d1 Long: retry-all-errors
2 Help: Retry all errors (use with --retry)
6 Retry on any error. This option is used together with --retry.
25 --retry is used then curl will retry on some HTTP response codes that indicate
27 as 404. If you want to retry on all response codes that indicate HTTP errors
Dretry-connrefused.d1 Long: retry-connrefused
2 Help: Retry on connection refused (use with --retry)
7 error too for --retry. This option is used together with --retry.
/third_party/toybox/toys/pending/
Dtftp.c219 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()
356 if (retry == TFTP_RETRIES) { in file_get()
388 int packetlen, sd, fd, retry = 0, ret, result = -1; in file_put() local
399 if (++retry > TFTP_RETRIES) { in file_put()
416 retry = 0; in file_put()
[all …]
/third_party/curl/tests/data/
Dtest12694 --retry-delay
20 too large --retry-delay value
23 --retry 3 --retry-delay 9223372036854776 http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER
Dtest19096 retry
36 HTTP GET --retry-all-errors to overcome partial transfer
39 --retry 1 --retry-all-errors -o log/outfile%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER
/third_party/openssl/doc/man3/
DBIO_should_retry.pod7 BIO_get_retry_BIO, BIO_get_retry_reason, BIO_set_retry_reason - BIO retry
36 has insufficient data to return. Check for readability and/or retry the
40 has pending data to write. Check for writability and/or retry the
46 BIO_retry_type() returns a mask of the cause of a retry condition
60 BIO_set_retry_reason() sets the retry reason for a special condition for a given
78 BIO types will not request a retry, because the underlying I/O
80 signal a retry then it need not call BIO_should_retry() after a failed
84 retry even if the underlying I/O structure is blocking, if a handshake
85 occurs during a call to BIO_read(). An application can retry the failed
89 While an application may retry a failed non blocking call immediately
[all …]
/third_party/alsa-utils/alsactl/
Dmonitor.c165 static int check_control_cdev(int infd, bool *retry) in check_control_cdev() argument
190 *retry = true; in check_control_cdev()
302 bool *retry) in run_dispatcher() argument
338 err = check_control_cdev(infd, retry); in run_dispatcher()
339 if (err < 0 || *retry) in run_dispatcher()
398 bool retry; in monitor() local
421 retry: in monitor()
422 retry = false; in monitor()
429 err = run_dispatcher(epfd, sigfd, infd, &srcs, &retry); in monitor()
432 if (retry) { in monitor()
[all …]
/third_party/glib/glib/
Dgbitlock.c213 retry: in g_bit_lock()
237 goto retry; in g_bit_lock()
242 retry: in g_bit_lock()
253 goto retry; in g_bit_lock()
407 retry:
432 goto retry;
438 retry:
449 goto retry;
/third_party/openssl/test/
Drdrand_sanitytest.c38 int retry; in sanity_check_bytes() local
39 for (retry = 0; retry < max_retries; retry++) { in sanity_check_bytes()

12345678910>>...23