- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ValidateAndUpdateFileSignature (1.11 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
std::vector<char> out; // First read. EXPECT_TRUE(cache.ValidateAndUpdateFileSignature(filename, 123)); TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out)); EXPECT_EQ(calls, 1); // Second read. Hit cache. EXPECT_TRUE(cache.ValidateAndUpdateFileSignature(filename, 123)); TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out)); EXPECT_EQ(calls, 1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 15 03:16:57 UTC 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
break; } } TF_SetStatus(status, TF_OK, ""); return total_bytes_transferred; } bool RamFileBlockCache::ValidateAndUpdateFileSignature( const std::string& filename, int64_t file_signature) { absl::MutexLock lock(&mu_); auto it = file_signature_map_.find(filename); if (it != file_signature_map_.end()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 16 01:39:09 UTC 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
// cache. Returns true if the signature doesn't change or the file doesn't // exist before. If the signature changes, update the existing signature with // the new one and remove the file from cache. bool ValidateAndUpdateFileSignature(const std::string& filename, int64_t file_signature) ABSL_LOCKS_EXCLUDED(mu_); /// Remove all cached blocks for `filename`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 31 04:46:34 UTC 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 23 06:55:53 UTC 2023 - 46.9K bytes - Viewed (0)