Home
last modified time | relevance | path

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

12345678910>>...42

/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-retry.hpp5 /*! \file rx-retry.hpp
7 \brief Retry this observable for the given number of times.
11 …he total number of tries (optional), i.e. retry(2) means one normal try, before an error occurs, a…
16 \snippet retry.cpp retry count sample
17 \snippet output.txt retry count sample
23 #include "../rx-includes.hpp"
24 #include "rx-retry-repeat-common.hpp"
42 // Contain retry variations in a namespace
43 namespace retry { namespace
47 state->update(); in on_error()
[all …]
/external/autotest/server/cros/dynamic_suite/
Dsuite.py2 # Use of this source code is governed by a BSD-style license that can be
43 print ' - Be run in the chroot.'
44 print ' - (not yet supported) be run after running '
47 _FILE_BUG_SUITES = ['au', 'bvt', 'bvt-cq', 'bvt-inline', 'paygen_au_beta',
55 """Maintain retry information.
57 @var _retry_map: A dictionary that stores retry history.
60 - state:
61 The retry state of a job.
65 We've made an attempt to schedule a retry job. The
68 in scheduling a retry is different from a retry job failure.
[all …]
/external/autotest/client/common_lib/cros/
Dretry_unittest.py4 # Use of this source code is governed by a BSD-style license that can be
7 """Unit tests for client/common_lib/cros/retry.py."""
18 from autotest_lib.client.common_lib.cros import retry
23 """Unit tests for retry decorators.
45 @retry.retry(Exception)
53 """Tests that a wrapped function can retry and succeed."""
56 @retry.retry(Exception, delay_sec=delay_sec)
69 @retry.retry(Exception, delay_sec=delay_sec)
76 """Tests that dynamic_suite exceptions raise immediately, no retry."""
77 @retry.retry(Exception)
[all …]
/external/skqp/infra/bots/recipe_modules/run/examples/full.expected/
Dtest.json12 "step returned non-zero exit code: 1",
26 "step returned non-zero exit code: 1",
55 "-u",
57 "--json-output",
69 "-u",
71 "--json-output",
83 "-u",
85 "--json-output",
96 "-u",
98 "--json-output",
[all …]
/external/skia/infra/bots/recipe_modules/run/examples/full.expected/
Dtest.json12 "step returned non-zero exit code: 1",
26 "step returned non-zero exit code: 1",
55 "-u",
57 "--json-output",
69 "-u",
71 "--json-output",
83 "-u",
85 "--json-output",
96 "-u",
98 "--json-output",
[all …]
/external/autotest/server/cros/
Dgoofy_client.py2 # Use of this source code is governed by a BSD-style license that can be
16 from autotest_lib.client.common_lib.cros import retry
40 retry.retry decorator hits it's timeout.
48 want to retry the call after recreating the proxy.
51 the retry decorator. Any of these exceptions will result
54 retry the method ignoring any exception in exception_tuple.
57 """Inner retry decorator applied to the method.
61 @return A wrapper function that implements the retry.
64 @retry.retry(exception_tuple, timeout_min=timeout_min)
70 socket.error, retry for timeout_min through retry.retry.
[all …]
Dsonic_client_utils.py2 # Use of this source code is governed by a BSD-style license that can be
26 from autotest_lib.client.common_lib.cros import retry
31 # Give all our rpcs about six seconds of retry time. If a longer timeout
32 # is desired one should retry from the caller, this timeout is only meant
33 # to avoid uncontrolled circumstances like network flake, not, say, retry
36 JSON_HEADERS = {'Content-Type': 'application/json'}
88 @retry.retry(RPC_EXCEPTIONS, timeout_min=BASE_REQUEST_TIMEOUT)
110 @retry.retry(RPC_EXCEPTIONS, timeout_min=BASE_REQUEST_TIMEOUT)
114 @raises: Any of the retry exceptions, if we hit the timeout.
123 @retry.retry(RPC_EXCEPTIONS, timeout_min=BASE_REQUEST_TIMEOUT)
[all …]
/external/volley/src/test/java/com/android/volley/toolbox/
DBasicNetworkTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
84 assertEquals("foobar", mockHttpStack.getLastHeaders().get("If-None-Match")); in headersAndPostParams()
87 mockHttpStack.getLastHeaders().get("If-Modified-Since")); in headersAndPostParams()
168 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in socketTimeout()
174 // should retry socket timeouts in socketTimeout()
175 verify(mMockRetryPolicy).retry(any(TimeoutError.class)); in socketTimeout()
185 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnection()
191 // should not retry when there is no connection in noConnection()
192 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class)); in noConnection()
203 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in unauthorized()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dctrloop-reg.ll1 ; RUN: llc -verify-machineinstrs < %s | FileCheck %s
2 ; ModuleID = 'bugpoint-reduced-simplified.bc'
3 target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v…
4 target triple = "powerpc64-unknown-linux-gnu"
50 br i1 undef, label %retry.us, label %retry
52 retry.us: ; preds = %if.end18, %retry, %retry, %retry, %ret…
55 retry: ; preds = %if.end18, %entry
59 i32 -3, label %retry.us
60 i32 -5, label %retry.us
61 i32 -16, label %retry.us
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dctrloop-reg.ll1 ; ModuleID = 'bugpoint-reduced-simplified.bc'
2 target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v…
3 target triple = "powerpc64-unknown-linux-gnu"
4 ; RUN: llc < %s -march=ppc64 | FileCheck %s
50 br i1 undef, label %retry.us, label %retry
52 retry.us: ; preds = %if.end18, %retry, %retry, %retry, %ret…
55 retry: ; preds = %if.end18, %entry
59 i32 -3, label %retry.us
60 i32 -5, label %retry.us
61 i32 -16, label %retry.us
[all …]
/external/skqp/infra/bots/recipe_modules/run/examples/
Dfull.py2 # Use of this source code is governed by a BSD-style license that can be
50 api.run.with_retry(api.step, 'retry fail', 5, cmd=['false'],
56 api.run.with_retry(api.step, 'retry success', 3, cmd=['false'],
65 buildername = 'Build-Win-Clang-x86_64-Release-Vulkan'
75 api.step_data('retry fail', retcode=1) +
76 api.step_data('retry fail (attempt 2)', retcode=1) +
77 api.step_data('retry fail (attempt 3)', retcode=1) +
78 api.step_data('retry fail (attempt 4)', retcode=1) +
79 api.step_data('retry fail (attempt 5)', retcode=1) +
80 api.step_data('retry success', retcode=1) +
[all …]
/external/skia/infra/bots/recipe_modules/run/examples/
Dfull.py2 # Use of this source code is governed by a BSD-style license that can be
50 api.run.with_retry(api.step, 'retry fail', 5, cmd=['false'],
56 api.run.with_retry(api.step, 'retry success', 3, cmd=['false'],
65 buildername = 'Build-Win-Clang-x86_64-Release-Vulkan'
75 api.step_data('retry fail', retcode=1) +
76 api.step_data('retry fail (attempt 2)', retcode=1) +
77 api.step_data('retry fail (attempt 3)', retcode=1) +
78 api.step_data('retry fail (attempt 4)', retcode=1) +
79 api.step_data('retry fail (attempt 5)', retcode=1) +
80 api.step_data('retry success', retcode=1) +
[all …]
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dsermsdos.py9 # Python, on DOS-based platforms such as Windows 95 and 98,
14 # PyDOS is a stripped-down version of Python 1.5.2 for
24 # -------------
34 # ------------------
79 retry: DOS retry mode
90 retry = RETURN_RETRY argument
115 self.retry = retry
119 self.bytesize, self.stop, self.retry, self.filename)
127 def _config(self, port, baud, parity, data, stop, retry, argument
131 , " DATA= ", data, " STOP= ", stop, " RETRY= ",
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/
Dretry.cpp2 #include "rxcpp/operators/rx-retry.hpp"
4 SCENARIO("retry, basic test", "[retry][operators]") {
5 GIVEN("hot observable of 3x4x7 ints with errors inbetween the groups. Infinite retry.") {
9 std::runtime_error ex("retry on_error from source");
31 WHEN("infinite retry is launched") {
36 | rxo::retry() in __anon691f1ea00102()
77 SCENARIO("retry 0, basic test", "[retry][operators]") {
78 GIVEN("hot observable of 3 ints. Infinite retry.") {
82 std::runtime_error ex("retry on_error from source");
90 WHEN("retry is invoked with 0 times as argument") {
[all …]
/external/llvm/test/CodeGen/AArch64/
Dcmpxchg-O0.ll1 ; RUN: llc -verify-machineinstrs -mtriple=aarch64-linux-gnu -O0 %s -o - | FileCheck %s
4 ; CHECK-LABEL: test_cmpxchg_8:
5 ; CHECK: [[RETRY:.LBB[0-9]+_[0-9]+]]:
6 ; CHECK: ldaxrb [[OLD:w[0-9]+]], [x0]
8 ; CHECK: b.ne [[DONE:.LBB[0-9]+_[0-9]+]]
9 ; CHECK: stlxrb [[STATUS:w[3-9]]], w2, [x0]
10 ; CHECK: cbnz [[STATUS]], [[RETRY]]
12 ; CHECK: subs {{w[0-9]+}}, [[OLD]], w1
13 ; CHECK: cset {{w[0-9]+}}, eq
19 ; CHECK-LABEL: test_cmpxchg_16:
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/
Dretry.cpp3 #include "rxcpp/rx-test.hpp"
6 SCENARIO("retry sample"){
7 printf("//! [retry sample]\n");
10 retry().
16 printf("//! [retry sample]\n");
19 SCENARIO("retry count sample"){
20 printf("//! [retry count sample]\n");
23 auto values = source.retry(3);
34 printf("//! [retry count sample]\n");
37 //SCENARIO("retry hot sample"){
[all …]
/external/autotest/site_utils/lxc/
Dlxc.py2 # Use of this source code is governed by a BSD-style license that can be
13 from autotest_lib.client.common_lib.cros import retry
26 This method parse the output of lxc-ls to get a list of container
27 information. The lxc-ls command output looks like:
29 --------------------------------------------------------------------------
30 base STOPPED - - NO - - - -
31 test_123 RUNNING 10.0.3.27 - NO 8359 6.28MB 6.28MB 0.0MB
39 cmd = 'sudo lxc-ls -P %s -f -F %s' % (os.path.realpath(container_path),
45 # Only LXC 1.x has the second line of '-' as a separator.
46 if line.startswith('------'):
[all …]
/external/curl/docs/cmdline-opts/
Dretry.d1 Long: retry
4 Help: Retry request if transient problems occur
5 ---
7 will retry this number of times before giving up. Setting the number to 0
11 When curl is about to retry a transfer, it will first wait one second and then
14 using --retry-delay you disable this exponential backoff algorithm. See also
15 --retry-max-time to limit the total time allowed for retries.
Dretry-connrefused.d1 Long: retry-connrefused
2 Help: Retry on connection refused (use with --retry)
4 ---
6 error too for --retry. This option is used together with --retry.
/external/llvm/test/Transforms/LoopDeletion/
D2011-06-21-phioperands.ll1 ; RUN: opt -loop-deletion -disable-output < %s
3 …alayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-
27 br i1 true, label %for.cond.i50.us-lcssa.us, label %if.end.i23.us
33 br i1 true, label %for.cond.i50.us-lcssa.us, label %for.inc.i38.us
35 for.cond.i50.us-lcssa.us: ; preds = %if.end.i23.us, %for.cond.i14.us
42 br i1 undef, label %for.cond.i50.us-lcssa, label %if.end.i23
45 br i1 undef, label %for.cond.i50.us-lcssa, label %for.inc.i38
50 for.cond.i50.us-lcssa: ; preds = %if.end.i23, %for.cond.i14
53 …50: ; preds = %for.cond.i50.us-lcssa, %for.cond.i50.us-lcssa.us
56 for.cond.loopexit.us-lcssa: ; preds = %if.end.i, %for.cond.i
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/LoopDeletion/
D2011-06-21-phioperands.ll1 ; RUN: opt %s -loop-deletion -disable-output
3 …alayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-
27 br i1 true, label %for.cond.i50.us-lcssa.us, label %if.end.i23.us
33 br i1 true, label %for.cond.i50.us-lcssa.us, label %for.inc.i38.us
35 for.cond.i50.us-lcssa.us: ; preds = %if.end.i23.us, %for.cond.i14.us
42 br i1 undef, label %for.cond.i50.us-lcssa, label %if.end.i23
45 br i1 undef, label %for.cond.i50.us-lcssa, label %for.inc.i38
50 for.cond.i50.us-lcssa: ; preds = %if.end.i23, %for.cond.i14
53 …50: ; preds = %for.cond.i50.us-lcssa, %for.cond.i50.us-lcssa.us
56 for.cond.loopexit.us-lcssa: ; preds = %if.end.i, %for.cond.i
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopDeletion/
D2011-06-21-phioperands.ll1 ; RUN: opt -loop-deletion -disable-output < %s
3 …alayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-
27 br i1 true, label %for.cond.i50.us-lcssa.us, label %if.end.i23.us
33 br i1 true, label %for.cond.i50.us-lcssa.us, label %for.inc.i38.us
35 for.cond.i50.us-lcssa.us: ; preds = %if.end.i23.us, %for.cond.i14.us
42 br i1 undef, label %for.cond.i50.us-lcssa, label %if.end.i23
45 br i1 undef, label %for.cond.i50.us-lcssa, label %for.inc.i38
50 for.cond.i50.us-lcssa: ; preds = %if.end.i23, %for.cond.i14
53 …50: ; preds = %for.cond.i50.us-lcssa, %for.cond.i50.us-lcssa.us
56 for.cond.loopexit.us-lcssa: ; preds = %if.end.i, %for.cond.i
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Dcmpxchg-O0.ll1 ; RUN: llc -verify-machineinstrs -mtriple=aarch64-linux-gnu -O0 -fast-isel=0 -global-isel=false %s
4 ; CHECK-LABEL: test_cmpxchg_8:
5 ; CHECK: [[RETRY:.LBB[0-9]+_[0-9]+]]:
6 ; CHECK: mov [[STATUS:w[3-9]+]], #0
7 ; CHECK: ldaxrb [[OLD:w[0-9]+]], [x0]
9 ; CHECK: b.ne [[DONE:.LBB[0-9]+_[0-9]+]]
11 ; CHECK: cbnz [[STATUS]], [[RETRY]]
13 ; CHECK: subs {{w[0-9]+}}, [[OLD]], w1
14 ; CHECK: cset {{w[0-9]+}}, eq
20 ; CHECK-LABEL: test_cmpxchg_16:
[all …]
/external/toybox/toys/pending/
Dtftp.c1 /* tftp.c - TFTP client.
18 -l FILE Local FILE
19 -r FILE Remote FILE
20 -g Get file
21 -p Put file
22 -b SIZE Transfer blocks of SIZE octets(8 <= SIZE <= 65464)
41 #define TFTP_DATASIZE (TFTP_PACKETSIZE-TFTP_DATAHEADERSIZE)
77 ((struct sockaddr_in6 *)server)->sin6_family = AF_INET6;
78 ((struct sockaddr_in6 *)server)->sin6_addr =
79 ((struct sockaddr_in6 *)&TT.inaddr)->sin6_addr;
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DConnectionSpecSelectorTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
51 boolean retry = connectionSpecSelector.connectionFailed( in nonRetryableIOException()
52 new IOException("Non-handshake exception")); in nonRetryableIOException()
53 assertFalse(retry); in nonRetryableIOException()
67 boolean retry = connectionSpecSelector.connectionFailed(trustIssueException); in nonRetryableSSLHandshakeException()
68 assertFalse(retry); in nonRetryableSSLHandshakeException()
79 boolean retry = connectionSpecSelector.connectionFailed(RETRYABLE_EXCEPTION); in retryableSSLHandshakeException()
80 assertTrue(retry); in retryableSSLHandshakeException()
101 boolean retry = connectionSpecSelector.connectionFailed(RETRYABLE_EXCEPTION); in someFallbacksSupported()
102 assertTrue(retry); in someFallbacksSupported()
[all …]

12345678910>>...42