- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for Lock (0.12 sec)
-
tensorflow/c/env_test.cc
namespace { struct SomeThreadData { ::tensorflow::mutex mu; bool did_work = false; }; void SomeThreadFunc(void* data) { auto* real_data = static_cast<SomeThreadData*>(data); ::tensorflow::mutex_lock l(real_data->mu); real_data->did_work = true; } } // namespace TEST(TestEnv, TestThreads) { TF_ThreadOptions options; TF_DefaultThreadOptions(&options); SomeThreadData data;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
WORKSPACE
) """, ), } pip_parse( name = "pypi", annotations = NUMPY_ANNOTATIONS, python_interpreter_target = interpreter, requirements = "//:requirements_lock_" + TF_PYTHON_VERSION.replace(".", "_") + ".txt", ) load("@pypi//:requirements.bzl", "install_deps") install_deps() # Initialize the TensorFlow repository and all dependencies. #
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Fri Apr 05 22:27:48 GMT 2024 - 3K bytes - Viewed (2) -
ci/official/wheel_test/WORKSPACE
) load("@python//:defs.bzl", "interpreter") load("@rules_python//python:pip.bzl", "pip_parse") pip_parse( name = "pypi", python_interpreter_target = interpreter, requirements = "//:requirements_lock_" + TF_PYTHON_VERSION.replace(".", "_") + ".txt", ) load("@pypi//:requirements.bzl", "install_deps")
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 05 22:27:48 GMT 2024 - 1.9K bytes - Viewed (0) -
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 30 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:37:41 GMT 2020 - 5.2K bytes - Viewed (0)