- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for nothing (0.14 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
// ...but is no longer valid 2 seconds after the insertion. env->SetNowSeconds(6); EXPECT_FALSE(cache.Lookup(key, &value)); } TEST(ExpiringLRUCacheTest, MaxEntries) { // max_age of 0 means nothing will be cached. tf_gcs_filesystem::ExpiringLRUCache<int> cache1(0, 4); cache1.Insert("a", 1); int value = 0; EXPECT_FALSE(cache1.Lookup("a", &value)); // Now set max_age = 1 and verify the LRU eviction logic.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 7.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
return status.status; } TEST(RamFileBlockCacheTest, IsCacheEnabled) { auto fetcher = [](const string& filename, size_t offset, size_t n, char* buffer, TF_Status* status) -> int64_t { // Do nothing. TF_SetStatus(status, TF_OK, ""); return 0; }; tf_gcs_filesystem::RamFileBlockCache cache1(0, 0, 0, fetcher); tf_gcs_filesystem::RamFileBlockCache cache2(16, 0, 0, fetcher);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
{std::move(bucket), std::move(object), &gcs_file->gcs_client, TempFile(temp_file_name, std::ios::binary | std::ios::app), sync_need, -1}); } else { // If compose is true, we do not download anything. // Instead we only check if this file exists on server or not. auto metadata = gcs_file->gcs_client.GetObjectMetadata(bucket, object, gcs::Fields("size"));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0)