Home
last modified time | relevance | path

Searched refs:cache_size (Results 1 – 25 of 132) sorted by relevance

123456

/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
Du_cache_test.c67 unsigned cache_size; in main() local
70 for (cache_size = 2; cache_size < (1 << 15); cache_size *= 2) { in main()
71 for (cache_count = (cache_size << 5); cache_count < (cache_size << 10); cache_count *= 2) { in main()
78 printf("Testing cache size of %d with %d values.\n", cache_size, cache_count); in main()
83 cache_size); in main()
/external/mesa3d/src/gallium/tests/unit/
Du_cache_test.c67 unsigned cache_size; in main() local
70 for (cache_size = 2; cache_size < (1 << 15); cache_size *= 2) { in main()
71 for (cache_count = (cache_size << 5); cache_count < (cache_size << 10); cache_count *= 2) { in main()
78 printf("Testing cache size of %d with %d values.\n", cache_size, cache_count); in main()
83 cache_size); in main()
/external/chromium_org/third_party/sqlite/src/test/
Dcache.test52 set cache_size [pager_cache_size db]
57 } $::cache_size
61 # This block of tests checks that it is possible to set the cache_size of a
64 # cache-2.1.*: Test that "PRAGMA cache_size" appears to work with small
66 # cache-2.2.*: Test that "PRAGMA main.cache_size" appears to work with
68 # cache-2.3.*: Test cache_size=1 correctly spills/flushes the cache.
69 # cache-2.4.*: Test cache_size=0 correctly spills/flushes the cache.
83 do_execsql_test cache-2.1.$i.1 "PRAGMA cache_size = $i"
84 do_execsql_test cache-2.1.$i.2 "PRAGMA cache_size" $i
86 do_execsql_test cache-2.1.$i.4 "PRAGMA cache_size" $i
[all …]
Dpragma.test27 # pragma-1.*: Test cache_size, default_cache_size and synchronous on main db.
30 # pragma-4.*: Test cache_size and default_cache_size on attached db.
40 # pragma-15.*: Test that the value set using the cache_size pragma is not
64 PRAGMA cache_size;
72 PRAGMA cache_size=1234;
73 PRAGMA cache_size;
82 PRAGMA cache_size;
90 PRAGMA cache_size;
97 PRAGMA cache_size=-4321;
98 PRAGMA cache_size;
[all …]
Dshared3.test49 PRAGMA main.cache_size = 10;
53 execsql { PRAGMA main.cache_size } db1
57 execsql { PRAGMA main.cache_size } db1
60 execsql { PRAGMA main.cache_size } db2
63 execsql { PRAGMA main.cache_size } db1
Dpcache.test33 # caches to the sum of the 'cache_size' values for the set of open
45 PRAGMA cache_size=12;
75 execsql "PRAGMA cache_size=10" db2
136 execsql { PRAGMA cache_size = 20 }
156 execsql { PRAGMA cache_size = 15 }
Dautovacuum_ioerr2.test46 PRAGMA cache_size = 10;
97 PRAGMA cache_size = 10;
107 PRAGMA cache_size = 10;
Dthread003.test69 # Both "cache_size" parameters are set to 15, so there is a maximum of
86 execsql { PRAGMA cache_size = 15 }
123 execsql { PRAGMA cache_size = 15 }
162 execsql { PRAGMA cache_size = 15 }
Dtkt2409.test89 PRAGMA cache_size=10;
122 execsql "PRAGMA cache_size = $iCache"
157 PRAGMA cache_size=10;
190 PRAGMA cache_size=20;
Dtkt-2d1a5c67d.test28 db eval "PRAGMA cache_size=$::ii"
61 db eval "PRAGMA cache_size=$::ii"
Dpcache2.test39 db eval {PRAGMA cache_size=10}
45 db2 eval {PRAGMA cache_size=50}
Dsavepoint3.test32 PRAGMA cache_size = 10;
52 PRAGMA cache_size = 10;
112 PRAGMA cache_size = 1000;
Dbackup_malloc.test24 PRAGMA cache_size = 10;
39 execsql { PRAGMA cache_size = 10 } db2
/external/chromium_org/third_party/leveldatabase/src/doc/bench/
Ddb_bench_sqlite3.cc218 std::string cache_size; in PrintEnvironment() local
230 cache_size = val.ToString(); in PrintEnvironment()
235 fprintf(stderr, "CPUCache: %s\n", cache_size.c_str()); in PrintEnvironment()
439 char cache_size[100]; in Open() local
440 snprintf(cache_size, sizeof(cache_size), "PRAGMA cache_size = %d", in Open()
442 status = sqlite3_exec(db_, cache_size, NULL, NULL, &err_msg); in Open()
/external/eigen/bench/
Dcheck_cache_queries.cpp69 int cache_size = (ways+1) * (partitions+1) * (line_size+1) * (sets+1); in main() local
77 cout << "cache[" << cache_id << "].size = " << cache_size << "\n"; in main()
Dbench_gemm.cpp132 int cache_size = -1; in main() local
140 cache_size = atoi(argv[i]+1); in main()
155 if(cache_size>0) in main()
156 setCpuCacheSizes(cache_size,96*cache_size); in main()
/external/chromium/net/disk_cache/
Dbackend_unittest.cc367 const int cache_size = 0x10000; // 64 kB in BackendSetSize() local
368 SetMaxSize(cache_size); in BackendSetSize()
376 scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(cache_size)); in BackendSetSize()
377 memset(buffer->data(), 0, cache_size); in BackendSetSize()
378 EXPECT_EQ(cache_size / 10, WriteData(entry, 0, 0, buffer, cache_size / 10, in BackendSetSize()
381 EXPECT_EQ(net::ERR_FAILED, WriteData(entry, 1, 0, buffer, cache_size / 5, in BackendSetSize()
385 SetMaxSize(cache_size * 2); in BackendSetSize()
386 EXPECT_EQ(cache_size / 5, WriteData(entry, 1, 0, buffer, cache_size / 5, in BackendSetSize()
390 SetMaxSize(cache_size * 10); in BackendSetSize()
391 EXPECT_EQ(cache_size * 3 / 4, WriteData(entry, 0, 0, buffer, in BackendSetSize()
[all …]
Dstress_cache.cc94 int cache_size = 0x800000; // 8MB in StressTheCache() local
105 path, false, cache_size, net::DISK_CACHE, in StressTheCache()
/external/chromium_org/webkit/browser/appcache/
Dappcache_unittest.cc63 EXPECT_EQ(0L, cache->cache_size()); in TEST()
72 EXPECT_EQ(kFooSize, cache->cache_size()); in TEST()
81 EXPECT_EQ(kFooSize + kBarSize, cache->cache_size()); in TEST()
91 EXPECT_EQ(kFooSize + kBarSize, cache->cache_size()); in TEST()
96 EXPECT_EQ(kFooSize, cache->cache_size()); in TEST()
98 EXPECT_EQ(0L, cache->cache_size()); in TEST()
594 EXPECT_EQ(1 + 2 + 3, cache_record.cache_size); in TEST()
615 EXPECT_EQ(1 + 2 + 3, cache->cache_size()); in TEST()
/external/chromium/app/sql/
Dconnection.h126 void set_cache_size(int cache_size) { cache_size_ = cache_size; } in set_cache_size() argument
/external/chromium_org/net/disk_cache/simple/
Dsimple_index_file.h58 IndexMetadata(uint64 number_of_entries, uint64 cache_size);
90 uint64 cache_size,
Dsimple_index_file.cc154 uint64 number_of_entries, uint64 cache_size) in IndexMetadata() argument
158 cache_size_(cache_size) {} in IndexMetadata()
265 uint64 cache_size, in WriteToDisk() argument
268 IndexMetadata index_metadata(entry_set.size(), cache_size); in WriteToDisk()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dsysteminfo.cc66 static void GetProcessorInformation(int* physical_cpus, int* cache_size) { in GetProcessorInformation() argument
87 *cache_size = 0; in GetProcessorInformation()
94 if (next_cache_size >= *cache_size) { in GetProcessorInformation()
95 *cache_size = next_cache_size; in GetProcessorInformation()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_quarantine.h49 void Init(uptr size, uptr cache_size) { in Init() argument
52 max_cache_size_ = cache_size; in Init()
/external/chromium/third_party/libjingle/source/talk/base/
Ddiskcache.cc232 size_t cache_size = 0; in CheckLimit() local
234 cache_size += it->second.size; in CheckLimit()
236 ASSERT(cache_size == total_size_); in CheckLimit()

123456