| /external/volley/core/src/test/java/com/android/volley/toolbox/ |
| D | HttpHeaderParserTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 24 import com.android.volley.Cache; 59 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_noHeaders() 65 assertEquals(0, entry.ttl); in parseCacheHeaders_noHeaders() 79 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_headersSet() 91 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_etag() 101 headers.put("Last-Modified", rfc1123Date(now - ONE_DAY_MILLIS)); in parseCacheHeaders_normalExpire() 104 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_normalExpire() 109 assertEqualsWithin(entry.lastModified, (now - ONE_DAY_MILLIS), ONE_MINUTE_MILLIS); in parseCacheHeaders_normalExpire() 111 assertTrue(entry.ttl == entry.softTtl); in parseCacheHeaders_normalExpire() [all …]
|
| /external/python/google-api-python-client/docs/dyn/ |
| D | compute_v1.backendBuckets.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | compute_alpha.backendBuckets.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | compute_beta.backendBuckets.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | compute_v1.regionBackendServices.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | compute_v1.backendServices.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | compute_beta.regionBackendServices.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | compute_beta.backendServices.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | compute_alpha.regionBackendServices.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | compute_alpha.backendServices.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| /external/volley/core/src/main/java/com/android/volley/toolbox/ |
| D | DiskBasedCache.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 import com.android.volley.Cache; 45 * Cache implementation that caches files directly onto the hard disk in the specified directory. 46 * The default disk usage size is 5MB, but is configurable. 48 * <p>This cache supports the {@link Entry#allResponseHeaders} headers field. 50 public class DiskBasedCache implements Cache { 55 /** Total amount of space currently used by the cache in bytes. */ 58 /** The supplier for the root directory to use for the cache. */ 61 /** The maximum size of the cache in bytes. */ 64 /** Default maximum disk usage in bytes. */ [all …]
|
| /external/python/cachetools/docs/ |
| D | index.rst | 2 :mod:`cachetools` --- Extensible memoizing collections and decorators 11 For the purpose of this module, a *cache* is a mutable_ mapping_ of a 12 fixed maximum size. When the cache is full, i.e. by adding another 13 item the cache would exceed its maximum size, the cache must choose 14 which item(s) to discard based on a suitable `cache algorithm`_. In 15 general, a cache's size is the total size of its items, and an item's 18 item counts as :const:`1`, a cache's size is equal to the number of 19 its items, or ``len(cache)``. 21 Multiple cache classes based on different caching algorithms are 35 Cache implementations [all …]
|
| /external/python/cachetools/src/cachetools/ |
| D | __init__.py | 4 "Cache", 40 class Cache(collections.abc.MutableMapping): class 41 """Mutable mapping to serve as a simple cache or cache base class.""" 50 if self.getsizeof is not Cache.getsizeof: 79 diffsize = size - self.__size[key] 89 self.__currsize -= size 103 def get(self, key, default=None): argument 107 return default 109 def pop(self, key, default=__marker): argument 113 elif default is self.__marker: [all …]
|
| /external/cronet/net/dns/ |
| D | host_cache.h | 2 // Use of this source code is governed by a BSD-style license that can be 40 #include "third_party/abseil-cpp/absl/types/optional.h" 41 #include "third_party/abseil-cpp/absl/types/variant.h" 52 // Cache used by HostResolver to map hostnames to their resolved result. 74 return std::tie(key->dns_query_type, key->host_resolver_flags, key->host, in GetTuple() 75 key->host_resolver_source, key->network_anonymization_key, in GetTuple() 76 key->secure); in GetTuple() 100 // Time since the entry's TTL has expired. Negative if not expired. 106 // Number of hits to the cache entry while stale (expired or past-network). 128 // |ttl=absl::nullopt| for unknown TTL. [all …]
|
| D | mdns_cache.cc | 2 // Use of this source code is governed by a BSD-style license that can be 25 // The effective TTL given to records with a nominal zero TTL. 37 MDnsCache::Key::Key(const MDnsCache::Key& other) = default; 40 default; 42 MDnsCache::Key::~Key() = default; 56 return Key(record->type(), in CreateFor() 57 record->name(), in CreateFor() 63 MDnsCache::~MDnsCache() = default; 68 return found->second.get(); in LookupKey() 77 // Ignore "goodbye" packets for records not in cache. in UpdateDnsRecord() [all …]
|
| D | mdns_cache_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 30 0, 0, 0, 53, // TTL (4 bytes) is 53 seconds. 38 0, 0, 0, 53, // TTL (4 bytes) is 53 seconds. 49 0, 0, 0, 53, // TTL (4 bytes) is 53 seconds. 57 0, 0, 0, 112, // TTL (4 bytes) is 112 seconds. 68 0, 0, 0, 53, // TTL (4 bytes) is 53 seconds. 77 0, 0, 0, 53, // TTL (4 bytes) is 53 seconds. 89 0, 0, 0, 0, // TTL (4 bytes) is zero. 98 0, 0, 0, 53, // TTL (4 bytes) is 53 seconds. 109 0, 0, 0, 53, // TTL (4 bytes) is 53 seconds. [all …]
|
| D | host_cache.cc | 2 // Use of this source code is governed by a BSD-style license that can be 38 #include "third_party/abseil-cpp/absl/types/optional.h" 39 #include "third_party/abseil-cpp/absl/types/variant.h" 65 const char kTtlKey[] = "ttl"; 146 ip_endpoints->emplace(); in IPEndPointsFromLegacyAddressListValue() 153 ip_endpoints->value().emplace_back(address, 0); in IPEndPointsFromLegacyAddressListValue() 160 if (target->has_value() && source) { in MergeLists() 161 target->value().insert(target->value().end(), source.value().begin(), in MergeLists() 172 target->insert(source->begin(), source->end()); in MergeContainers() 252 DCHECK(IsValidHostname(GetHostname(this->host))); in Key() [all …]
|
| /external/iproute2/man/man8/ |
| D | ip-route.8.in | 1 .TH IP\-ROUTE 8 "13 Dec 2012" "iproute2" "Linux" 3 ip-route \- routing table management 10 .RI "[ " ip-OPTIONS " ]" 80 .B ttl-propagate 186 .B ttl 187 .IR TTL " ]" 198 .B ttl 199 .IR TTL " ]" 244 - the route entry describes real paths to the destinations covered 249 - these destinations are unreachable. Packets are discarded and the [all …]
|
| /external/mdnsresponder/mDNSCore/ |
| D | uDNS.h | 1 /* -*- Mode: C; tab-width: 4 -*- 3 * Copyright (c) 2002-2003 Apple Computer, Inc. All rights reserved. 9 * http://www.apache.org/licenses/LICENSE-2.0 43 #define InitialQuestionInterval ((mDNSPlatformOneSecond + QuestionIntervalStep-1) / QuestionInterva… 58 // then use the default value of 30 seconds 61 // Entry points into unicast-specific routines 71 // rr->NewRData 72 // rr->newrdlength 73 // rr->UpdateCallback 100 // uDNS_SetupSearchDomains by default adds search domains. It also can be called with one or [all …]
|
| /external/libwebsockets/READMEs/ |
| D | README.async-dns.md | 6 resolution done on the event loop, enable `-DLWS_WITH_SYS_ASYNC_DNS=1` 11 The default libc name resolution is via libc `getaddrinfo()`, which is 27 - lws-style paranoid response parsing 28 - random unique tid generation to increase difficulty of poisoning 29 - it's really integrated with the lws event loop, it does not spawn 31 - platform-specific server address capturing (from /etc/resolv.conf 33 - LRU caching 34 - piggybacking (multiple requests before the first completes go on 36 - observes TTL in cache 37 - TTL and timeout use `lws_sul` timers on the event loop [all …]
|
| /external/autotest/client/cros/netprotos/ |
| D | zeroconf.py | 2 # Use of this source code is governed by a BSD-style license that can be 18 # Value to | to a class value to signal cache flush. 44 # cls attribute should be masked for the cache flush bit. 65 by default advertise the host address it is running on, which is 74 self._response_ttl = 60 # Default TTL in seconds. 81 # dict() of name --> (dict() of type --> (dict() of data --> timeout)) 186 # Start a new cache or clear the existing if required. 193 rr_timeout = cur_time + rr.ttl 230 ### RFC 2782 - RR for specifying the location of services (DNS SRV). 264 ttl = self._response_ttl, [all …]
|
| /external/libwebsockets/ |
| D | Android.bp | 7 // http://www.apache.org/licenses/LICENSE-2.0 20 // Added automatically by a large-scale-change that took the approach of 28 // default license using the 'licenses: [...]' property on targets as needed. 33 // See: http://go/android-license-faq 38 "SPDX-license-identifier-Apache-2.0", 39 "SPDX-license-identifier-BSD", 40 "SPDX-license-identifier-Beerware", 41 "SPDX-license-identifier-CC0-1.0", 42 "SPDX-license-identifier-GPL", 43 "SPDX-license-identifier-LGPL", [all …]
|
| /external/cronet/net/reporting/ |
| D | reporting_header_parser_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 28 #include "third_party/abseil-cpp/absl/types/optional.h" 56 ~ReportingHeaderParserTestBase() override = default; 61 mock_store()->LoadReportingClients( in SetUp() 63 base::Unretained(cache()))); in SetUp() 64 mock_store()->FinishLoading(true); in SetUp() 90 GURL("https://origin1.test/path-absolute-url"); 114 // case kPartitionNelAndReportingByNetworkIsolationKey is disabled - the in ReportingHeaderParserTest() 123 OriginSubdomains include_subdomains = OriginSubdomains::DEFAULT, in MakeEndpointGroup() 124 base::TimeDelta ttl = base::Days(1), in MakeEndpointGroup() argument [all …]
|
| /external/cronet/net/cert/ |
| D | caching_cert_verifier.cc | 2 // Use of this source code is governed by a BSD-style license that can be 17 // The maximum number of cache entries to use for the ExpiringCache. 20 // The number of seconds to cache entries. 27 verifier_->AddObserver(this); in CachingCertVerifier() 28 CertDatabase::GetInstance()->AddObserver(this); in CachingCertVerifier() 32 CertDatabase::GetInstance()->RemoveObserver(this); in ~CachingCertVerifier() 33 verifier_->RemoveObserver(this); in ~CachingCertVerifier() 41 out_req->reset(); in Verify() 49 *verify_result = cached_entry->result; in Verify() 50 return cached_entry->error; in Verify() [all …]
|
| /external/curl/docs/libcurl/opts/ |
| D | CURLOPT_DNS_CACHE_TIMEOUT.3 | 21 .\" * SPDX-License-Identifier: curl 27 CURLOPT_DNS_CACHE_TIMEOUT \- life-time for DNS cache entries 37 caching, or set to -1 to make the cached entries remain forever. By default, 40 The name resolve functions of various libc implementations do not re-read name 43 if DHCP has updated the server info, and this may look like a DNS cache issue 44 to the casual libcurl-app user. 46 Note that DNS entries have a "TTL" property but libcurl does not use that. This 47 DNS cache timeout is entirely speculative that a name will resolve to the same 49 .SH DEFAULT 64 /* in this second request, the cache will not be used if more than
|