Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Shreve (0.13 sec)

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

      uint64 now = Env::Default()->NowSeconds();
      env->SetNowSeconds(now);
      tf_gcs_filesystem::RamFileBlockCache cache(
          8, 32, 1 /* max staleness */, fetcher,
          [&env]() { return env->NowSeconds(); });
      // Read three blocks into the cache, and advance the timestamp by one second
      // with each read. Start with a block of "a" at the current timestamp `now`.
      TF_EXPECT_OK(ReadCache(&cache, "a", 0, 1, &out));
    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