Home
last modified time | relevance | path

Searched +full:- +full:- +full:retry (Results 1 – 25 of 1489) sorted by relevance

12345678910>>...60

/external/google-cloud-java/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/
DHttpRetryPolicyOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
55 …* Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in th…
67 …* Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in th…
79 …* Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in th…
90retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint resp…
102retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint resp…
114retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint resp…
127retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint resp…
DHttpRetryPolicy.java8 * https://www.apache.org/licenses/LICENSE-2.0
25 * The retry policy associates with HttpRouteRule
110 …* Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in th…
125 …* Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in th…
142 …* Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in th…
162retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint resp…
176retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint resp…
190retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint resp…
205retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint resp…
217 private byte memoizedIsInitialized = -1;
[all …]
/external/python/python-api-core/google/api_core/future/
Dpolling.py7 # http://www.apache.org/licenses/LICENSE-2.0
21 from google.api_core import retry as retries
27 """Private exception used for polling via retry."""
32 # DEPRECATED as it conflates RPC retry and polling concepts into one.
43 # Retry object using its default values as a baseline for any custom retry logic
45 DEFAULT_RETRY = retries.Retry(predicate=RETRY_PREDICATE)
48 # Any RPC-specific errors (like ServiceUnavailable) will be handled
49 # by retry logic (not to be confused with polling logic) which is triggered for
56 DEFAULT_POLLING = retries.Retry(
80 polling (google.api_core.retry.Retry): The configuration used for polling.
[all …]
/external/mesa3d/.gitlab-ci/container/
Dbaremetal_build.sh3 set -e
4 set -o xtrace
6 # Fetch the arm-built rootfs image and unpack it in our x86_64 container (saves
10 if curl -X HEAD -s "${ARTIFACTS_PREFIX}/${FDO_UPSTREAM_REPO}/${ARTIFACTS_SUFFIX}/${arch}/done"; then
16 curl -L --retry 4 -f --retry-all-errors --retry-delay 60 \
17 "${ARTIFACTS_URL}"/lava-rootfs.tar.zst -o rootfs.tar.zst
18 mkdir -p /rootfs-"$arch"
19 tar -C /rootfs-"$arch" '--exclude=./dev/*' --zstd -xf rootfs.tar.zst
23 mkdir -p /baremetal-files
24 pushd /baremetal-files
[all …]
Ddownload-prebuilt-kernel.sh5 set -uex
7 mkdir -p kernel
11 KERNEL_IMAGE_NAME+=" cheza-kernel"
14 for image in ${KERNEL_IMAGE_NAME:-}; do
15 curl -L --retry 4 -f --retry-all-errors --retry-delay 60 \
16 -o "/lava-files/${image}" "${KERNEL_IMAGE_BASE}/${DEBIAN_ARCH}/${image}"
19 for dtb in ${DEVICE_TREES:-}; do
20 curl -L --retry 4 -f --retry-all-errors --retry-delay 60 \
21 -o "/lava-files/${dtb}" "${KERNEL_IMAGE_BASE}/${DEBIAN_ARCH}/${dtb}"
24 mkdir -p "/lava-files/rootfs-${DEBIAN_ARCH}"
[all …]
/external/python/python-api-core/google/api_core/retry/
Dretry_unary.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Helpers for retrying functions with exponential back-off.
17 The :class:`Retry` decorator can be used to retry functions that raise
19 used, the retry is limited by a `timeout`. The timeout determines the window
24 By default, this decorator will retry transient
27 .. code-block:: python
29 @retry.Retry()
33 # Will retry flaky_rpc() if it raises transient API errors.
36 You can pass a custom predicate to retry on different exceptions, such as
39 .. code-block:: python
[all …]
Dretry_unary_async.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Helpers for retrying coroutine functions with exponential back-off.
18 :class:`Retry`, but supports coroutine functions. Please refer to description
19 of :class:`Retry` for more details.
21 By default, this decorator will retry transient
24 .. code-block:: python
30 # Will retry flaky_rpc() if it raises transient API errors.
33 You can pass a custom predicate to retry on different exceptions, such as
36 .. code-block:: python
44 Some client library methods apply retry automatically. These methods can accept
[all …]
Dretry_streaming.py7 # http://www.apache.org/licenses/LICENSE-2.0
36 from google.api_core.retry.retry_base import _BaseRetry
37 from google.api_core.retry.retry_base import _retry_error_helper
38 from google.api_core.retry import exponential_sleep_generator
39 from google.api_core.retry import build_retry_error
40 from google.api_core.retry import RetryFailureReason
65 ) -> Generator[_Y, Any, None]:
68 This is the lowest-level retry helper. Generally, you'll use the
69 higher-level retry helper :class:`Retry`.
72 target: The generator function to call and retry.
[all …]
Dretry_base.py7 # http://www.apache.org/licenses/LICENSE-2.0
17 :class:`_BaseRetry` is the base class for :class:`Retry`,
48 _LOGGER = logging.getLogger("google.api_core.retry")
53 ) -> Callable[[Exception], bool]:
65 def if_exception_type_predicate(exception: Exception) -> bool:
72 # pylint: disable=invalid-name
87 - :class:`google.api_core.exceptions.InternalServerError` - HTTP 500, gRPC
89 - :class:`google.api_core.exceptions.TooManyRequests` - HTTP 429
90 - :class:`google.api_core.exceptions.ServiceUnavailable` - HTTP 503
91 - :class:`requests.exceptions.ConnectionError`
[all …]
Dretry_streaming_async.py7 # http://www.apache.org/licenses/LICENSE-2.0
38 from google.api_core.retry.retry_base import _BaseRetry
39 from google.api_core.retry.retry_base import _retry_error_helper
40 from google.api_core.retry import exponential_sleep_generator
41 from google.api_core.retry import build_retry_error
42 from google.api_core.retry import RetryFailureReason
68 ) -> AsyncGenerator[_Y, None]:
71 This is the lowest-level retry helper. Generally, you'll use the
72 higher-level retry helper :class:`AsyncRetry`.
75 target: The generator function to call and retry.
[all …]
/external/python/python-api-core/google/api_core/gapic_v1/
Dmethod.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Helpers for wrapping low-level gRPC methods with common functionality.
17 This is used by gapic clients to provide common error mapping, retry, timeout,
18 compression, pagination, and long-running operations to gRPC methods.
41 """Sentinel value indicating that a retry, timeout, or compression argument was unspecified,
64 """Callable that applies retry, timeout, and metadata logic.
67 target (Callable): The low-level RPC method.
68 retry (google.api_core.retry.Retry): The default retry for the
69 callable. If ``None``, this callable will not retry by default
73 this callable will not specify a timeout argument to the low-level
[all …]
Dconfig.py7 # http://www.apache.org/licenses/LICENSE-2.0
26 from google.api_core import retry
50 def _retry_from_retry_config(retry_params, retry_codes, retry_impl=retry.Retry):
51 """Creates a Retry object given a gapic retry configuration.
53 DEPRECATED: instantiate retry and timeout classes directly instead.
56 retry_params (dict): The retry parameter values, for example::
72 google.api_core.retry.Retry: The default retry object for the method.
78 retry.if_exception_type(*exception_classes),
87 """Creates a ExponentialTimeout object given a gapic retry configuration.
89 DEPRECATED: instantiate retry and timeout classes directly instead.
[all …]
/external/scapy/scapy/contrib/automotive/gm/
Dgmlanutils.py1 # SPDX-License-Identifier: GPL-2.0-only
34 "['treat-response-pending-as-answer']\" set to True). This "
35 "is required by the GMLAN-Utils module to operate "
38 conf.contribs['GMLAN']['treat-response-pending-as-answer'] = False
40 conf.contribs['GMLAN'] = {'treat-response-pending-as-answer': False}
45 # type: (Optional[Packet]) -> bool
56 # type: (SuperSocket, Packet, int) -> None
66 # type: () -> None
79 retry=0, # type: int argument
82 # type: (...) -> bool
[all …]
/external/python/python-api-core/google/api_core/operations_v1/
Doperations_client.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """A client for the google.longrunning.operations meta-API.
17 This is a client that deals with long-running operations that follow the
26 service. The protocol-level definition is available at
43 from google.api_core import retry as retries
50 """Client for interacting with long-running operations within a service.
64 default_retry = retries.Retry(
110 retry=gapic_v1.method.DEFAULT, argument
115 """Gets the latest state of a long-running operation.
128 retry (google.api_core.retry.Retry): The retry strategy to use
[all …]
Doperations_async_client.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """An async client for the google.longrunning.operations meta-API.
36 """Async client for interacting with long-running operations.
96 retry=gapic_v1.method_async.DEFAULT, argument
101 """Gets the latest state of a long-running operation.
114 retry (google.api_core.retry.Retry): The retry strategy to use
115 when invoking the RPC. If unspecified, the default retry from
117 method will not retry the RPC at all.
119 to complete. Note that if ``retry`` is used, this timeout
147 retry=retry,
[all …]
Dabstract_operations_client.py1 # -*- coding: utf-8 -*-
8 # http://www.apache.org/licenses/LICENSE-2.0
20 from google.api_core import retry as retries # type: ignore
34 OptionalRetry = Union[retries.Retry, object]
38 """Manages long-running operations with an API service.
46 long-running operations should implement the ``Operations``
57 ) -> None:
86 The client info used to send a user-agent string along with
146 retry: OptionalRetry = gapic_v1.method.DEFAULT,
150 ) -> pagers.ListOperationsPager:
[all …]
/external/python/python-api-core/google/api_core/
Doperation.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Futures for long-running operations returned from Google Cloud APIs.
18 long-running operation using :meth:`Operation.result`:
21 .. code-block:: python
28 .. code-block:: python
51 """A Future for interacting with a Google API Long-Running Operation.
64 polling (google.api_core.retry.Retry): The configuration used for polling.
68 retry (google.api_core.retry.Retry): DEPRECATED: use ``polling`` instead.
95 """google.longrunning.Operation: The current long-running operation."""
148 "Unexpected state: Long-running operation had neither "
[all …]
Doperation_async.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """AsyncIO futures for long-running operations returned from Google Cloud APIs.
17 These futures can be used to await for the result of a long-running operation
21 .. code-block:: python
28 .. code-block:: python
50 """A Future for interacting with a Google API Long-Running Operation.
63 retry (google.api_core.retry.Retry): The retry configuration used
65 is polled. Regardless of the retry's ``deadline``, it will be
76 retry=async_future.DEFAULT_RETRY, argument
78 super().__init__(retry=retry)
[all …]
/external/curl/docs/cmdline-opts/
Dretry-connrefused.md1 ---
3 SPDX-License-Identifier: curl
4 Long: retry-connrefused
5 Help: Retry on connection refused (with --retry)
9 See-also:
10 - retry
11 - retry-all-errors
13 - --retry-connrefused --retry 7 $URL
14 ---
16 # `--retry-connrefused`
[all …]
Dretry-all-errors.md1 ---
3 SPDX-License-Identifier: curl
4 Long: retry-all-errors
5 Help: Retry all errors (with --retry)
9 See-also:
10 - retry
12 - --retry 5 --retry-all-errors $URL
13 ---
15 # `--retry-all-errors`
17 Retry on any error. This option is used together with --retry.
[all …]
Dretry.md1 ---
3 SPDX-License-Identifier: curl
4 Long: retry
7 Help: Retry request if transient problems occur
10 See-also:
11 - retry-max-time
13 - --retry 7 $URL
14 ---
16 # `--retry`
24 When curl is about to retry a transfer, it first waits one second and then for
[all …]
/external/rust/android-crates-io/crates/tower/tests/retry/
Dmain.rs1 #![cfg(feature = "retry")]
7 use tower::retry::Policy;
20 assert_request_eq!(handle, "hello").send_error("retry me"); in retry_errors()
39 assert_request_eq!(handle, "hello").send_error("retry 1"); in retry_limit()
42 assert_request_eq!(handle, "hello").send_error("retry 2"); in retry_limit()
45 assert_request_eq!(handle, "hello").send_error("retry 3"); in retry_limit()
46 assert_eq!(assert_ready_err!(fut.poll()).to_string(), "retry 3"); in retry_limit()
58 assert_request_eq!(handle, "hello").send_error("retry 1"); in retry_error_inspection()
74 assert_request_eq!(handle, "hello").send_error("retry 1"); in retry_cannot_clone_request()
75 assert_eq!(assert_ready_err!(fut.poll()).to_string(), "retry 1"); in retry_cannot_clone_request()
[all …]
/external/autotest/utils/frozen_chromite/lib/
Dretry_util.py1 # -*- coding: utf-8 -*-
3 # Use of this source code is governed by a BSD-style license that can be
22 # Match stderr of curl's --fail option to see HTTP status code.
27 """Returns a retry handler for given exception(s).
40 """The strategy of the delay between each retry attempts.
61 """Sleep to delay the current retry."""
64 sleep_duration = self._sleep * self._backoff_factor ** (attempt - 1)
78 """Decorator to handle retry on exception.
91 checks whether the retry should be continued or not based on the given
93 - If |handler| is given, which should be a callback which takes an exception
[all …]
/external/mesa3d/.gitlab-ci/container/debian/
Dx86_64_test-android.sh6 # .gitlab-ci/image-tags.yml tags:
9 set -e
11 . .gitlab-ci/setup-test-env.sh
13 set -o xtrace
19 build-essential:native
22 config-package-dev
23 debhelper-compat
24 dpkg-dev
25 ninja-build
33 apt-get install -y --no-remove --no-install-recommends \
[all …]
/external/grpc-grpc/tools/distrib/python/xds_protos/envoy/config/retry/previous_hosts/v2/
Dprevious_hosts_pb2.py1 # -*- coding: utf-8 -*-
3 # source: envoy/config/retry/previous_hosts/v2/previous_hosts.proto
18retry/previous_hosts/v2/previous_hosts.proto\x12$envoy.config.retry.previous_hosts.v2\x1a\x1eudpa/…
22 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'envoy.config.retry.previous_hosts.v2.previous_…
25retry.previous_hosts.v2B\022PreviousHostsProtoP\001Z\\github.com/envoyproxy/go-control-plane/envoy…

12345678910>>...60