Home
last modified time | relevance | path

Searched refs:stat_cache_ (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.h168 uint64 stat_cache_max_age() const { return stat_cache_->max_age(); } in stat_cache_max_age()
169 size_t stat_cache_max_entries() const { return stat_cache_->max_entries(); } in stat_cache_max_entries()
321 std::unique_ptr<StatCache> stat_cache_; variable
Dgcs_file_system.cc701 stat_cache_.reset(new ExpiringLRUCache<GcsFileStat>(stat_cache_max_age, in GcsFileSystem()
819 stat_cache_(new StatCache(stat_cache_max_age, stat_cache_max_entries)), in GcsFileSystem()
842 TF_RETURN_IF_ERROR(stat_cache_->LookupOrCompute( in NewRandomAccessFile()
933 if (stat_cache_->Lookup(filename, &stat)) { in LoadBufferFromGCS()
950 stat_cache_->Delete(fname); in ClearFileCaches()
1126 TF_RETURN_IF_ERROR(stat_cache_->LookupOrCompute( in StatForObject()
1222 Status s = stat_cache_->LookupOrCompute(MaybeAppendSlash(dirname), &stat, in FolderExists()
1636 stat_cache_->Clear(); in FlushCaches()