- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 738 for cache (0.23 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
auto ram_file_block_cache = static_cast<RamFileBlockCache*>(param); ram_file_block_cache->Prune(); } private: /// The size of the blocks stored in the LRU cache, as well as the size of the /// reads from the underlying filesystem. const size_t block_size_; /// The maximum number of bytes (sum of block sizes) allowed in the LRU cache. const size_t max_bytes_;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:46:34 GMT 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
EXPECT_TRUE(cache.Lookup("b", &value)); EXPECT_EQ(value, 2); EXPECT_TRUE(cache.Lookup("c", &value)); EXPECT_EQ(value, 3); EXPECT_TRUE(cache.Lookup("d", &value)); EXPECT_EQ(value, 4); cache.Clear(); EXPECT_FALSE(cache.Lookup("a", &value)); EXPECT_FALSE(cache.Lookup("b", &value)); EXPECT_FALSE(cache.Lookup("c", &value)); EXPECT_FALSE(cache.Lookup("d", &value)); }
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.cc
new_entry->timestamp = timer_seconds_(); block_map_.emplace(std::make_pair(key, new_entry)); return new_entry; } // Remove blocks from the cache until we do not exceed our maximum size. void RamFileBlockCache::Trim() { while (!lru_list_.empty() && cache_size_ > max_bytes_) { RemoveBlock(block_map_.find(lru_list_.back())); } } /// Move the block to the front of the LRU list if it isn't already there.
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
calls.push_back(block_size); // Cache miss followed by cache hit. 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));
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) -
cmd/data-usage-cache_test.go
Krishnan Parthasarathi <******@****.***> 1705132268 -0800
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Jan 13 07:51:08 GMT 2024 - 2.6K bytes - Viewed (0) -
cmd/data-usage-cache_gen_test.go
Krishnan Parthasarathi <******@****.***> 1705132268 -0800
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Jan 13 07:51:08 GMT 2024 - 28.1K bytes - Viewed (0) -
.idea/runConfigurations/Test__Partial_Linkage_Native___cache_dist.xml
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="Test: Partial Linkage Native / cache dist" type="GradleRunConfiguration" factoryName="Gradle" folderName="Tests"> <ExternalSystemSettings> <option name="executionName" /> <option name="externalProjectPath" value="$PROJECT_DIR$" /> <option name="externalSystemIdString" value="GRADLE" />
XML - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Mar 29 15:41:06 GMT 2023 - 1K bytes - Viewed (0) -
.idea/runConfigurations/Test__Partial_Linkage_Native___cache_everywhere.xml
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="Test: Partial Linkage Native / cache everywhere" type="GradleRunConfiguration" factoryName="Gradle" folderName="Tests"> <ExternalSystemSettings> <option name="executionName" /> <option name="externalProjectPath" value="$PROJECT_DIR$" /> <option name="externalSystemIdString" value="GRADLE" />
XML - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Mar 29 15:41:06 GMT 2023 - 1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheEvictionTest.java
assertEquals(MAX_SIZE, cache.size()); CacheTesting.processPendingNotifications(cache); assertEquals(MAX_SIZE, removalListener.getCount()); CacheTesting.checkValidState(cache); } /** * With an unlimited-size cache with maxWeight of 0, entries weighing 0 should still be cached. * Entries with positive weight should not be cached (nor dump existing cache). */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 14.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* Cache.asMap().putIfAbsent} after loading has completed; if another value was associated with * {@code key} while the new value was loading then a removal notification will be sent for the * new value. * * <p>If the cache loader associated with this cache is known not to throw checked exceptions, * then prefer {@link #getUnchecked} over this method. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Aug 06 17:12:03 GMT 2022 - 8.3K bytes - Viewed (0)