- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Marche (0.32 sec)
-
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
}); uint64_t stat_cache_max_age = kStatCacheDefaultMaxAge; size_t stat_cache_max_entries = kStatCacheDefaultMaxEntries; const char* stat_cache_max_age_env = std::getenv(kStatCacheMaxAge); if (stat_cache_max_age_env && absl::SimpleAtoi(stat_cache_max_age_env, &value)) { stat_cache_max_age = value; } const char* stat_cache_max_entries_env = std::getenv(kStatCacheMaxEntries);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0)