- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RemoveBlock (0.16 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
auto it = block_map_.lower_bound(begin); while (it != block_map_.end() && it->first.first == filename) { auto next = std::next(it); RemoveBlock(it); it = next; } } void RamFileBlockCache::RemoveBlock(BlockMap::iterator entry) { // This signals that the block is removed, and should not be inadvertently // reinserted into the cache in UpdateLRU. entry->second->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
void RemoveFile_Locked(const std::string& filename) ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_); /// Remove the block `entry` from the block map and LRU list, and update the /// cache size accordingly. void RemoveBlock(BlockMap::iterator entry) ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_); /// The cache pruning thread that removes files with expired blocks. std::unique_ptr<TF_Thread, std::function<void(TF_Thread*)>> pruning_thread_;
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)