Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for mock (0.14 sec)

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

        if (max_age_ == 0) {
          return;
        }
        absl::MutexLock lock(&mu_);
        InsertLocked(key, value);
      }
    
      // Delete the entry with key `key`. Return true if the entry was found for
      // `key`, false if the entry was not found. In both cases, there is no entry
      // with key `key` existed after the call.
      bool Delete(const std::string& key) {
        absl::MutexLock lock(&mu_);
        return DeleteLocked(key);
      }
    
    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/gcs_filesystem.h

      int64_t generation_number;
    } GcsFileStat;
    
    typedef struct GCSFile {
      google::cloud::storage::Client gcs_client;  // owned
      bool compose;
      absl::Mutex block_cache_lock;
      std::shared_ptr<RamFileBlockCache> file_block_cache
          ABSL_GUARDED_BY(block_cache_lock);
      uint64_t block_size;  // Reads smaller than block_size will trigger a read
                            // of block_size.
      std::unique_ptr<ExpiringLRUCache<GcsFileStat>> stat_cache;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

                                                      TF_Status* status);
    
    // Creates a new operation - see `TF_NewOperation` for more details.
    //
    // The lock for `graph` must be held when calling this function.
    //
    // Unless implementing advanced behavior, like custom gradient functions, you
    // most likely need to call `TF_NewOperation` instead.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  4. tensorflow/c/c_api_internal.h

      }
    
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
      tensorflow::ApiDefMap api_def_map TF_GUARDED_BY(lock);
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
      bool update_docs_called TF_GUARDED_BY(lock);
      tensorflow::mutex lock;
    };
    
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    struct TF_Server {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// was cached, a coordination lock, and state & condition variables.
      ///
      /// Thread safety:
      /// The iterator and timestamp fields should only be accessed while holding
      /// the block-cache-wide mu_ instance variable. The state variable should only
      /// be accessed while holding the Block's mu lock. The data vector should only
    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