Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ABSL_EXCLUSIVE_LOCKS_REQUIRED (0.2 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

        /// A list iterator pointing to the entry's position in the LRU list.
        std::list<std::string>::iterator lru_iterator;
      };
    
      bool LookupLocked(const std::string& key, T* value)
          ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) {
        auto it = cache_.find(key);
        if (it == cache_.end()) {
          return false;
        }
        lru_list_.erase(it->second.lru_iterator);
        if (timer_seconds_() - it->second.timestamp > max_age_) {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

          ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_);
    
      /// Remove the block `entry` from the block map and LRU list, and update the
      /// cache size accordingly.
      void RemoveBlock(BlockMap::iterator entry) ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_);
    
      /// The cache pruning thread that removes files with expired blocks.
      std::unique_ptr<TF_Thread, std::function<void(TF_Thread*)>> pruning_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)
Back to top