/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/botocore/ |
H A D | retryhandler.py | 197 def __call__(self, attempt_number, response, caught_exception): argument 220 return self._check_response(attempt_number, response) 223 attempt_number, caught_exception) 227 def _check_response(self, attempt_number, response): argument 253 if attempt_number >= self._max_attempts: 258 "attempts: %s", attempt_number) 267 attempt_number < self._max_attempts: 284 def _check_response(self, attempt_number, response): argument 299 def _check_response(self, attempt_number, response): argument 316 checker_response = checker(attempt_number, response, [all …]
|
/dports/devel/py-botocore/botocore-1.21.61/botocore/ |
H A D | retryhandler.py | 197 def __call__(self, attempt_number, response, caught_exception): argument 220 return self._check_response(attempt_number, response) 223 attempt_number, caught_exception) 227 def _check_response(self, attempt_number, response): argument 253 if attempt_number >= self._max_attempts: 258 "attempts: %s", attempt_number) 267 attempt_number < self._max_attempts: 284 def _check_response(self, attempt_number, response): argument 299 def _check_response(self, attempt_number, response): argument 316 checker_response = checker(attempt_number, response, [all …]
|
/dports/devel/py-botocore/botocore-1.21.61/tests/unit/ |
H A D | test_retryhandler.py | 38 response=response, attempt_number=attempt_number, 44 response=response, attempt_number=attempt_number, 58 (HTTP_500_RESPONSE, response), attempt_number=1) 60 (HTTP_500_RESPONSE, {}), attempt_number=2) 64 (HTTP_500_RESPONSE, response), attempt_number=3) 72 (HTTP_500_RESPONSE, {}), attempt_number=1) 75 (HTTP_200_RESPONSE, {}), attempt_number=2) 79 (HTTP_500_RESPONSE, {}), attempt_number=1) 81 (HTTP_500_RESPONSE, {}), attempt_number=2) 83 (HTTP_500_RESPONSE, {}), attempt_number=3) [all …]
|
/dports/finance/electrum/Electrum-4.1.5/packages/pip/_vendor/ |
H A D | retrying.py | 197 attempt_number = 1 200 attempt = Attempt(fn(*args, **kwargs), attempt_number, False) 203 attempt = Attempt(tb, attempt_number, True) 209 if self.stop(attempt_number, delay_since_first_attempt_ms): 216 sleep = self.wait(attempt_number, delay_since_first_attempt_ms) 222 attempt_number += 1 232 def __init__(self, value, attempt_number, has_exception): argument 234 self.attempt_number = attempt_number 253 …return "Attempts: {0}, Error:\n{1}".format(self.attempt_number, "".join(traceback.format_tb(self.v… 255 return "Attempts: {0}, Value: {1}".format(self.attempt_number, self.value)
|
/dports/math/py-cypari2/cypari2-2.1.2/venv/lib/python3.7/site-packages/pip/_vendor/ |
H A D | retrying.py | 197 attempt_number = 1 200 attempt = Attempt(fn(*args, **kwargs), attempt_number, False) 203 attempt = Attempt(tb, attempt_number, True) 209 if self.stop(attempt_number, delay_since_first_attempt_ms): 216 sleep = self.wait(attempt_number, delay_since_first_attempt_ms) 222 attempt_number += 1 232 def __init__(self, value, attempt_number, has_exception): 234 self.attempt_number = attempt_number 253 …return "Attempts: {0}, Error:\n{1}".format(self.attempt_number, "".join(traceback.format_tb(self.v… 255 return "Attempts: {0}, Value: {1}".format(self.attempt_number, self.value)
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/pipenv/pipenv/vendor/pip9/_vendor/ |
H A D | retrying.py | 197 attempt_number = 1 200 attempt = Attempt(fn(*args, **kwargs), attempt_number, False) 203 attempt = Attempt(tb, attempt_number, True) 209 if self.stop(attempt_number, delay_since_first_attempt_ms): 216 sleep = self.wait(attempt_number, delay_since_first_attempt_ms) 222 attempt_number += 1 232 def __init__(self, value, attempt_number, has_exception): argument 234 self.attempt_number = attempt_number 253 …return "Attempts: {0}, Error:\n{1}".format(self.attempt_number, "".join(traceback.format_tb(self.v… 255 return "Attempts: {0}, Value: {1}".format(self.attempt_number, self.value)
|
/dports/lang/spidermonkey78/firefox-78.9.0/obj-x86_64-pc-linux-gnu/_virtualenvs/init/lib/python2.7/site-packages/pip/_vendor/ |
H A D | retrying.py | 197 attempt_number = 1 200 attempt = Attempt(fn(*args, **kwargs), attempt_number, False) 203 attempt = Attempt(tb, attempt_number, True) 209 if self.stop(attempt_number, delay_since_first_attempt_ms): 216 sleep = self.wait(attempt_number, delay_since_first_attempt_ms) 222 attempt_number += 1 232 def __init__(self, value, attempt_number, has_exception): argument 234 self.attempt_number = attempt_number 253 …return "Attempts: {0}, Error:\n{1}".format(self.attempt_number, "".join(traceback.format_tb(self.v… 255 return "Attempts: {0}, Value: {1}".format(self.attempt_number, self.value)
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/pipenv/pipenv/patched/notpip/_vendor/ |
H A D | retrying.py | 197 attempt_number = 1 200 attempt = Attempt(fn(*args, **kwargs), attempt_number, False) 203 attempt = Attempt(tb, attempt_number, True) 209 if self.stop(attempt_number, delay_since_first_attempt_ms): 216 sleep = self.wait(attempt_number, delay_since_first_attempt_ms) 222 attempt_number += 1 232 def __init__(self, value, attempt_number, has_exception): argument 234 self.attempt_number = attempt_number 253 …return "Attempts: {0}, Error:\n{1}".format(self.attempt_number, "".join(traceback.format_tb(self.v… 255 return "Attempts: {0}, Value: {1}".format(self.attempt_number, self.value)
|
/dports/devel/py-retrying/retrying-1.3.3/ |
H A D | retrying.py | 197 attempt_number = 1 200 attempt = Attempt(fn(*args, **kwargs), attempt_number, False) 203 attempt = Attempt(tb, attempt_number, True) 209 if self.stop(attempt_number, delay_since_first_attempt_ms): 216 sleep = self.wait(attempt_number, delay_since_first_attempt_ms) 222 attempt_number += 1 232 def __init__(self, value, attempt_number, has_exception): argument 234 self.attempt_number = attempt_number 253 …return "Attempts: {0}, Error:\n{1}".format(self.attempt_number, "".join(traceback.format_tb(self.v… 255 return "Attempts: {0}, Value: {1}".format(self.attempt_number, self.value)
|
/dports/devel/py-pip/pip-20.3.4/src/pip/_vendor/ |
H A D | retrying.py | 197 attempt_number = 1 200 attempt = Attempt(fn(*args, **kwargs), attempt_number, False) 203 attempt = Attempt(tb, attempt_number, True) 209 if self.stop(attempt_number, delay_since_first_attempt_ms): 216 sleep = self.wait(attempt_number, delay_since_first_attempt_ms) 222 attempt_number += 1 232 def __init__(self, value, attempt_number, has_exception): argument 234 self.attempt_number = attempt_number 253 …return "Attempts: {0}, Error:\n{1}".format(self.attempt_number, "".join(traceback.format_tb(self.v… 255 return "Attempts: {0}, Value: {1}".format(self.attempt_number, self.value)
|
/dports/devel/py-pipenv/pipenv-2021.5.29/pipenv/patched/notpip/_vendor/ |
H A D | retrying.py | 197 attempt_number = 1 200 attempt = Attempt(fn(*args, **kwargs), attempt_number, False) 203 attempt = Attempt(tb, attempt_number, True) 209 if self.stop(attempt_number, delay_since_first_attempt_ms): 216 sleep = self.wait(attempt_number, delay_since_first_attempt_ms) 222 attempt_number += 1 232 def __init__(self, value, attempt_number, has_exception): argument 234 self.attempt_number = attempt_number 253 …return "Attempts: {0}, Error:\n{1}".format(self.attempt_number, "".join(traceback.format_tb(self.v… 255 return "Attempts: {0}, Value: {1}".format(self.attempt_number, self.value)
|
/dports/devel/py-botocore/botocore-1.21.61/tests/unit/retries/ |
H A D | test_special.py | 20 attempt_number=1, operation_model=create_fake_op_model('s3'), 32 attempt_number=1, operation_model=create_fake_op_model('sts'), 44 attempt_number=1, operation_model=create_fake_op_model('sts'), 66 attempt_number=1, operation_model=create_fake_op_model('dynamodb'), 80 attempt_number=1, operation_model=create_fake_op_model('dynamodb'), 94 attempt_number=1, operation_model=create_fake_op_model('dynamodb'), 108 attempt_number=1, operation_model=create_fake_op_model('s3'),
|
H A D | test_standard.py | 215 attempt_number=1, 228 attempt_number=1, 240 context.attempt_number = 1 243 context.attempt_number = 2 246 context.attempt_number = 3 253 context.attempt_number = 3 350 self.assertEqual(context.attempt_number, 1) 431 self.backoff.delay_amount(standard.RetryContext(attempt_number=i)) 441 backoff.delay_amount(standard.RetryContext(attempt_number=3)) 463 attempt_number=1, [all …]
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/signalrcore/transport/websockets/ |
H A D | reconnection.py | 44 self.attempt_number = 0 51 self.attempt_number = 0 64 if self.attempt_number <= self.max_reconnection_attempts: 65 self.attempt_number += 1 82 index = self.attempt_number 83 self.attempt_number += 1
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/dns/ |
H A D | dns_transaction.cc | 941 unsigned attempt_number = probe_stats->probe_attempts.size(); in DnsHTTPAttempt() local 950 attempt_number, doh_server_index, std::move(probe_stats), in DnsHTTPAttempt() 955 void ProbeComplete(unsigned attempt_number, in ProbeComplete() argument 968 probe_stats->probe_attempts[attempt_number].get(); in ProbeComplete() 1188 size_t attempt_number = attempts_.size(); in MakeUDPAttempt() local 1222 non_doh_server_index, attempt_number, session_.get()); in MakeUDPAttempt() 1233 unsigned attempt_number = attempts_.size(); in MakeHTTPAttempt() local 1268 unsigned attempt_number = attempts_.size(); in MakeTCPAttempt() local 1316 void OnAttemptComplete(unsigned attempt_number, in OnAttemptComplete() argument 1320 DCHECK_LT(attempt_number, attempts_.size()); in OnAttemptComplete() [all …]
|
/dports/databases/py-pyodbc/pyodbc-4.0.32/appveyor/ |
H A D | install.ps1 | 6 $attempt_number = 1 in DownloadFileFromUrl() variable 14 Write-Output "WARNING: download attempt number $attempt_number of $max_attempts failed" in DownloadFileFromUrl() variable 17 if ($attempt_number -ge $max_attempts) {break} in DownloadFileFromUrl() variable 19 $attempt_number += 1 in DownloadFileFromUrl() variable
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/dns/ |
H A D | dns_transaction.cc | 948 unsigned attempt_number = probe_stats->probe_attempts.size(); in DnsHTTPAttempt() local 963 void ProbeComplete(unsigned attempt_number, in ProbeComplete() argument 976 probe_stats->probe_attempts[attempt_number].get(); in ProbeComplete() 1231 size_t attempt_number = attempts_.size(); in MakeClassicDnsAttempt() local 1244 server_index, attempt_number, session_.get()); in MakeClassicDnsAttempt() 1258 size_t attempt_number = attempts_.size(); in MakeUdpAttempt() local 1294 unsigned attempt_number = attempts_.size(); in MakeHTTPAttempt() local 1351 unsigned attempt_number = attempts_.size(); in MakeTcpAttempt() local 1395 void OnAttemptComplete(unsigned attempt_number, in OnAttemptComplete() argument 1399 DCHECK_LT(attempt_number, attempts_.size()); in OnAttemptComplete() [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/botocore/retries/ |
H A D | standard.py | 122 attempt_number=kwargs['attempts'], 168 def __init__(self, attempt_number, operation_model=None, argument 172 self.attempt_number = attempt_number 255 self._random() * (self._base ** (context.attempt_number - 1)), 265 under_max_attempts = context.attempt_number < self._max_attempts
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/wilco_dtc_supportd/ |
H A D | wilco_dtc_supportd_bridge_unittest.cc | 323 for (int attempt_number = 0; in TEST_F() local 324 attempt_number < in TEST_F() 326 ++attempt_number) { in TEST_F() 360 for (int attempt_number = 0; in TEST_F() local 361 attempt_number < in TEST_F() 363 ++attempt_number) { in TEST_F()
|
/dports/www/firefox/firefox-99.0/third_party/python/pip/pip/_vendor/tenacity/ |
H A D | __init__.py | 424 def __init__(self, attempt_number: int) -> None: 426 self.attempt_number = attempt_number 434 def construct(cls, attempt_number: int, value: t.Any, has_exception: bool) -> "Future": 436 fut = cls(attempt_number) 466 self.attempt_number: int = 1 485 self.attempt_number += 1 490 fut = Future(self.attempt_number) 496 fut = Future(self.attempt_number)
|
H A D | wait.py | 102 wait_func_no = min(max(retry_state.attempt_number, 1), len(self.strategies)) 125 result = self.start + (self.increment * (retry_state.attempt_number - 1)) 156 exp = self.exp_base ** (retry_state.attempt_number - 1)
|
/dports/devel/py-tenacity/tenacity-8.0.1/tenacity/ |
H A D | __init__.py | 422 def __init__(self, attempt_number: int) -> None: 424 self.attempt_number = attempt_number 432 def construct(cls, attempt_number: int, value: t.Any, has_exception: bool) -> "Future": 434 fut = cls(attempt_number) 464 self.attempt_number: int = 1 483 self.attempt_number += 1 488 fut = Future(self.attempt_number) 494 fut = Future(self.attempt_number)
|
H A D | wait.py | 102 wait_func_no = min(max(retry_state.attempt_number, 1), len(self.strategies)) 125 result = self.start + (self.increment * (retry_state.attempt_number - 1)) 156 exp = self.exp_base ** (retry_state.attempt_number - 1)
|
/dports/devel/py-botocore/botocore-1.21.61/botocore/retries/ |
H A D | standard.py | 122 attempt_number=kwargs['attempts'], 168 def __init__(self, attempt_number, operation_model=None, argument 172 self.attempt_number = attempt_number 258 self._random() * (self._base ** (context.attempt_number - 1)), 268 under_max_attempts = context.attempt_number < self._max_attempts
|
/dports/net-mgmt/py-pdagent/pdagent-1.7.2/pdagent/ |
H A D | heartbeat.py | 75 attempt_number = 0 77 attempt_number += 1 106 if attempt_number >= self._heartbeat_max_retries:
|