HomeSort by relevance Sort by last modified time
    Searched full:cache (Results 76 - 100 of 6143) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/webkit/LayoutTests/http/tests/appcache/resources/
resource-redirect.php 3 header("Cache-Control: no-cache, must-revalidate");
4 header("Pragma: no-cache");
versioned-manifest.php 24 header("Cache-Control: no-cache, must-revalidate");
25 header("Pragma: no-cache");
26 header("Content-Type: text/cache-manifest");
31 print("CACHE MANIFEST\n");
34 print("uncacheable-resource.php\n"); // with Cache-control: no-store
  /external/webkit/LayoutTests/http/tests/cookies/resources/
getCookies.cgi 5 print "Cache-Control: no-store\n";
6 print 'Cache-Control: no-cache="set-cookie"' . "\n";
setCookies.cgi 5 print "Cache-Control: no-store\n";
6 print 'Cache-Control: no-cache="set-cookie"' . "\n";
  /external/guava/guava-tests/test/com/google/common/cache/
CacheReferencesTest.java 15 package com.google.common.cache;
17 import static com.google.common.cache.LocalCache.Strength.STRONG;
18 import static com.google.common.cache.TestingRemovalListeners.countingRemovalListener;
23 import com.google.common.cache.LocalCache.Strength;
24 import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener;
64 for (LoadingCache<Key, String> cache : caches()) {
65 // maintain strong refs so these won't be collected, regardless of cache's key/value strength
68 assertSame(value, cache.getUnchecked(key));
69 assertTrue(cache.asMap().containsKey(key));
70 assertTrue(cache.asMap().containsValue(value))
    [all...]
CacheRefreshTest.java 15 package com.google.common.cache;
17 import static com.google.common.cache.TestingCacheLoaders.incrementingLoader;
20 import com.google.common.cache.TestingCacheLoaders.IncrementingLoader;
26 * Tests relating to automatic cache refreshing.
34 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local
43 assertEquals(Integer.valueOf(i), cache.getUnchecked(i));
50 assertEquals(Integer.valueOf(0), cache.getUnchecked(0));
51 assertEquals(Integer.valueOf(1), cache.getUnchecked(1));
52 assertEquals(Integer.valueOf(2), cache.getUnchecked(2));
58 assertEquals(Integer.valueOf(1), cache.getUnchecked(0))
    [all...]
CacheTesting.java 15 package com.google.common.cache;
26 import com.google.common.cache.LocalCache.LocalLoadingCache;
27 import com.google.common.cache.LocalCache.ReferenceEntry;
28 import com.google.common.cache.LocalCache.Segment;
29 import com.google.common.cache.LocalCache.ValueReference;
51 * A collection of utilities for {@link Cache} testing.
58 * Poke into the Cache internals to simulate garbage collection of the value associated with the
64 static <K, V> void simulateValueReclamation(Cache<K, V> cache, K key) {
65 ReferenceEntry<K, V> entry = getReferenceEntry(cache, key)
    [all...]
PopulatedCachesTest.java 15 package com.google.common.cache;
17 import static com.google.common.cache.CacheTesting.checkEmpty;
18 import static com.google.common.cache.CacheTesting.checkValidState;
19 import static com.google.common.cache.TestingCacheLoaders.identityLoader;
27 import com.google.common.cache.CacheBuilderFactory.DurationSpec;
28 import com.google.common.cache.LocalCache.Strength;
58 for (LoadingCache<Object, Object> cache : caches()) {
60 List<Entry<Object, Object>> warmed = warmUp(cache);
61 assertEquals(WARMUP_SIZE, cache.size());
62 assertMapSize(cache.asMap(), WARMUP_SIZE)
    [all...]
  /external/webkit/LayoutTests/http/tests/appcache/
origins-with-appcache-expected.txt 1 This test verifies that ApplicationCacheStorage can report the set of origins that have an application cache. First, it tests that no origins are reported after all application caches are removed. Then, it loads an iframe that places a PNG into an application cache for the DumpRenderTree origin, and tests that this origin is now reported to have application cache.
3 Origins with application cache after deletion:
4 Origins with application cache after frame was cached: http_127.0.0.1_8000
remove-cache-expected.txt 1 Test that a 404 response for manifest results in cache removal.
3 Frame 1: Manifest is still available, so a new master resource is added to the cache.
4 Frame 2: Manifest loading results in 404 response, so the cache group becomes obsolete, and an obsolete event is dispatched (because the document in frame was associated with a cache in the group).
5 Frame 3: Manifest is still 404 - the document is never associated with a cache.
6 Frame 4: Manifest is now available, so the document gets associated with a cache in a newly created group; the obsolete cache group is not affected.
  /external/chromium/chrome/browser/ui/cocoa/
table_row_nsimage_cache_unittest.mm 51 TableRowNSImageCache cache(&table);
53 NSImage* image0 = cache.GetImageForRow(0);
54 NSImage* image1 = cache.GetImageForRow(1);
55 NSImage* image2 = cache.GetImageForRow(2);
69 cache.OnModelChanged();
71 EXPECT_NE(image0, cache.GetImageForRow(0));
72 image0 = cache.GetImageForRow(0);
74 EXPECT_NE(image1, cache.GetImageForRow(1));
75 image1 = cache.GetImageForRow(1);
77 EXPECT_NE(image2, cache.GetImageForRow(2))
    [all...]
  /external/chromium/net/ftp/
ftp_auth_cache_unittest.cc 32 FtpAuthCache cache; local
38 EXPECT_TRUE(cache.Lookup(origin1) == NULL);
41 cache.Add(origin1, kUsername1, kPassword1);
42 FtpAuthCache::Entry* entry1 = cache.Lookup(origin1);
49 cache.Add(origin2, kUsername2, kPassword2);
50 FtpAuthCache::Entry* entry2 = cache.Lookup(origin2);
57 EXPECT_EQ(entry1, cache.Lookup(origin1));
60 cache.Add(origin1, kUsername3, kPassword3);
61 FtpAuthCache::Entry* entry3 = cache.Lookup(origin1);
68 cache.Remove(origin1, kUsername3, kPassword3)
79 FtpAuthCache cache; local
95 FtpAuthCache cache; local
120 FtpAuthCache cache; local
135 FtpAuthCache cache; local
    [all...]
  /external/chromium/net/base/
ssl_client_auth_cache_unittest.cc 14 SSLClientAuthCache cache; local
34 EXPECT_FALSE(cache.Lookup(server1, &cached_cert));
37 cache.Add(server1, cert1);
39 EXPECT_TRUE(cache.Lookup(server1, &cached_cert));
43 cache.Add(server2, cert2);
45 EXPECT_TRUE(cache.Lookup(server1, &cached_cert));
48 EXPECT_TRUE(cache.Lookup(server2, &cached_cert));
52 cache.Add(server1, cert3);
54 EXPECT_TRUE(cache.Lookup(server1, &cached_cert));
57 EXPECT_TRUE(cache.Lookup(server2, &cached_cert))
80 SSLClientAuthCache cache; local
106 SSLClientAuthCache cache; local
142 SSLClientAuthCache cache; local
    [all...]
host_cache_unittest.cc 30 HostCache cache(kMaxCacheEntries, kSuccessEntryTTL, kFailureEntryTTL);
38 EXPECT_EQ(0U, cache.size());
41 EXPECT_TRUE(cache.Lookup(Key("foobar.com"), base::TimeTicks()) == NULL);
42 cache.Set(Key("foobar.com"), OK, AddressList(), now);
43 entry1 = cache.Lookup(Key("foobar.com"), base::TimeTicks());
45 EXPECT_EQ(1U, cache.size());
51 EXPECT_TRUE(cache.Lookup(Key("foobar2.com"), base::TimeTicks()) == NULL);
52 cache.Set(Key("foobar2.com"), OK, AddressList(), now);
53 entry2 = cache.Lookup(Key("foobar2.com"), base::TimeTicks());
55 EXPECT_EQ(2U, cache.size())
    [all...]
  /frameworks/volley/src/com/android/volley/
Cache.java 23 * An interface for a cache keyed by a String with a byte array as data.
25 public interface Cache {
27 * Retrieves an entry from the cache.
28 * @param key Cache key
29 * @return An {@link Entry} or null in the event of a cache miss
34 * Adds or replaces an entry to the cache.
35 * @param key Cache key
36 * @param entry Data to store and metadata for cache coherency, TTL, etc.
41 * Performs any potentially long-running actions needed to initialize the cache;
47 * Invalidates an entry in the cache
    [all...]
  /external/chromium/net/disk_cache/
cache_util.h 15 // Moves the cache files from the given path to another location.
18 // for the cache directory. Returns true if successful. On ChromeOS,
19 // this moves the cache contents, and leaves the empty cache
23 // Deletes the cache files stored on |path|, and optionally also attempts to
27 // Deletes a cache file.
  /external/compiler-rt/lib/tsan/lit_tests/
static_init2.cc 6 struct Cache {
8 explicit Cache(int x)
13 void foo(Cache *my) {
14 static Cache *c = my ? my : new Cache(rand());
20 foo(new Cache(rand()));
static_init3.cc 7 struct Cache {
11 Cache g_cache;
13 Cache *CreateCache() {
18 _Atomic(Cache*) queue;
21 static Cache *c = CreateCache();
27 Cache *c = 0;
static_init5.cc 7 struct Cache {
9 explicit Cache(int x)
15 return new Cache((int)(long)p);
18 Cache *CreateCache() {
23 return (Cache*)res;
27 static Cache *c = CreateCache();
static_init6.cc 7 struct Cache {
9 explicit Cache(int x)
15 return new Cache((int)(long)p);
18 Cache *CreateCache() {
23 return (Cache*)res;
27 static Cache *c = CreateCache();
  /external/freetype/src/cache/
ftccache.h 5 /* FreeType internal cache interface (specification). */
31 /* handle to cache object */
34 /* handle to cache class */
41 /***** CACHE NODE DEFINITIONS *****/
48 /* Each cache controls one or more cache nodes. Each node is part of */
53 /* the cache. It can be an individual glyph image, a set of bitmaps */
64 FT_UShort cache_index; /* index of cache the node belongs to */
77 #define FTC_NODE__TOP_FOR_HASH( cache, hash ) \
78 ( ( cache )->buckets +
174 FTC_Cache_Init( FTC_Cache cache ); variable
178 FTC_Cache_Done( FTC_Cache cache ); variable
    [all...]
  /external/chromium/chrome/browser/sync/tools/
DEPS 2 # sync_tools depends on the google cache invalidation API.
  /external/chromium/net/data/proxy_script_fetcher_unittest/
cacheable_1hr.pac.mock-http-headers 3 Cache-Control: public, max-age=3600
  /external/linux-tools-perf/Documentation/
perf-buildid-cache.txt 1 perf-buildid-cache(1)
6 perf-buildid-cache - Manage build-id cache.
11 'perf buildid-cache <options>'
15 This command manages the build-id cache. It can add and remove files to/from
16 the cache. In the future it should as well purge older entries, set upper
17 limits for the space used by the cache, etc.
23 Add specified file to the cache.
26 Remove specified file from the cache.
  /external/valgrind/main/cachegrind/tests/
filter_stderr 8 sed "/^Cachegrind, a cache and branch-prediction profiler/ , /./ d" |
17 sed "/warning: Pentium 4 with 12 KB micro-op instruction trace cache/d" |
18 sed "/Simulating a 16 KB I-cache with 32 B lines/d" |
19 sed "/warning: L3 cache found, using its data for the LL simulation./d" |
20 sed "/Warning: Cannot auto-detect cache config on PPC.., using one or more defaults/d" |
21 sed "/Warning: Cannot auto-detect cache config on ARM, using one or more defaults/d" |
22 sed "/Warning: Cannot auto-detect cache config on s390x, using one or more defaults/d" |
23 sed "/Warning: Cannot auto-detect cache config on MIPS.., using one or more defaults/d" |
24 sed "/warning: pretending that LL cache has associativity .*$/d"

Completed in 537 milliseconds

1 2 34 5 6 7 8 91011>>