Home
last modified time | relevance | path

Searched +full:- +full:- +full:timeout +full:- +full:first +full:- +full:retries (Results 1 – 25 of 110) sorted by relevance

12345

/third_party/node/deps/npm/node_modules/retry/
DReadme.md1 <!-- badges/ -->
2 …[Build Status](https://secure.travis-ci.org/tim-kos/node-retry.png?branch=master)](http://travis-c…
3 …[codecov](https://codecov.io/gh/tim-kos/node-retry/branch/master/graph/badge.svg)](https://codecov…
4 <!-- /badges -->
53 retries: 5,
78 * `retries`: The maximum amount of times to retry the operation. Default is `10`. Seting this to `1…
80 * `minTimeout`: The number of milliseconds before starting the first retry. Default is `1000`.
81 * `maxTimeout`: The maximum number of milliseconds between two retries. Default is `Infinity`.
96 ![screenshot](https://github.com/tim-kos/node-retry/raw/master/equation.gif)
100 * `k = 0 ... 9`: The `retries` value (10)
[all …]
/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`.
74 * `minTimeout`: The number of milliseconds before starting the first retry. Default is `1000`.
75 * `maxTimeout`: The maximum number of milliseconds between two retries. Default is `Infinity`.
90 ![screenshot](https://github.com/tim-kos/node-retry/raw/master/equation.gif)
94 * `k = 0 ... 9`: The `retries` value (10)
103 [article]: http://dthain.blogspot.com/2009/02/exponential-backoff-in-distributed.html
107 Returns a new `timeout` (integer in milliseconds) based on the given parameters.
109timeout should be calculated. If your retry operation was executed 4 times you had one attempt and…
113 …timeouts for reinserting an item, see [issue #13](https://github.com/tim-kos/node-retry/issues/13).
[all …]
/third_party/mesa3d/.gitlab-ci/b2c/
Dgenerate_b2c.py30 parser.add_argument('--ci-job-id')
31 parser.add_argument('--container-cmd')
32 parser.add_argument('--initramfs-url')
33 parser.add_argument('--job-success-regex')
34 parser.add_argument('--job-warn-regex')
35 parser.add_argument('--kernel-url')
36 parser.add_argument('--log-level', type=int)
37 parser.add_argument('--poweroff-delay', type=int)
38 parser.add_argument('--session-end-regex')
39 parser.add_argument('--session-reboot-regex')
[all …]
/third_party/ltp/testcases/lib/
Dtest.sh3 # Copyright (c) Linux Test Project, 2014-2017
17 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
87 if [ $# -ne 1 ]; then
96 if [ $ret -eq 127 ]; then
104 if [ "$(id -ru)" != 0 ]; then
111 if [ -n "${TST_CLEANUP:-}" -a -z "${TST_NO_CLEANUP:-}" ]; then
115 if [ -n "${LTP_IPC_PATH:-}" -a -f "${LTP_IPC_PATH:-}" ]; then
116 rm -f "$LTP_IPC_PATH"
120 if [ $((LTP_RET_VAL & 7)) -eq 0 -a $TST_PASS_COUNT -gt 0 ]; then
129 if [ -z "$TMPDIR" ]; then
[all …]
/third_party/mesa3d/.gitlab-ci/test/
Dgitlab-ci.yml7 - !reference [default, before_script]
9 - rm -rf install
10 - tar -xf artifacts/install.tar
11- echo -e "\e[0Ksection_start:$(date +%s):ldd_section[collapsed=true]\r\e[0KChecking ldd on driver…
12 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
13 - echo -e "\e[0Ksection_end:$(date +%s):ldd_section\r\e[0K"
18 - results/
20 .test-gl:
22 - .test
23 - .use-debian/x86_test-gl
[all …]
/third_party/mesa3d/.gitlab-ci/lava/
Dlava_job_submitter.py3 # Copyright (C) 2020 - 2022 Collabora Limited
8 # SPDX-License-Identifier: MIT
46 # Timeout in seconds to decide if the device from the dispatched LAVA job has
57 # How many retries should be made when a timeout happen.
60 # How many attempts should be made when a timeout happen during LAVA device boot.
78 "depthcharge-action": {
91 'timeout': { 'minutes': 10 },
98 'url': '{}/lava-rootfs.tgz'.format(args.rootfs_url_prefix),
114 "prompts": ["lava-shell:"],
121 'timeout': { 'minutes': args.job_timeout },
[all …]
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-testsfail/
Dminimal-secure-streams-testsfail.c2 * lws-minimal-secure-streams
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
14 * --amount xxx, the default without that is 12345 bytes.
31 * If the -proxy app is fulfilling our connection, then we don't need to have
36 * ./lws-minimal-secure-streams-proxy test app on the same machine.
44 "\"schema-version\":" "1,"
46 "\"via-socks5\":" "\"127.0.0.1:1080\","
238 * used to trigger timeout testing
423 * This is the sequence of test streams we are going to create, the ss timeout,
440 * We just get a 200 from httpbin.org as a sanity check first
[all …]
/third_party/ltp/testcases/kernel/uevents/
Duevent.h1 // SPDX-License-Identifier: GPL-2.0-or-later
25 * sequence of a null-terminated strings. First in the buffer is a summary of a
27 * key-value pairs.
64 * event attempt to check the key-value pairs stored in the values array. The
65 * event is considered to match if all key-value pairs in the values has been
80 if (memcmp(event, uevent->msg, strlen(uevent->msg))) in uevent_match()
90 for (i = 0; i < uevent->value_cnt; i++) { in uevent_match()
91 if (!strcmp(event, uevent->values[i])) { in uevent_match()
102 return val_matches == uevent->value_cnt; in uevent_match()
150 * Waits 5 seconds for a child to exit, kills the child after a timeout.
[all …]
/third_party/gstreamer/gstplugins_good/ext/soup/
Dgstsouphttpclientsink.c18 * Boston, MA 02110-1335, USA.
21 * SECTION:element-gstsouphttpclientsink
29 * gst-launch-1.0 -v videotestsrc num-buffers=300 ! theoraenc ! oggmux !
131 gobject_class->set_property = gst_soup_http_client_sink_set_property; in gst_soup_http_client_sink_class_init()
132 gobject_class->get_property = gst_soup_http_client_sink_get_property; in gst_soup_http_client_sink_class_init()
133 gobject_class->dispose = gst_soup_http_client_sink_dispose; in gst_soup_http_client_sink_class_init()
134 gobject_class->finalize = gst_soup_http_client_sink_finalize; in gst_soup_http_client_sink_class_init()
142 g_param_spec_string ("user-agent", "User-Agent", in gst_soup_http_client_sink_class_init()
143 "Value of the User-Agent HTTP request header field", in gst_soup_http_client_sink_class_init()
147 g_param_spec_boolean ("automatic-redirect", "automatic-redirect", in gst_soup_http_client_sink_class_init()
[all …]
Dgstsouphttpsrc.c2 * Copyright (C) 2007-2008 Wouter Cloetens <wouter@mind.be>
17 * SECTION:element-souphttpsrc
29 * In case the #GstSoupHTTPSrc:iradio-mode property is set and the location is
31 * server to request additional Icecast meta-information.
33 * #GstSoupHTTPSrc:iradio-mode property were not set. If it is, souphttpsrc will
34 * output data with a media type of application/x-icy, in which case you will
35 * need to use the #GstICYDemux element as follow-up element to extract the Icecast
40 * gst-launch-1.0 -v souphttpsrc location=https://some.server.org/index.html
45 * gst-launch-1.0 -v souphttpsrc user-agent="FooPlayer 0.99 beta"
46 * automatic-redirect=false proxy=http://proxy.intranet.local:8080
[all …]
/third_party/python/Doc/library/
Dsocket.rst1 :mod:`socket` --- Low-level networking interface
5 :synopsis: Low-level networking interface.
9 --------------
22 call and library interface for sockets to Python's object-oriented style: the
24 the various socket system calls. Parameter types are somewhat higher-level than
40 ---------------
49 - The address of an :const:`AF_UNIX` socket bound to a file system node
52 Linux's abstract namespace is returned as a :term:`bytes-like object` with
56 bytes-like object can be used for either type of address when
60 Previously, :const:`AF_UNIX` socket paths were assumed to use UTF-8
[all …]
/third_party/node/deps/npm/node_modules/rimraf/
Drimraf.js21 var timeout = 0 variable
82 if (--n === 0)
107 // this one won't happen if graceful-fs is used.
108 if (er.code === "EMFILE" && timeout < options.emfileWait) {
111 }, timeout ++)
118 timeout = 0
229 // try to rmdir first, and only readdir on ENOTEMPTY or EEXIST (SunOS)
260 if (--n === 0)
359 var retries = isWindows ? 100 : 1
368 if (++i < retries && threw)
/third_party/libwebsockets/include/libwebsockets/
Dlws-sequencer.h2 * libwebsockets - small server side websockets and web server implementation
4 * Copyright (C) 2010 - 2019 Andy Green <andy@warmcat.com>
26 * - outlive a single connection lifetime,
27 * - are not associated with a particular protocol,
28 * - are not associated with a particular vhost,
29 * - must receive and issue events inside the event loop
31 * lws_sequencer-s are bound to a pt (per-thread) which for the default case of
38 * The first .conceal_count retries are concealed, but after that the failures
45 LWSSEQ_TIMED_OUT, /* sequencer timeout */
76 * Event indexes consist of some generic ones but mainly user-defined ones
[all …]
Dlws-secure-streams.h2 * libwebsockets - small server side websockets and web server implementation
4 * Copyright (C) 2019 - 2020 Andy Green <andy@warmcat.com>
27 * Secure Streams is a *payload-only* client communication channel where all the
41 * lws_thread( [user code] ---- lws )
46 * user_process{ [user code] | shim | socket-}------ lws_process{ lws }
53 * -------------------------
57 * the serialization format always contains a 1-byte type and then a 2-byte
62 * - Proxied connection setup
64 * - 0: LWSSS_SER_TXPRE_STREAMTYPE
65 * - 1: 2-byte MSB-first rest-of-frame length
[all …]
/third_party/node/deps/npm/node_modules/worker-farm/
DREADME.md1 …[![Build Status](https://secure.travis-ci.org/rvagg/node-worker-farm.svg)](http://travis-ci.org/rv…
3-farm.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/worker-farm/) [![NPM]…
6 …ld processes with an über-simple API and baked-in durability & custom concurrency options. *Availa…
21 var workerFarm = require('worker-farm')
49 This example is contained in the *[examples/basic](https://github.com/rvagg/node-worker-farm/tree/m…
53-worker-farm/tree/master/examples/pi/)* that estimates the value of **π** by using a Monte Carlo *…
58 Doing it the slow (single-process) way...
61 Doing it the fast (multi-process) way...
68 … dies for any reason during the execution of call(s), those calls will be re-queued and taken care…
70 ## My use-case
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtpjitterbuffer.c3 * Copyright (C) 2009 Nokia Corporation and its subsidiary(-ies)
8 * Copyright (C) 2013-2016 Pexip AS
25 * Boston, MA 02110-1301, USA.
42 "application/x-rtp, " \
45 "clock-rate = (int) 8000, " \
46 "encoding-name = (string)PCMU"
53 GST_STATIC_CAPS ("application/x-rtp")
58 GST_STATIC_CAPS ("application/x-rtp, "
59 "clock-rate = (int) [ 1, 2147483647 ]")
77 * gst-launch audiotestsrc wave=silence blocksize=40 num-buffers=3 ! in setup_jitterbuffer()
[all …]
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Dgstrtpjitterbuffer.c27 * Boston, MA 02110-1301, USA.
32 * SECTION:element-rtpjitterbuffer
38 * The element needs the clock-rate of the RTP payload in order to estimate the
40 * when no caps are present, from the #GstRtpJitterBuffer::request-pt-map signal.
41 * To clear the previous pt-map use the #GstRtpJitterBuffer::clear-pt-map signal.
45 * late are considered to be lost packets. If the #GstRtpJitterBuffer:do-lost
56 * upstream by setting the #GstRtpJitterBuffer:do-retransmission property. In
62 * - If seqnum N arrived at time T, seqnum N+1 is expected to arrive at
63 * T + packet-spacing + #GstRtpJitterBuffer:rtx-delay. The packet spacing is
67 * - If seqnum N0 arrived at time T0 and seqnum Nm arrived at time Tm,
[all …]
/third_party/toybox/toys/pending/
Ddhcp.c1 /* dhcp.c - DHCP client for dynamic network configuration.
13 usage: dhcp [-fbnqvoCRB] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]
14 [-H HOSTNAME] [-V VENDOR] [-x OPT:VAL] [-O OPT]
18 -i Interface to use (default eth0)
19 -p Create pidfile
20 -s Run PROG at DHCP events (default /usr/share/dhcp/default.script)
21 -B Request broadcast replies
22 -t Send up to N discover packets
23 -T Pause between packets (default 3 seconds)
24 -A Wait N seconds after failure (default 20)
[all …]
/third_party/cups-filters/utils/
Dcups-browsed.conf.52 .TH cups-browsed.conf 5 "29 June 2013" "" ""
4 \fBcups-browsed.conf \fP- server configuration file for cups-browsed
7 The cups-browsed.conf file configures the cups-browsed daemon. It is normally
12 The "CacheDir" directive determines where cups-browsed should save
23 With "LogDir" can be defined where cups-browsed creates its debug log file
33 Into the file /var/log/cups/cups-browsed_log ("file"), to stderr ("stderr"), or
36 Note that if cups-browsed is running as a system service (for example
38 journal or syslog. Only if you run cups-browsed from the command line
50 Only browse remote printers (via DNS-SD or CUPS browsing) from
56 print dialogs to a more user-friendly amount in large networks with
[all …]
/third_party/libwebsockets/lib/core-net/client/
Dconnect4.c2 * libwebsockets - small server side websockets and web server implementation
4 * Copyright (C) 2010 - 2021 Andy Green <andy@warmcat.com>
25 #include "private-lib-core.h"
32 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_client_connect_4_established()
57 if (wsi->a.vhost->http.http_proxy_port) { in lws_client_connect_4_established()
67 plen = lws_snprintf((char *)pt->serv_buf, 256, in lws_client_connect_4_established()
70 "User-agent: lws\x0d\x0a", cpa, wsi->ocport, in lws_client_connect_4_established()
71 cpa, wsi->ocport); in lws_client_connect_4_established()
74 if (wsi->a.vhost->proxy_basic_auth_token[0]) in lws_client_connect_4_established()
75 plen += lws_snprintf((char *)pt->serv_buf + plen, 256, in lws_client_connect_4_established()
[all …]
/third_party/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client-multi/
Dminimal-mqtt-client-multi.c2 * lws-minimal-mqtt-client
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
37 STATE_WAIT_ACK1, /* Wait for the real ack (or timeout + retry) */
61 .message = "sign-off",
108 int retries; member
126 i.protocol = "test-mqtt"; in connect_client()
129 i.pwsi = &item->wsi; in connect_client()
158 lwsl_notice("%s: item %d\n", __func__, (int)(item - &items[0])); in start_conn()
160 if (connect_client(item->context, item)) in start_conn()
169 struct lws_context *context = mgr->parent; in system_notify_cb()
[all …]
/third_party/lwip/src/core/
Ddns.c3 * DNS - host name to IP address resolver.
15 * The lwIP version of the resolver also adds a non-blocking version of
17 * checks for an IP address string first and converts it if it is valid.
23 * Once a hostname has been resolved (or found to be non-existent),
28 * However, only "One-Shot Multicast DNS Queries" are supported (RFC 6762
36 * @see @ref netconn_common for thread-safe access.
45 * uIP version Copyright (c) 2002-2003, Adam Dunkels.
73 /*-----------------------------------------------------------------------------
74 * RFC 1035 - Domain names - implementation and specification
75 * RFC 2181 - Clarifications to the DNS Specification
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DProgram.inc1 //===- llvm/Support/Unix/Program.cpp -----------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
16 //===----------------------------------------------------------------------===//
87 // Check to see if this first directory contains the executable...
100 if (Path->empty())
108 if (InFD == -1) {
115 if (dup2(InFD, FD) == -1) {
[all …]
/third_party/FreeBSD/sys/dev/usb/
Dusb_request.c2 /*-
3 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
7 * Copyright (c) 2008-2020 Hans Petter Selasky. All rights reserved.
38 #define PORTNO_TO_NBIT(portno, i) (1U << (portno - (i << 5)))
95 .bus_index = -1,
96 .dev_index = -1,
97 .bmRequestType_value = -1,
98 .bRequest_value = -1,
101 /*------------------------------------------------------------------------*
105 *------------------------------------------------------------------------*/
[all …]
/third_party/gstreamer/gstplugins_bad/ext/curl/
Dgstcurlhttpsrc.c3 * Copyright 2017 British Broadcasting Corporation - Research and Development
42 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
43 * Boston, MA 02111-1307, USA.
47 * SECTION:element-curlhttpsrc
65 * gst-launch-1.0 curlhttpsrc location=http://127.0.1.1/index.html ! fakesink dump=1
69 * gst-launch-1.0 playbin uri=http://rdmedia.bbc.co.uk/dash/testmpds/multiperiod/bbb.php
72 * gst-plugins-bad.
119 #include <gst/gst-i18n-plugin.h>
133 ("%s (%d), URL: %s, Redirect to: %s", (src)->reason_phrase, \
134 (src)->status_code, (src)->uri, GST_STR_NULL ((src)->redirect_uri)), \
[all …]

12345