- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for UpdateLRU (0.16 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
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, const std::shared_ptr<Block>& block, TF_Status* status) { absl::MutexLock lock(&mu_); if (block->timestamp == 0) {
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.h
/// Trim the block cache to make room for another entry. void Trim() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_); /// Update the LRU iterator for the block at `key`. void UpdateLRU(const Key& key, const std::shared_ptr<Block>& block, TF_Status* status) ABSL_LOCKS_EXCLUDED(mu_); /// Remove all blocks of a file, with mu_ already held.
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)