Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Timmer (0.22 sec)

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

      absl::MutexLock l(&block->mu);
      if (block->state != FetchState::FINISHED) {
        return true;  // No need to check for staleness.
      }
      if (max_staleness_ == 0) return true;  // Not enforcing staleness.
      return timer_seconds_() - block->timestamp <= max_staleness_;
    }
    
    std::shared_ptr<RamFileBlockCache::Block> RamFileBlockCache::Lookup(
        const Key& key) {
      absl::MutexLock lock(&mu_);
      auto entry = block_map_.find(key);
    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.h

      /// `max_age` is also 0, the cache will not be populated).
      ExpiringLRUCache(uint64_t max_age, size_t max_entries,
                       std::function<uint64_t()> timer_seconds = TF_NowSeconds)
          : max_age_(max_age),
            max_entries_(max_entries),
            timer_seconds_(timer_seconds) {}
    
      /// Insert `value` with key `key`. This will replace any previous entry with
      /// the same key.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

                        BlockFetcher block_fetcher,
                        std::function<uint64_t()> timer_seconds = TF_NowSeconds)
          : block_size_(block_size),
            max_bytes_(max_bytes),
            max_staleness_(max_staleness),
            block_fetcher_(block_fetcher),
            timer_seconds_(timer_seconds),
            pruning_thread_(nullptr,
                            [](TF_Thread* thread) { TF_JoinThread(thread); }) {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  4. RELEASE.md

    Nathan Luehr, naumkin, Neeraj Bhadani, ngc92, Nick Morgan, nihui, Niranjan
    Hasabnis, Niranjan Yadla, Nishidha Panpaliya, Oceania2018, oclyke, Ouyang Jin,
    OverLordGoldDragon, Owen Lyke, Patrick Hemmer, Paul Andrey, Peng Sun,
    periannath, Phil Pearl, Prashant Dandriyal, Prashant Kumar, Rahul Huilgol, Rajan
    Singh, Rajeshwar Reddy T, rangjiaheng, Rishit Dagli, Rohan Reddy, rpalakkal,
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top