Home
last modified time | relevance | path

Searched refs:test_cache (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/wtf/
H A Dlru_cache_test.cc17 LruCache<int, int> test_cache(1); in TEST() local
18 EXPECT_EQ(test_cache.Get(0), nullptr); in TEST()
25 EXPECT_EQ(test_cache.size(), 0u); in TEST()
27 test_cache.Put(i, kOffset + i); in TEST()
34 test_cache.Clear(); in TEST()
35 EXPECT_EQ(test_cache.size(), 0u); in TEST()
44 EXPECT_EQ(test_cache.size(), 0u); in TEST()
56 test_cache.Put(1, test_strings[0]); in TEST()
62 test_cache.Clear(); in TEST()
63 EXPECT_EQ(test_cache.size(), 0u); in TEST()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/
H A Dlru_cache_test.cc17 LruCache<int, int> test_cache(1); in TEST() local
18 EXPECT_EQ(test_cache.Get(0), nullptr); in TEST()
25 EXPECT_EQ(test_cache.size(), 0u); in TEST()
27 test_cache.Put(i, kOffset + i); in TEST()
34 test_cache.Clear(); in TEST()
35 EXPECT_EQ(test_cache.size(), 0u); in TEST()
44 EXPECT_EQ(test_cache.size(), 0u); in TEST()
56 test_cache.Put(1, test_strings[0]); in TEST()
62 test_cache.Clear(); in TEST()
63 EXPECT_EQ(test_cache.size(), 0u); in TEST()
[all …]
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/
H A Dmap_memory_test.cpp139 CHECK( first_val == test_cache[ y_offset + x ] ); in check_quadrants()
143 CHECK( second_val == test_cache[ y_offset + x ] ); in check_quadrants()
151 CHECK( third_val == test_cache[ y_offset + x ] ); in check_quadrants()
155 CHECK( fourth_val == test_cache[ y_offset + x ] ); in check_quadrants()
165 std::bitset<MAPSIZE *SEEX *MAPSIZE *SEEY> test_cache; variable
168 test_cache.set();
170 shift_bitset_cache<MAPSIZE_X, SEEX>( test_cache, point_east );
172 check_quadrants( test_cache, point( last_twelve, 0 ),
179 check_quadrants( test_cache, point( first_twelve, 0 ),
186 check_quadrants( test_cache, point( 0, last_twelve ),
[all …]
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/
H A Dmap_memory_test.cpp139 CHECK( first_val == test_cache[ y_offset + x ] ); in check_quadrants()
143 CHECK( second_val == test_cache[ y_offset + x ] ); in check_quadrants()
151 CHECK( third_val == test_cache[ y_offset + x ] ); in check_quadrants()
155 CHECK( fourth_val == test_cache[ y_offset + x ] ); in check_quadrants()
165 std::bitset<MAPSIZE *SEEX *MAPSIZE *SEEY> test_cache; variable
168 test_cache.set();
170 shift_bitset_cache<MAPSIZE_X, SEEX>( test_cache, point_east );
172 check_quadrants( test_cache, point( last_twelve, 0 ),
179 check_quadrants( test_cache, point( first_twelve, 0 ),
186 check_quadrants( test_cache, point( 0, last_twelve ),
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/tests/sel_main_chrome/
H A Dsel_main_chrome_test.cc200 struct NaClValidationCache test_cache; in main() local
202 test_cache.handle = NULL; in main()
203 test_cache.CreateQuery = &TestCreateQuery; in main()
204 test_cache.AddData = &TestAddData; in main()
205 test_cache.QueryKnownToValidate = &TestQueryKnownToValidate; in main()
206 test_cache.SetKnownToValidate = &TestSetKnownToValidate; in main()
207 test_cache.DestroyQuery = &TestDestroyQuery; in main()
208 test_cache.CachingIsInexpensive = &TestCachingIsInexpensive; in main()
209 args->validation_cache = &test_cache; in main()
/dports/www/p5-Template-Alloy/Template-Alloy-1.022/t/
H A D02_cache.t107 sub test_cache {
137 test_cache([$test_dir, $name, 1],
154 test_cache([$test_dir, $name, 1],
169 test_cache([$test_dir, $name, 1],
192 test_cache([$test_dir, $name, 1],
206 test_cache([$test_dir, $name, 1],
220 test_cache([$test_dir, $name, 1],
235 test_cache([$test_dir, $name, 1],
281 test_cache([$test_dir, $name, 1],
296 test_cache([$test_dir, $name, 1],
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/mm/kfence/
H A Dkfence_test.c167 static struct kmem_cache *test_cache; variable
191 if (!test_cache) in test_cache_destroy()
194 kmem_cache_destroy(test_cache); in test_cache_destroy()
195 test_cache = NULL; in test_cache_destroy()
206 if (test_cache) in test_free()
207 kmem_cache_free(test_cache, ptr); in test_free()
249 policy_name, !!test_cache); in test_alloc()
263 if (test_cache) in test_alloc()
316 if (!test_cache) in test_out_of_bounds_read()
499 KUNIT_EXPECT_TRUE(test, test_cache); in test_shrink_memcache()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/mm/kfence/
H A Dkfence_test.c167 static struct kmem_cache *test_cache; variable
191 if (!test_cache) in test_cache_destroy()
194 kmem_cache_destroy(test_cache); in test_cache_destroy()
195 test_cache = NULL; in test_cache_destroy()
206 if (test_cache) in test_free()
207 kmem_cache_free(test_cache, ptr); in test_free()
249 policy_name, !!test_cache); in test_alloc()
263 if (test_cache) in test_alloc()
316 if (!test_cache) in test_out_of_bounds_read()
499 KUNIT_EXPECT_TRUE(test, test_cache); in test_shrink_memcache()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/mm/kfence/
H A Dkfence_test.c167 static struct kmem_cache *test_cache; variable
191 if (!test_cache) in test_cache_destroy()
194 kmem_cache_destroy(test_cache); in test_cache_destroy()
195 test_cache = NULL; in test_cache_destroy()
206 if (test_cache) in test_free()
207 kmem_cache_free(test_cache, ptr); in test_free()
249 policy_name, !!test_cache); in test_alloc()
263 if (test_cache) in test_alloc()
316 if (!test_cache) in test_out_of_bounds_read()
499 KUNIT_EXPECT_TRUE(test, test_cache); in test_shrink_memcache()
[all …]
/dports/devel/automake/automake-1.16.5/t/
H A Dmaintclean.sh53 test_cache='test -d autom4te.cache'
55 test_cache=:
64 $test_cache
74 $test_cache
H A Dmaintclean-vpath.sh53 test_cache='test -d ../autom4te.cache'
55 test_cache=:
70 $test_cache
80 $test_cache
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/cache_storage/
H A Dcache_test.cc279 ErrorCacheForTests* test_cache() { return cache_.get(); } in test_cache() function in blink::__anon077c68040111::CacheStorageTest
389 test_cache()->GetAndClearLastErrorWebCacheMethodCalled()); in TEST_F()
394 test_cache()->SetExpectedUrl(&url); in TEST_F()
399 test_cache()->SetExpectedCacheQueryOptions(&expected_query_options); in TEST_F()
410 test_cache()->GetAndClearLastErrorWebCacheMethodCalled()); in TEST_F()
416 test_cache()->GetAndClearLastErrorWebCacheMethodCalled()); in TEST_F()
425 test_cache()->GetAndClearLastErrorWebCacheMethodCalled()); in TEST_F()
431 test_cache()->GetAndClearLastErrorWebCacheMethodCalled()); in TEST_F()
436 test_cache()->GetAndClearLastErrorWebCacheMethodCalled()); in TEST_F()
513 test_cache()->SetExpectedBatchOperations(&expected_put_operations); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/cache_storage/
H A Dcache_test.cc305 ErrorCacheForTests* test_cache() { return cache_.get(); } in test_cache() function in blink::__anon681adce90111::CacheStorageTest
415 test_cache()->GetAndClearLastErrorWebCacheMethodCalled()); in TEST_F()
420 test_cache()->SetExpectedUrl(&url); in TEST_F()
425 test_cache()->SetExpectedCacheQueryOptions(&expected_query_options); in TEST_F()
436 test_cache()->GetAndClearLastErrorWebCacheMethodCalled()); in TEST_F()
442 test_cache()->GetAndClearLastErrorWebCacheMethodCalled()); in TEST_F()
451 test_cache()->GetAndClearLastErrorWebCacheMethodCalled()); in TEST_F()
457 test_cache()->GetAndClearLastErrorWebCacheMethodCalled()); in TEST_F()
462 test_cache()->GetAndClearLastErrorWebCacheMethodCalled()); in TEST_F()
539 test_cache()->SetExpectedBatchOperations(&expected_put_operations); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/games/core/
H A Dhighlighted_games_store_unittest.cc49 base::Optional<Game> test_cache = in AssertCacheEmpty() local
51 ASSERT_FALSE(test_cache.has_value()); in AssertCacheEmpty()
161 auto test_cache = highlighted_games_store_->TryGetFromCache(); in TEST_F() local
162 EXPECT_TRUE(test_cache); in TEST_F()
163 test::ExpectProtosEqual(fake_selected_game, test_cache.value()); in TEST_F()
225 base::Optional<Game> test_cache = highlighted_games_store_->TryGetFromCache(); in TEST_F() local
226 ASSERT_TRUE(test_cache.has_value()); in TEST_F()
227 test::ExpectProtosEqual(fake_selected_game, test_cache.value()); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/games/core/
H A Dhighlighted_games_store_unittest.cc49 base::Optional<Game> test_cache = in AssertCacheEmpty() local
51 ASSERT_FALSE(test_cache.has_value()); in AssertCacheEmpty()
161 auto test_cache = highlighted_games_store_->TryGetFromCache(); in TEST_F() local
162 EXPECT_TRUE(test_cache); in TEST_F()
163 test::ExpectProtosEqual(fake_selected_game, test_cache.value()); in TEST_F()
225 base::Optional<Game> test_cache = highlighted_games_store_->TryGetFromCache(); in TEST_F() local
226 ASSERT_TRUE(test_cache.has_value()); in TEST_F()
227 test::ExpectProtosEqual(fake_selected_game, test_cache.value()); in TEST_F()
/dports/devel/cmake-gui/cmake-3.22.1/Tests/RunCMake/get_filename_component/
H A DKnownComponents.cmake100 get_filename_component(test_cache "/path/to/filename.ext.in" DIRECTORY CACHE)
101 check("CACHE 1" "${test_cache}" "/path/to")
103 get_filename_component(test_cache "/path/to/other/filename.ext.in" DIRECTORY CACHE)
104 check("CACHE 2" "${test_cache}" "/path/to")
105 unset(test_cache CACHE)
106 get_filename_component(test_cache "/path/to/other/filename.ext.in" DIRECTORY CACHE)
107 check("CACHE 3" "${test_cache}" "/path/to/other")
109 list(APPEND cache_vars test_cache)
/dports/devel/cmake/cmake-3.22.1/Tests/RunCMake/get_filename_component/
H A DKnownComponents.cmake100 get_filename_component(test_cache "/path/to/filename.ext.in" DIRECTORY CACHE)
101 check("CACHE 1" "${test_cache}" "/path/to")
103 get_filename_component(test_cache "/path/to/other/filename.ext.in" DIRECTORY CACHE)
104 check("CACHE 2" "${test_cache}" "/path/to")
105 unset(test_cache CACHE)
106 get_filename_component(test_cache "/path/to/other/filename.ext.in" DIRECTORY CACHE)
107 check("CACHE 3" "${test_cache}" "/path/to/other")
109 list(APPEND cache_vars test_cache)
/dports/devel/cmake-doc/cmake-3.22.1/Tests/RunCMake/get_filename_component/
H A DKnownComponents.cmake100 get_filename_component(test_cache "/path/to/filename.ext.in" DIRECTORY CACHE)
101 check("CACHE 1" "${test_cache}" "/path/to")
103 get_filename_component(test_cache "/path/to/other/filename.ext.in" DIRECTORY CACHE)
104 check("CACHE 2" "${test_cache}" "/path/to")
105 unset(test_cache CACHE)
106 get_filename_component(test_cache "/path/to/other/filename.ext.in" DIRECTORY CACHE)
107 check("CACHE 3" "${test_cache}" "/path/to/other")
109 list(APPEND cache_vars test_cache)
/dports/www/nginx-full/ngx_cache_purge-4746629/t/
H A Dresptype1.t11 proxy_cache_path /tmp/ngx_cache_purge_cache keys_zone=test_cache:10m;
21 proxy_cache test_cache;
28 proxy_cache_purge test_cache $1$is_args$args;
33 proxy_cache_purge test_cache $1$is_args$args;
37 proxy_cache_purge test_cache $1$is_args$args;
42 proxy_cache_purge test_cache $1$is_args$args;
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tests/
H A DImageCacheTest.cpp45 static void test_cache(skiatest::Reporter* reporter, SkResourceCache& cache, bool testPurge) { in test_cache() function
121 test_cache(reporter, cache, true); in DEF_TEST()
127 test_cache(reporter, cache, true); in DEF_TEST()
131 test_cache(reporter, cache, false); in DEF_TEST()
/dports/www/nginx-full/ngx_slowfs_cache-d011a18/t/
H A Dsmall_file.t11 slowfs_cache_path /tmp/ngx_slowfs_cache keys_zone=test_cache:10m;
18 slowfs_cache test_cache;
25 slowfs_cache_purge test_cache $1$is_args$args;
H A Dbig_file.t11 slowfs_cache_path /tmp/ngx_slowfs_cache keys_zone=test_cache:10m;
20 slowfs_cache test_cache;
27 slowfs_cache_purge test_cache $1$is_args$args;
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/tests/
H A Dtest_cache.cxx24 void test_cache() in test_cache() function
42 TESTMAIN(test_cache);
H A Dtest_driver.cxx4 DECLARE( test_cache );
17 REGISTER( test_cache ); in register_tests()
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/cache/test/mochitest/
H A Dmochitest.ini3 test_cache.js
28 [test_cache.html]

12345678910>>...13