- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for IsCacheEnabled (0.23 sec)
-
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskGroovyJavaJointIncrementalCompilationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 8.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
tf_gcs_filesystem::RamFileBlockCache cache3(0, 32, 0, fetcher); tf_gcs_filesystem::RamFileBlockCache cache4(16, 32, 0, fetcher); EXPECT_FALSE(cache1.IsCacheEnabled()); EXPECT_FALSE(cache2.IsCacheEnabled()); EXPECT_FALSE(cache3.IsCacheEnabled()); EXPECT_TRUE(cache4.IsCacheEnabled()); } TEST(RamFileBlockCacheTest, ValidateAndUpdateFileSignature) { int calls = 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 15 03:16:57 UTC 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
TF_DefaultThreadOptions(&thread_options); pruning_thread_.reset( TF_StartThread(&thread_options, "TF_prune_FBC", PruneThread, this)); } TF_VLog(1, "GCS file block cache is %s.\n", (IsCacheEnabled() ? "enabled" : "disabled")); } ~RamFileBlockCache() { if (pruning_thread_) { stop_pruning_thread_.Notify(); // Destroying pruning_thread_ will block until Prune() receives the above
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 31 04:46:34 UTC 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
size_t n, char* buffer, TF_Status* status) { if (n == 0) { TF_SetStatus(status, TF_OK, ""); return 0; } if (!IsCacheEnabled() || (n > max_bytes_)) { // The cache is effectively disabled, so we pass the read through to the // fetcher without breaking it up into blocks. return block_fetcher_(filename, offset, n, buffer, status); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 16 01:39:09 UTC 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
auto gcs_file = static_cast<GCSFile*>(filesystem->plugin_filesystem); bool is_cache_enabled; { absl::MutexLock l(&gcs_file->block_cache_lock); is_cache_enabled = gcs_file->file_block_cache->IsCacheEnabled(); } auto read_fn = [gcs_file, is_cache_enabled, bucket, object]( const std::string& path, uint64_t offset, size_t n, char* buffer, TF_Status* status) -> int64_t {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 23 06:55:53 UTC 2023 - 46.9K bytes - Viewed (0)