Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for key3 (0.13 sec)

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

        Key key = std::make_pair(filename, pos);
        // Look up the block, fetching and inserting it if necessary, and update the
        // LRU iterator for the key and block.
        std::shared_ptr<Block> block = Lookup(key);
        if (!block) {
          std::cerr << "No block for key " << key.first << "@" << key.second;
          abort();
        }
        MaybeFetch(key, block, status);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      env->SetNowSeconds(3);
      int value = 0;
      EXPECT_TRUE(cache.Lookup(key, &value));
      EXPECT_EQ(value, 42);
      // 2 seconds after the most recent insertion, the entry is no longer valid.
      env->SetNowSeconds(4);
      EXPECT_FALSE(cache.Lookup(key, &value));
      // Re-insert the entry.
      cache.Insert(key, 43);
      EXPECT_TRUE(cache.Lookup(key, &value));
      EXPECT_EQ(value, 43);
      // The entry is valid 1 second after the insertion...
    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)
  3. tensorflow/c/eager/c_api_test.cc

      //  Worker1:
      //  cluster { job { name: "client" tasks { key: 0 value: "localhost:14525" } }
      //            job { name: "worker" tasks { key: 1 value: "localhost:14523" } }
      //          } job_name: "worker" task_index: 1 protocol: "grpc"
      //
      //  Worker0:
      //  cluster { job { name: "client" tasks { key: 0 value: "localhost:14526" } }
      //            job { name: "worker" tasks { key: 0 value: "localhost:14522" } }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top