- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for mock (0.16 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
block->mu.Unlock(); // Release the lock while making the API call. block->data.clear(); block->data.resize(block_size_, 0); int64_t bytes_transferred; bytes_transferred = block_fetcher_(key.first, key.second, block_size_, block->data.data(), status); block->mu.Lock(); // Reacquire the lock immediately afterwards
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) -
requirements_lock_3_10.txt
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1712896733 +0000
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 12 04:38:53 GMT 2024 - 43.8K bytes - Viewed (0) -
requirements_lock_3_11.txt
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1712896733 +0000
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 12 04:38:53 GMT 2024 - 43.8K bytes - Viewed (0) -
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
// https://github.com/googleapis/google-cloud-cpp/issues/4482 is done. GCSFile::GCSFile(google::cloud::storage::Client&& gcs_client) : gcs_client(gcs_client), block_cache_lock() { const char* append_mode = std::getenv(kAppendMode); compose = (append_mode != nullptr) && (!strcmp(kAppendMode, append_mode)); uint64_t value; block_size = kDefaultBlockSize;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
TF_RETURN_IF_ERROR(tensorflow::TensorShapeUtils::MakeShape(dims, shape)); return absl::OkStatus(); } tensorflow::FullTypeDef FullType() const override { const FullTypeDef* ft; mutex_lock l(graph_->mu); graph_->graph.NodeType(output_.oper->node.name(), &ft); if (ft == nullptr) { return FullTypeDef(); } else { return *ft; } } TF_Output output_;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1) -
tensorflow/c/c_api_experimental.cc
static std::unordered_map<std::string, void*>* loaded_libs = new std::unordered_map<std::string, void*>(); tensorflow::Env* env = tensorflow::Env::Default(); { tensorflow::mutex_lock lock(mu); auto it = loaded_libs->find(library_filename); if (it != loaded_libs->end()) { lib_handle->lib_handle = it->second; } else { status->status =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
requirements_lock_3_12.txt
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1712896733 +0000
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 12 04:38:53 GMT 2024 - 44.4K bytes - Viewed (0) -
requirements_lock_3_9.txt
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1712896733 +0000
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 12 04:38:53 GMT 2024 - 44.2K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
std::unique_ptr<Thread> thread_; }; DeviceThread::~DeviceThread() { { tensorflow::mutex_lock l(execution_mutex_); execution_state_ = ExecutionState::kShuttingDown; } start_execute_.notify_one(); } void DeviceThread::AsyncWait(TF_Status* status) { tensorflow::mutex_lock l(execution_mutex_); TFE_ExecutorWaitForAllPendingNodes(executor_.get(), status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1)