- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for max_bytes_ (0.26 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
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. void RamFileBlockCache::UpdateLRU(const Key& key,
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/gcs_filesystem.cc
const char* block_size_env = std::getenv(kBlockSize); if (block_size_env && absl::SimpleAtoi(block_size_env, &value)) { block_size = value * 1024 * 1024; } const char* max_bytes_env = std::getenv(kMaxCacheSize); if (max_bytes_env && absl::SimpleAtoi(max_bytes_env, &value)) { max_bytes = static_cast<size_t>(value * 1024 * 1024); } const char* max_staleness_env = std::getenv(kMaxStaleness);
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)