Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fun (0.11 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      EXPECT_EQ(calls, 1);
      // Advance the clock by a huge amount and verify that the cached block is
      // used to satisfy the read.
      env->SetNowSeconds(365 * 24 * 60 * 60);  // ~1 year, just for fun.
      TF_EXPECT_OK(ReadCache(&cache2, "", 0, 1, &out));
      EXPECT_EQ(calls, 1);
    }
    
    TEST(RamFileBlockCacheTest, RemoveFile) {
      int calls = 0;
      auto fetcher = [&calls](const string& filename, size_t offset, size_t n,
    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)
Back to top