/external/syzkaller/vendor/cloud.google.com/go/internal/ |
retry.go | 26 // Retry calls the supplied function f repeatedly according to the provided 28 // When f's first return value is true, Retry immediately returns with f's second 30 // When the provided context is done, Retry returns with an error that 32 func Retry(ctx context.Context, bo gax.Backoff, f func() (stop bool, err error)) error { 33 return retry(ctx, bo, f, gax.Sleep) 36 func retry(ctx context.Context, bo gax.Backoff, f func() (stop bool, err error), func
|
/external/testng/src/main/java/org/testng/ |
IRetryAnalyzer.java | 4 * Interface to implement to be able to have a chance to retry a failed test. 17 public boolean retry(ITestResult result); method in interface:IRetryAnalyzer
|
/external/testng/src/test/java/test/tmp/ |
RetryAnalyzer.java | 9 public boolean retry(ITestResult result) { method in class:RetryAnalyzer 10 System.out.println("retry()");
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scp/ |
css_sds.c | 62 int ret, retry = CSS_SCP_READY_10US_RETRIES; local 68 while (retry > 0) { 86 retry--;
|
/external/tensorflow/tensorflow/core/platform/posix/ |
subprocess.h | 106 static bool retry(int e) { function in class:tensorflow::SubProcess
|
/external/u-boot/arch/arm/mach-socfpga/ |
clock_manager.c | 19 u32 retry = 0; local 28 retry++; 30 retry = 0; 31 if (retry >= 10)
|
/external/u-boot/board/ge/common/ |
ge_common.c | 14 u8 retry = 3; local 24 for (i = 0; i < retry; i++) { 42 for (i = 0; i < retry; i++) {
|
/external/volley/src/main/java/com/android/volley/ |
RetryPolicy.java | 20 * Retry policy for a request. 22 * <p>A retry policy can control two parameters: 26 * of error passed to {@link #retry(VolleyError)}, although {@link #getCurrentRetryCount()} 27 * should always return the current retry count for logging purposes. 34 * <p>Note that currently, retries triggered by a retry policy are attempted immediately in sequence 45 /** Returns the current retry count (used for logging). */ 49 * Prepares for the next retry by applying a backoff to the timeout. 52 * @throws VolleyError In the event that the retry could not be performed (for example if we ran 55 void retry(VolleyError error) throws VolleyError; method in interface:RetryPolicy
|
DefaultRetryPolicy.java | 19 /** Default retry policy for requests. */ 24 /** The current retry count. */ 42 /** Constructs a new retry policy using the default timeouts. */ 48 * Constructs a new retry policy. 66 /** Returns the current retry count. */ 78 * Prepares for the next retry by applying a backoff to the timeout. 83 public void retry(VolleyError error) throws VolleyError { method in class:DefaultRetryPolicy
|
/external/autotest/client/common_lib/cros/ |
retry.py | 142 def retry(ExceptionToCheck, timeout_min=1.0, delay_sec=3, blacklist=None, function 144 """Retry calling the decorated function using a delay with jitter. 150 If the retry is done in a child thread, timeout may not be enforced as 151 signal only works in main thread. Therefore, the retry inside a child 155 http://www.saltycrane.com/blog/2009/11/trying-out-retry-decorator-python/ 168 @param callback: a function to call before each retry. 210 exception_message = ('retry exception (%s), timeout = %ds' %
|
/external/testng/src/main/java/org/testng/util/ |
RetryAnalyzerCount.java | 16 // Default retry once.
38 public boolean retry(ITestResult result) {
method in class:RetryAnalyzerCount
|
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/drivers/pmic/ |
pmic_wrap_init.c | 24 uint32_t retry; local 26 retry = (timeout_us + WAIT_IDLE_POLLING_DELAY_US) / 53 retry--; 54 } while (retry); 57 if (!retry) /* timeout */ 70 uint32_t retry; local 72 retry = (timeout_us + READ_POLLING_DELAY_US) / READ_POLLING_DELAY_US; 82 retry--; 83 } while (retry); 85 if (!retry) { /* timeout * [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/drivers/rtc/ |
rtc.c | 13 /* RTC busy status polling interval and retry count */ 34 uint64_t retry = RTC_WRTGR_POLLING_CNT; local 40 retry--; 41 } while (retry);
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/ |
rx-retry.hpp | 5 /*! \file rx-retry.hpp 7 \brief Retry this observable for the given number of times. 11 \param t the total number of tries (optional), i.e. retry(2) means one normal try, before an error occurs, and one retry. If not specified, infinitely retries the source observable. Specifying 0 returns immediately without subscribing 16 \snippet retry.cpp retry count sample 17 \snippet output.txt retry count sample 24 #include "rx-retry-repeat-common.hpp" 42 // Contain retry variations in a namespace 43 namespace retry { namespace in namespace:rxcpp::operators::detail [all...] |
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/ |
base.py | 132 @deprecated(None, 'Use the retry module or similar alternatives.') 133 def retry(initial_delay, function 144 factor: each subsequent retry, the delay is multiplied by this value. 150 and returns true if retry should be applied. 153 A function that wraps another function to automatically retry it. 174 factor: each subsequent retry, the delay is multiplied by this value. 180 and returns true if retry should be applied. 183 A function that wraps another function to automatically retry it. 202 """The actual wrapper function that applies the retry logic."""
|
/external/u-boot/board/gateworks/gw_ventana/ |
gsc.c | 25 int retry = 3; local 29 while (n++ < retry) { 33 debug("%s: 0x%02x 0x%02x retry%d: %d\n", __func__, chip, addr, 44 int retry = 3; local 48 while (n++ < retry) { 52 debug("%s: 0x%02x 0x%02x retry%d: %d\n", __func__, chip, addr,
|
/external/u-boot/drivers/power/regulator/ |
tps65090_regulator.c | 51 int retry; local 63 for (retry = 0; retry < MAX_CTRL_READ_TRIES; retry++) {
|
/external/u-boot/drivers/rtc/ |
max6900.c | 42 int retry = 1; local 57 retry = 0; 59 } while (retry);
|
/frameworks/base/cmds/bootanimation/ |
BootAnimationUtil.cpp | 62 int retry = 0; local 64 retry++; 65 if ((retry % LOG_PER_RETRIES) == 0) {
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13273/ |
poc.c | 70 int fd, retry = 1024; local 76 while (retry--) {
|
/art/test/916-obsolete-jit/src/ |
Main.java | 123 private static boolean retry = false; field in class:Main 139 // set the retry boolean to true if the stack does not have a JIT-compiled sayHi entry. This can 144 retry = true; 147 retry = false; 163 } while (retry);
|
/art/test/941-recurive-obsolete-jit/src/ |
Main.java | 107 private static boolean retry = false; field in class:Main 123 // set the retry boolean to true if we need to go around again due to jit code being GCd. 127 retry = true; 130 retry = false; 143 } while(retry);
|
/art/test/943-private-recursive-jit/src/ |
Main.java | 117 private static boolean retry = false; field in class:Main 136 // set the retry boolean to true if we need to go around again due to jit code being GCd. 142 retry = true; 145 retry = false; 159 } while(retry);
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
UiDeviceUtils.java | 119 int retry = 1; local 125 Log.d(TAG, msg + " retry=" + retry); 127 } while (retry++ < 5);
|
/cts/tests/tests/keystore/src/android/server/am/ |
UiDeviceUtils.java | 112 int retry = 1; local 118 Log.d(TAG, msg + " retry=" + retry); 120 } while (retry++ < 5);
|