- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Pauses (0.25 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
EXPECT_TRUE(cache2.Lookup("b", &value)); EXPECT_EQ(value, 2); EXPECT_TRUE(cache2.Lookup("c", &value)); EXPECT_EQ(value, 3); EXPECT_TRUE(cache2.Lookup("d", &value)); EXPECT_EQ(value, 4); // Insertion of "e" causes "a" to be evicted, but the other entries are still // there. cache2.Insert("e", 5); EXPECT_FALSE(cache2.Lookup("a", &value)); EXPECT_TRUE(cache2.Lookup("b", &value)); EXPECT_EQ(value, 2);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 7.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
TF_EXPECT_OK(ReadCache(&cache, "", block_size, 1, &out)); TF_EXPECT_OK(ReadCache(&cache, "", block_size, 1, &out)); calls.push_back(2 * block_size); // Cache miss followed by cache hit. Causes eviction of LRU element. TF_EXPECT_OK(ReadCache(&cache, "", 2 * block_size, 1, &out)); TF_EXPECT_OK(ReadCache(&cache, "", 2 * block_size, 1, &out)); // LRU element was at offset 0. Cache miss. calls.push_back(0);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0)