/dports/devel/py-expiringdict/expiringdict-1.2.1/expiringdict/ |
H A D | __init__.py | 31 def __init__(self, max_len, max_age_seconds, items=None): argument 35 self.__assertions(max_len, max_age_seconds) 39 self.max_age = max_age_seconds 197 def __assertions(self, max_len, max_age_seconds): argument 199 self.__assert_max_age_seconds(max_age_seconds) 206 def __assert_max_age_seconds(max_age_seconds): argument 207 assert max_age_seconds >= 0 228 def __copy_expiring_dict(self, max_len, max_age_seconds, items): argument 236 if max_age_seconds is not None: 237 self.__assert_max_age_seconds(max_age_seconds) [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/s3/ |
H A D | cors.py | 63 id=None, allowed_header=None, max_age_seconds=None, argument 75 self.max_age_seconds = max_age_seconds 96 self.max_age_seconds = int(value) 112 if self.max_age_seconds: 113 s += '<MaxAgeSeconds>%d</MaxAgeSeconds>' % self.max_age_seconds 147 id=None, allowed_header=None, max_age_seconds=None, argument 209 max_age_seconds, expose_header)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/boto/s3/ |
H A D | cors.py | 63 id=None, allowed_header=None, max_age_seconds=None, argument 75 self.max_age_seconds = max_age_seconds 96 self.max_age_seconds = int(value) 112 if self.max_age_seconds: 113 s += '<MaxAgeSeconds>%d</MaxAgeSeconds>' % self.max_age_seconds 147 id=None, allowed_header=None, max_age_seconds=None, argument 209 max_age_seconds, expose_header)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/vendored/boto/boto/s3/ |
H A D | cors.py | 63 id=None, allowed_header=None, max_age_seconds=None, argument 75 self.max_age_seconds = max_age_seconds 96 self.max_age_seconds = int(value) 112 if self.max_age_seconds: 113 s += '<MaxAgeSeconds>%d</MaxAgeSeconds>' % self.max_age_seconds 147 id=None, allowed_header=None, max_age_seconds=None, argument 209 max_age_seconds, expose_header)
|
/dports/devel/py-boto/boto-2.49.0/boto/s3/ |
H A D | cors.py | 63 id=None, allowed_header=None, max_age_seconds=None, argument 75 self.max_age_seconds = max_age_seconds 96 self.max_age_seconds = int(value) 112 if self.max_age_seconds: 113 s += '<MaxAgeSeconds>%d</MaxAgeSeconds>' % self.max_age_seconds 147 id=None, allowed_header=None, max_age_seconds=None, argument 209 max_age_seconds, expose_header)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/blink/ |
H A D | cache_util.cc | 70 int64_t max_age_seconds; in GetReasonsForUncacheability() local 74 &max_age_seconds); in GetReasonsForUncacheability() 75 if (TimeDelta::FromSeconds(max_age_seconds) < kMinimumAgeForUsefulness) in GetReasonsForUncacheability() 106 int64_t max_age_seconds; in GetCacheValidUntil() local 110 &max_age_seconds); in GetCacheValidUntil() 112 ret = std::min(ret, TimeDelta::FromSeconds(max_age_seconds)); in GetCacheValidUntil()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/blink/ |
H A D | cache_util.cc | 70 int64_t max_age_seconds; in GetReasonsForUncacheability() local 74 &max_age_seconds); in GetReasonsForUncacheability() 75 if (TimeDelta::FromSeconds(max_age_seconds) < kMinimumAgeForUsefulness) in GetReasonsForUncacheability() 106 int64_t max_age_seconds; in GetCacheValidUntil() local 110 &max_age_seconds); in GetCacheValidUntil() 112 ret = std::min(ret, TimeDelta::FromSeconds(max_age_seconds)); in GetCacheValidUntil()
|
/dports/devel/py-expiringdict/expiringdict-1.2.1/ |
H A D | README.rst | 53 cache = ExpiringDict(max_len=100, max_age_seconds=10) 69 cache = ExpiringDict(max_len=100, max_age_seconds=10, items=my_dict) 77 cache_hour = ExpiringDict(max_len=100, max_age_seconds=3600) 79 cache_hour_copy = ExpiringDict(max_len=None, max_age_seconds=None, items=cache_hour) 80 cache_minute_copy = ExpiringDict(max_len=None, max_age_seconds=60, items=cache_hour) 90 cache = ExpiringDict(max_len=100, max_age_seconds=10)
|
H A D | PKG-INFO | 61 cache = ExpiringDict(max_len=100, max_age_seconds=10) 77 cache = ExpiringDict(max_len=100, max_age_seconds=10, items=my_dict) 85 cache_hour = ExpiringDict(max_len=100, max_age_seconds=3600) 87 cache_hour_copy = ExpiringDict(max_len=None, max_age_seconds=None, items=cache_hour) 88 cache_minute_copy = ExpiringDict(max_len=None, max_age_seconds=60, items=cache_hour) 98 cache = ExpiringDict(max_len=100, max_age_seconds=10)
|
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/tests/unit/s3/ |
H A D | test_cors_configuration.py | 55 max_age_seconds=3000, 65 max_age_seconds=3000, 67 cfg.add_rule('GET', '*', allowed_header='*', max_age_seconds=3000)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/vendored/boto/tests/unit/s3/ |
H A D | test_cors_configuration.py | 55 max_age_seconds=3000, 65 max_age_seconds=3000, 67 cfg.add_rule('GET', '*', allowed_header='*', max_age_seconds=3000)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/tests/unit/s3/ |
H A D | test_cors_configuration.py | 55 max_age_seconds=3000, 65 max_age_seconds=3000, 67 cfg.add_rule('GET', '*', allowed_header='*', max_age_seconds=3000)
|
/dports/devel/py-boto/boto-2.49.0/tests/unit/s3/ |
H A D | test_cors_configuration.py | 55 max_age_seconds=3000, 65 max_age_seconds=3000, 67 cfg.add_rule('GET', '*', allowed_header='*', max_age_seconds=3000)
|
/dports/devel/py-expiringdict/expiringdict-1.2.1/expiringdict.egg-info/ |
H A D | PKG-INFO | 61 cache = ExpiringDict(max_len=100, max_age_seconds=10) 77 cache = ExpiringDict(max_len=100, max_age_seconds=10, items=my_dict) 85 cache_hour = ExpiringDict(max_len=100, max_age_seconds=3600) 87 cache_hour_copy = ExpiringDict(max_len=None, max_age_seconds=None, items=cache_hour) 88 cache_minute_copy = ExpiringDict(max_len=None, max_age_seconds=60, items=cache_hour) 98 cache = ExpiringDict(max_len=100, max_age_seconds=10)
|
/dports/devel/pytype/pytype-2021.9.9/pytype/typeshed/stubs/boto/boto/s3/ |
H A D | cors.pyi | 8 max_age_seconds: Any 16 max_age_seconds: Optional[Any] = ..., 33 max_age_seconds: Optional[Any] = ...,
|
/dports/devel/py-jedi/jedi-0.18.0/jedi/third_party/typeshed/third_party/2and3/boto/s3/ |
H A D | cors.pyi | 8 max_age_seconds: Any 10 …= ..., id: Optional[Any] = ..., allowed_header: Optional[Any] = ..., max_age_seconds: Optional[Any… 19 …rigin, id: Optional[Any] = ..., allowed_header: Optional[Any] = ..., max_age_seconds: Optional[Any…
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/srv/ |
H A D | auth.py | 114 def is_nonce_stale(nonce, max_age_seconds=MAX_AGE_SECONDS): argument 117 return timestamp + max_age_seconds < monotonic() 247 max_age_seconds=MAX_AGE_SECONDS, log=None, ban_time_in_minutes=0, ban_after=5): argument 252 self.max_age_seconds = max_age_seconds 271 …nce(self.key_order, cookie, path, self.secret) and not is_nonce_stale(cookie, self.max_age_seconds) 290 nonce_is_stale = is_nonce_stale(da.nonce, self.max_age_seconds)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/vendored/boto/tests/integration/s3/ |
H A D | test_cors.py | 51 allowed_header='*', max_age_seconds=3000, 59 self.assertEqual(rule.max_age_seconds, self.cfg[i].max_age_seconds)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/tests/integration/s3/ |
H A D | test_cors.py | 51 allowed_header='*', max_age_seconds=3000, 59 self.assertEqual(rule.max_age_seconds, self.cfg[i].max_age_seconds)
|
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/tests/integration/s3/ |
H A D | test_cors.py | 51 allowed_header='*', max_age_seconds=3000, 59 self.assertEqual(rule.max_age_seconds, self.cfg[i].max_age_seconds)
|
/dports/devel/py-boto/boto-2.49.0/tests/integration/s3/ |
H A D | test_cors.py | 51 allowed_header='*', max_age_seconds=3000, 59 self.assertEqual(rule.max_age_seconds, self.cfg[i].max_age_seconds)
|
/dports/ftp/net2ftp/net2ftp_v1.3/files_to_upload/modules/logout/ |
H A D | logout.inc.php | 155 $max_age_seconds = 600; // default: 10 minutes 162 if ($age_in_seconds > $max_age_seconds) { @unlink($dirfile); }
|
/dports/www/ilias/ILIAS-5.4.25/Services/Notifications/classes/ |
H A D | class.ilNotificationOSDHandler.php | 76 …tic function getNotificationsForUser($user_id, $append_osd_id_to_link = true, $max_age_seconds = 0) argument 86 $values = array($user_id, $max_age_seconds ? (time() - $max_age_seconds) : 0);
|
/dports/www/ilias6/ILIAS-6.14/Services/Notifications/classes/ |
H A D | class.ilNotificationOSDHandler.php | 76 …tic function getNotificationsForUser($user_id, $append_osd_id_to_link = true, $max_age_seconds = 0) argument 86 $values = array($user_id, $max_age_seconds ? (time() - $max_age_seconds) : 0);
|
/dports/devel/sccache/sccache-0.2.15/cargo-crates/rouille-3.0.0/src/ |
H A D | response.rs | 649 pub fn with_public_cache(self, max_age_seconds: u64) -> Response { in with_public_cache() 650 self.with_unique_header("Cache-Control", format!("public, max-age={}", max_age_seconds)) in with_public_cache() 664 pub fn with_private_cache(self, max_age_seconds: u64) -> Response { in with_private_cache() 665 self.with_unique_header("Cache-Control", format!("private, max-age={}", max_age_seconds)) in with_private_cache()
|