Home
last modified time | relevance | path

Searched +full:- +full:- +full:no +full:- +full:cache (Results 1 – 25 of 1239) sorted by relevance

12345678910>>...50

/external/python/httplib2/tests/
Dtest_cache.py12 # Test that can do a GET with cache and 'only-if-cached'
13 http = httplib2.Http(cache=tests.get_cache_path())
17 uri, "GET", headers={"cache-control": "only-if-cached"}
24 # Test that can do a GET with no cache with 'only-if-cached'
25 http = httplib2.Http(cache=tests.get_cache_path())
28 uri, "GET", headers={"cache-control": "only-if-cached"}
35 # Test that can do a GET with no cache with 'only-if-cached'
37 # that responds to the 'only-if-cached', so this
42 uri, "GET", headers={"cache-control": "only-if-cached"}
51 # when there is no vary, a different Accept header (e.g.) should not
[all …]
/external/clang/test/Modules/
Dno-implicit-builds.cpp1 // RUN: rm -rf %t
3 // RUN: %clang -x c++ -std=c++11 -fmodules -fno-implicit-modules /dev/null -### \
4 // RUN: 2>&1 | FileCheck --check-prefix=CHECK-NO-MODULE-CACHE %s
5 // CHECK-NO-MODULE-CACHE-NOT: -fmodules-cache-path
8 // RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \
9 // RUN: -fmodule-map-file=%S/Inputs/no-implicit-builds/b.modulemap \
10 // RUN: -fno-implicit-modules %s -verify
12 // Same thing if we're running -cc1 and no module cache path has been provided.
13 // RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -fimplicit-module-maps \
14 // RUN: -fmodule-map-file=%S/Inputs/no-implicit-builds/b.modulemap \
[all …]
Dexplicit-build.cpp1 // RUN: rm -rf %t
3 // -------------------------------
5 // RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -Rmod…
6 // RUN: -fmodule-name=a -emit-module %S/Inputs/explicit-build/module.modulemap -o %t/a.p…
7 // RUN: 2>&1 | FileCheck --check-prefix=CHECK-NO-IMPLICIT-BUILD %s --allow-empty
9 // RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -Rmod…
10 // RUN: -fmodule-file=%t/a.pcm \
11 // RUN: -fmodule-name=b -emit-module %S/Inputs/explicit-build/module.modulemap -o %t/b.p…
12 // RUN: 2>&1 | FileCheck --check-prefix=CHECK-NO-IMPLICIT-BUILD %s --allow-empty
14 // RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -Rmod…
[all …]
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/
DSafeMethodCachingInterceptor.java22 * An example of an on-device cache for Android implemented using the {@link ClientInterceptor} API.
24 * <p>Client-side cache-control directives are not directly supported. Instead, two call options can
25 * be added to the call: no-cache (always go to the network) or only-if-cached (never use network;
26 * if response is not in cache, the request fails).
28 * <p>This interceptor respects the cache-control directives in the server's response: max-age
29 * determines when the cache entry goes stale. no-cache, no-store, and no-transform entirely skip
30 * caching of the response. must-revalidate is ignored, as the cache does not support returning
33 * <p>Note: other response headers besides cache-control (such as Expiration, Varies) are ignored by
37 static CallOptions.Key<Boolean> NO_CACHE_CALL_OPTION = CallOptions.Key.of("no-cache", false);
39 CallOptions.Key.of("only-if-cached", false);
[all …]
/external/cronet/net/http/
Dhttp_response_headers_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
43 // Transform "normal"-looking headers (\n-separated) to the appropriate
44 // input format for ParseRawHeaders (\0-separated).
46 std::replace(headers->begin(), headers->end(), '\n', '\0'); in HeadersToRaw()
47 if (!headers->empty()) in HeadersToRaw()
56 // Initilise the headers() value with a Cache-Control header set to
61 raw_headers += "Cache-Control: "; in InitializeHeadersWithCacheControl()
74 // Get the max-age value. This should only be used in tests where a valid
75 // max-age parameter is expected to be present.
79 EXPECT_TRUE(headers()->GetMaxAgeValue(&max_age_value)); in GetMaxAgeValue()
[all …]
/external/crosvm/infra/recipes/build_linux.expected/
Dbuild_x86_64.json5 "[CACHE]/builder/crosvm/tools/presubmit",
6 "--list-checks",
9 "cwd": "[CACHE]/builder/crosvm",
11 "CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container"
30 "[CACHE]/builder/crosvm/tools/dev_container",
31 "--no-interactive",
32 "--verbose",
34 "--no-delta",
37 "cwd": "[CACHE]/builder/crosvm",
39 "CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container",
[all …]
/external/bazel-skylib/rules/private/
Dcopy_common.bzl7 # http://www.apache.org/licenses/LICENSE-2.0
19 # ----------------+-----------------------------------------------------------------------------
20 # no-remote | Prevents the action or test from being executed remotely or cached remotely.
21 # | This is equivalent to using both `no-remote-cache` and `no-remote-exec`.
22 # ----------------+-----------------------------------------------------------------------------
23 # no-cache | Results in the action or test never being cached (remotely or locally)
24 # ----------------+-----------------------------------------------------------------------------
25 # See https://bazel.build/reference/be/common-definitions#common-attributes
27 # Copying file & directories is entirely IO-bound and there is no point doing this work
30 # Also, remote-execution does not allow source directory inputs, see
[all …]
/external/libnl/lib/
Dcache_mngt.c1 /* SPDX-License-Identifier: LGPL-2.1-only */
3 * Copyright (c) 2003-2012 Thomas Graf <tgraf@suug.ch>
11 * - @core_doc{core_cache, Caching System}
16 * ------
18 * #include <netlink/cache.h>
22 #include "nl-default.h"
25 #include <netlink/cache.h>
28 #include "nl-priv-dynamic-core/nl-core.h"
29 #include "nl-priv-dynamic-core/object-api.h"
30 #include "nl-priv-dynamic-core/cache-api.h"
[all …]
/external/leveldb/include/leveldb/
Dcache.h2 // Use of this source code is governed by a BSD-style license that can be
5 // A Cache is an interface that maps keys to values. It has internal
8 // for new entries. Values have a specified charge against the cache
9 // capacity. For example, a cache where the values are variable
13 // A builtin cache implementation with a least-recently-used eviction
15 // they want something more sophisticated (like scan-resistance, a
16 // custom eviction policy, variable cache sizing, etc.)
28 class LEVELDB_EXPORT Cache; variable
30 // Create a new cache with a fixed size capacity. This implementation
31 // of Cache uses a least-recently-used eviction policy.
[all …]
/external/libwebsockets/include/libwebsockets/
Dlws-cache-ttl.h2 * libwebsockets - small server side websockets and web server implementation
4 * Copyright (C) 2010 - 2021 Andy Green <andy@warmcat.com>
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25 /** \defgroup lws_cache_ttl Cache supporting expiry
26 * ##Cache supporting expiry
29 * that have a "destroy-by date" and cache limits that will be observed.
32 * L1 / heap cache type, it can have parents and grandparents of other types
33 * which are accessible why writing / looking up and getting from the L1 cache.
34 * The outer "cache" layer may persistently store items to a backing store.
40 * there is no special length limit as it is also allocated.
[all …]
/external/mesa3d/src/broadcom/common/
Dv3d_performance_counters.h17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
38 {"CORE", "cycle-count", "[CORE] Cycle counter"},
39 {"CORE", "core-active", "[CORE] Bin/Render/Compute active cycles"},
40 {"CLE", "CLE-bin-thread-active-cycles", "[CLE] Bin thread active cycles"},
41 {"CLE", "CLE-render-thread-active-cycles", "[CLE] Render thread active cycles"},
42 {"CORE", "compute-active-cycles", "[CORE] Compute active cycles"},
43 …{"FEP", "FEP-valid-primitives-no-rendered-pixels", "[FEP] Valid primitives that result in no rende…
44 …{"FEP", "FEP-valid-primitives-rendered-pixels", "[FEP] Valid primitives for all rendered tiles (pr…
45 {"FEP", "FEP-clipped-quads", "[FEP] Early-Z/Near/Far clipped quads"},
46 {"FEP", "FEP-valid-quads", "[FEP] Valid quads"},
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Dcache.h7 http://www.apache.org/licenses/LICENSE-2.0
21 // A Cache is an interface that maps keys to values. It has internal
24 // for new entries. Values have a specified charge against the cache
25 // capacity. For example, a cache where the values are variable
29 // A builtin cache implementation with a least-recently-used eviction
31 // they want something more sophisticated (like scan-resistance, a
32 // custom eviction policy, variable cache sizing, etc.)
40 class Cache; variable
42 // Create a new cache with a fixed size capacity. This implementation
43 // of Cache uses a least-recently-used eviction policy.
[all …]
/external/grpc-grpc-java/examples/android/clientcache/app/src/test/java/io/grpc/clientcacheexample/
DSafeMethodCachingInterceptorTest.java42 Metadata.Key.of("cache-control", Metadata.ASCII_STRING_MARSHALLER);
107 private final TestCache cache = new TestCache(); field in SafeMethodCachingInterceptorTest
122 SafeMethodCachingInterceptor.newSafeMethodCachingInterceptor(cache); in setUp()
191 "Unsatisfiable Request (only-if-cached set, but value not in cache)", in requestWithOnlyIfCachedOption_unavailableIfNotInCache()
226 "Unsatisfiable Request (no-cache and only-if-cached conflict)", in requestWithNoCacheAndOnlyIfCached_fails()
233 cacheControlDirectives.add("no-cache"); in responseNoCacheDirective_notCached()
244 Truth.assertThat(cache.internalCache).isEmpty(); in responseNoCacheDirective_notCached()
245 Truth.assertThat(cache.removedKeys).isEmpty(); in responseNoCacheDirective_notCached()
250 cacheControlDirectives.add("no-store"); in responseNoStoreDirective_notCached()
260 Truth.assertThat(cache.internalCache).isEmpty(); in responseNoStoreDirective_notCached()
[all …]
/external/crosvm/infra/recipes/health_check.expected/
Dbasic.json5 "[CACHE]/builder/crosvm/tools/presubmit",
6 "--list-checks",
9 "cwd": "[CACHE]/builder/crosvm",
11 "CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container"
30 "[CACHE]/builder/crosvm/tools/dev_container",
31 "--no-interactive",
32 "--verbose",
34 "--no-delta",
37 "cwd": "[CACHE]/builder/crosvm",
39 "CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container"
[all …]
/external/curl/.github/workflows/
Dosslq-linux.yml3 # SPDX-License-Identifier: curl
5 name: osslq-linux
10 - master
11 - '*/ci'
12 paths-ignore:
13 - '**/*.md'
14 - '**/CMakeLists.txt'
15 - '.azure-pipelines.yml'
16 - '.circleci/**'
17 - '.cirrus.yml'
[all …]
/external/mbedtls/include/mbedtls/
Dssl_cache.h4 * \brief SSL session cache implementation
8 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
35 #define MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES 50 /*!< Maximum entries in cache */
48 * \brief This structure is used for storing cache entries
65 * \brief Cache context
69 int MBEDTLS_PRIVATE(timeout); /*!< cache entry timeout */
77 * \brief Initialize an SSL cache context
79 * \param cache SSL cache context
81 void mbedtls_ssl_cache_init(mbedtls_ssl_cache_context *cache);
84 * \brief Cache get callback implementation
[all …]
/external/harfbuzz_ng/util/
Dface-options.hh12 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
21 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
57 unsigned face_index = (unsigned) -1;
59 } cache; member
69 face_options_t::cache_t face_options_t::cache {};
77 "No font file set"); in post_parse()
85 if (0 == strcmp (font_path, "-")) in post_parse()
95 if (!cache.font_path || 0 != strcmp (cache.font_path, font_path)) in post_parse()
97 hb_blob_destroy (cache.blob); in post_parse()
98 cache.blob = hb_blob_create_from_file_or_fail (font_path); in post_parse()
[all …]
/external/xz-java/src/org/tukaani/xz/
DArrayCache.java13 * Caches large arrays for reuse (base class and a dummy cache implementation).
21 * The {@code ArrayCache} API provides a way to cache large array allocations
28 * back to the cache in all situations.</b>
29 * This a reason why it's called a cache instead of a pool.
30 * If it is important to be able to return every array back to a cache,
33 * In compressors (OutputStreams) the arrays are returned to the cache
35 * successfully (no exceptions are thrown).
37 * In decompressors (InputStreams) the arrays are returned to the cache when
38 * the decompression is successfully finished ({@code read} returns {@code -1})
43 * decompressors, if one wants to put the arrays back to the cache without
[all …]
/external/python/httplib2/python3/
Dhttplib2test.py24 cacheDirName = ".cache"
85 "http://example.org/", httplib2.urlnorm("http://example.org")[-1]
88 "http://example.org/", httplib2.urlnorm("http://EXAMple.org")[-1]
91 "http://example.org/?=b", httplib2.urlnorm("http://EXAMple.org?=b")[-1]
95 httplib2.urlnorm("http://EXAMple.org/mypath?a=b")[-1],
98 "http://localhost:80/", httplib2.urlnorm("http://localhost:80")[-1]
106 self.fail("Non-absolute URIs should raise an exception")
127 httplib2.safename(httplib2.urlnorm("http://www")[-1]),
128 httplib2.safename(httplib2.urlnorm("http://WWW")[-1]),
147 "xn--http,-4y1d.org,fred,a=b,579924c35db315e5a32e3d9963388193",
[all …]
/external/google-cloud-java/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/
DBackendBucketCdnPolicyOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
30 …ass the cache when the specified request headers are matched - e.g. Pragma or Authorization header…
43 …ass the cache when the specified request headers are matched - e.g. Pragma or Authorization header…
56 …ass the cache when the specified request headers are matched - e.g. Pragma or Authorization header…
68 …ass the cache when the specified request headers are matched - e.g. Pragma or Authorization header…
83 …ass the cache when the specified request headers are matched - e.g. Pragma or Authorization header…
139cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Req…
152cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Req…
165cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Req…
179-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and def…
[all …]
DBackendServiceCdnPolicyOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
30 …ass the cache when the specified request headers are matched - e.g. Pragma or Authorization header…
43 …ass the cache when the specified request headers are matched - e.g. Pragma or Authorization header…
56 …ass the cache when the specified request headers are matched - e.g. Pragma or Authorization header…
68 …ass the cache when the specified request headers are matched - e.g. Pragma or Authorization header…
84 …ass the cache when the specified request headers are matched - e.g. Pragma or Authorization header…
133cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Req…
146cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Req…
159cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Req…
173-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and def…
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHeadersTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
39 "cache-control", "no-cache, no-store", in parseNameValueBlock()
40 "set-cookie", "Cookie1\u0000Cookie2", in parseNameValueBlock()
50 assertEquals("no-cache, no-store", headers.get("cache-control")); in parseNameValueBlock()
51 assertEquals("Cookie2", headers.get("set-cookie")); in parseNameValueBlock()
52 assertEquals("cache-control", headers.name(0)); in parseNameValueBlock()
53 assertEquals("no-cache, no-store", headers.value(0)); in parseNameValueBlock()
54 assertEquals("set-cookie", headers.name(1)); in parseNameValueBlock()
56 assertEquals("set-cookie", headers.name(2)); in parseNameValueBlock()
89 .header("cache-control", "no-cache, no-store") in spdy3HeadersList()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCacheControl.java7 * A Cache-Control header with cache directives from a server or client. These
11 * <p>See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">RFC
16 * Cache control request directives that require network validation of
17 * responses. Note that such requests may be assisted by the cache via
23 * Cache control request directives that uses the cache only, even if the
24 * cached response is stale. If the response isn't available in the cache or
68 this.sMaxAgeSeconds = -1; in CacheControl()
79 * In a response, this field's name "no-cache" is misleading. It doesn't
84 * <p>In a request, it means do not use a cache to satisfy the request.
104 * The "s-maxage" directive is the max age for shared caches. Not to be
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/
DSIMemoryLegalizer.cpp1 //===- SIMemoryLegalizer.cpp ----------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 /// Memory legalizer - implements memory model. More information can be
12 /// http://llvm.org/docs/AMDGPUUsage.html#memory-model
14 //===----------------------------------------------------------------------===//
30 #define DEBUG_TYPE "si-memory-legalizer"
34 "amdgcn-skip-cache-invalidations", cl::init(false), cl::Hidden,
35 cl::desc("Use this to skip inserting cache invalidating instructions."));
132 // There is also no cross address space ordering if the ordering in SIMemOpInfo()
[all …]
/external/python/google-api-python-client/docs/dyn/
Dcompute_alpha.backendBuckets.html8 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 …]

12345678910>>...50