- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RemoveFile_Locked (0.28 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
// The oldest block is not yet expired. Come back later. break; } // We need to make a copy of the filename here, since it could otherwise // be used within RemoveFile_Locked after `it` is deleted. RemoveFile_Locked(std::string(it->first.first)); } } } void RamFileBlockCache::Flush() { absl::MutexLock lock(&mu_); block_map_.clear(); lru_list_.clear();
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 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. 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.
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)