Home
last modified time | relevance | path

Searched refs:num_retries (Results 1 – 17 of 17) sorted by relevance

/external/autotest/server/site_tests/brillo_BootLoader/
Dbrillo_BootLoader.py212 num_retries = 1
213 while num_retries < 10 and self.get_current_slot() == 1:
214 logging.info('Still with B after %d retries', num_retries)
215 num_retries += 1
220 'as GOOD' % num_retries)
221 logging.info('Fell back to A after %d retries.', num_retries)
/external/grpc-grpc/tools/gcp/utils/
Dbig_query_utils.py50 dataset_req.execute(num_retries=NUM_RETRIES)
124 res = table_req.execute(num_retries=NUM_RETRIES)
156 res = table_req.execute(num_retries=NUM_RETRIES)
173 res = insert_req.execute(num_retries=NUM_RETRIES)
190 body=query_data).execute(num_retries=NUM_RETRIES)
/external/python/apitools/apitools/base/py/
Dbase_api.py240 num_retries=5, max_retry_wait=60, credentials_args=None, argument
252 self.num_retries = num_retries
374 def num_retries(self): member in BaseApiClient
377 @num_retries.setter
378 def num_retries(self, value): member in BaseApiClient
398 def WithRetries(self, num_retries): argument
399 old_num_retries = self.num_retries
400 self.num_retries = num_retries
402 self.num_retries = old_num_retries
713 'retries': self.__client.num_retries,
Dtransfer.py82 auto_transfer=True, http=None, num_retries=5): argument
91 self.num_retries = num_retries
118 def num_retries(self): member in _Transfer
121 @num_retries.setter
122 def num_retries(self, value): member in _Transfer
410 retries=self.num_retries)
799 retries=self.num_retries)
836 retries=self.num_retries)
936 retries=self.num_retries)
Dhttp_wrapper_test.py80 exc=exception_arg, num_retries=0, max_retry_wait=0,
Dhttp_wrapper.py305 retry_args.num_retries, max_wait=retry_args.max_retry_wait))
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_remote_master.cc132 for (int num_retries = 0;; ++num_retries) { local
158 if (num_retries >= kMaxRetries) {
164 now_micros + ComputeBackoffMicroseconds(num_retries);
/external/python/google-api-python-client/tests/
Dtest_http.py386 request.execute(num_retries=3)
414 request.execute(num_retries=3)
543 status, done = download.next_chunk(num_retries=4)
577 status, done = download.next_chunk(num_retries=3)
591 status, done = download.next_chunk(num_retries=3)
874 response = request.execute(num_retries=3)
885 response = request.execute(num_retries=4)
904 response = request.execute(num_retries=4)
908 num_retries = 5
909 resp_seq = [({'status': '500'}, '')] * (num_retries - 3)
[all …]
/external/python/google-api-python-client/googleapiclient/
Dhttp.py131 def _retry_request(http, num_retries, req_type, sleep, rand, uri, method, *args, argument
152 for retry_num in range(num_retries + 1):
158 sleep_time, retry_num, num_retries, req_type, method, uri,
182 if retry_num == num_retries:
661 def next_chunk(self, num_retries=0): argument
685 http, num_retries, 'media download', self._sleep, self._rand, self._uri,
797 def execute(self, http=None, num_retries=0): argument
822 _, body = self.next_chunk(http=http, num_retries=num_retries)
845 http, num_retries, 'request', self._sleep, self._rand, str(self.uri),
867 def next_chunk(self, http=None, num_retries=0): argument
[all …]
/external/boringssl/src/util/bot/
Dupdate_clang.py48 num_retries = 3
77 if num_retries == 0 or isinstance(e, urllib2.HTTPError) and e.code == 404:
79 num_retries -= 1
/external/autotest/site_utils/
Dpubsub_utils_unittest.py53 def execute(self, num_retries): argument
58 self.test.assertEquals(self.retry, num_retries)
Dpubsub_utils.py94 num_retries=DEFAULT_PUBSUB_NUM_RETRIES)
/external/tensorflow/tensorflow/core/kernels/
Dsdca_internal.cc283 int num_retries = 0; in SampleAdaptiveProbabilities() local
284 while (id < num_examples() && num_retries < num_examples()) { in SampleAdaptiveProbabilities()
287 num_retries++; in SampleAdaptiveProbabilities()
/external/v8/tools/clang/scripts/
Dupdate.py89 num_retries = 3
118 if num_retries == 0 or isinstance(e, urllib2.HTTPError) and e.code == 404:
120 num_retries -= 1
/external/grpc-grpc/tools/run_tests/
Drun_build_statistics.py124 pageToken=None, **query_job['jobReference']).execute(num_retries=3)
Drun_tests.py96 pageToken=None, **query_job['jobReference']).execute(num_retries=3)
/external/grpc-grpc/tools/failures/
Ddetect_new_failures.py147 pageToken=None, **query_job['jobReference']).execute(num_retries=3)