- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for Marche (0.23 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
auto it = cache_.find(key); if (it == cache_.end()) { return false; } lru_list_.erase(it->second.lru_iterator); cache_.erase(it); return true; } /// The maximum age of entries in the cache, in seconds. A value of 0 means /// that no entry is ever placed in the cache. const uint64_t max_age_; /// The maximum number of entries in the cache. A value of 0 means there is no
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) -
ci/official/envs/public_cache_push
# Sourcing this enables Bazel remote cache (read and write) # Note that "_push" cache configs write to GCS buckets and require # authentication. If you are not a Googler, source "public_cache" to enable the # public read-only cache. # The cache configs are different for MacOS and Linux if [[ $(uname -s) == "Darwin" ]]; then TFCI_BAZEL_COMMON_ARGS="$TFCI_BAZEL_COMMON_ARGS --config tf_public_macos_cache_push" else
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 01 03:21:19 GMT 2024 - 1.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
auto ram_file_block_cache = static_cast<RamFileBlockCache*>(param); ram_file_block_cache->Prune(); } private: /// The size of the blocks stored in the LRU cache, as well as the size of the /// reads from the underlying filesystem. const size_t block_size_; /// The maximum number of bytes (sum of block sizes) allowed in the LRU cache. const size_t max_bytes_;
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) -
ci/official/envs/disk_cache
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 01 03:21:19 GMT 2024 - 1023 bytes - Viewed (0) -
ci/official/README.md
# Ex. macos_arm64 -- arm64 MacOS platform # 3. Add modifiers. Some modifiers for local execution are: # Ex. disk_cache -- Use a local cache # Ex. public_cache -- Use TF's public cache (read-only) # Ex. public_cache_push -- Use TF's public cache (read and write, Googlers only) # Ex. rbe -- Use RBE for faster builds (Googlers only; see below)
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 01 03:21:19 GMT 2024 - 8K bytes - Viewed (0) -
ci/official/containers/linux_arm64/setup.python.sh
/usr/bin/$VERSION get-pip.py /usr/bin/$VERSION -m pip install --no-cache-dir --upgrade pip # Disable the cache dir to save image space, and install packages
Shell Script - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Sep 29 00:26:34 GMT 2023 - 2.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
tf_gcs_filesystem::ExpiringLRUCache<int> cache(1, 4); cache.Insert("a", 1); cache.Insert("b", 2); cache.Insert("c", 3); cache.Insert("d", 4); int value = 0; EXPECT_TRUE(cache.Lookup("a", &value)); EXPECT_EQ(value, 1); EXPECT_TRUE(cache.Lookup("b", &value)); EXPECT_EQ(value, 2); EXPECT_TRUE(cache.Lookup("c", &value)); EXPECT_EQ(value, 3); EXPECT_TRUE(cache.Lookup("d", &value));
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 7.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
}); uint64_t stat_cache_max_age = kStatCacheDefaultMaxAge; size_t stat_cache_max_entries = kStatCacheDefaultMaxEntries; const char* stat_cache_max_age_env = std::getenv(kStatCacheMaxAge); if (stat_cache_max_age_env && absl::SimpleAtoi(stat_cache_max_age_env, &value)) { stat_cache_max_age = value; } const char* stat_cache_max_entries_env = std::getenv(kStatCacheMaxEntries);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
new_entry->timestamp = timer_seconds_(); block_map_.emplace(std::make_pair(key, new_entry)); return new_entry; } // Remove blocks from the cache until we do not exceed our maximum size. void RamFileBlockCache::Trim() { while (!lru_list_.empty() && cache_size_ > max_bytes_) { RemoveBlock(block_map_.find(lru_list_.back())); } } /// Move the block to the front of the LRU list if it isn't already there.
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
calls.push_back(block_size); // Cache miss followed by cache hit. TF_EXPECT_OK(ReadCache(&cache, "", block_size, 1, &out)); TF_EXPECT_OK(ReadCache(&cache, "", block_size, 1, &out)); calls.push_back(2 * block_size); // Cache miss followed by cache hit. Causes eviction of LRU element. TF_EXPECT_OK(ReadCache(&cache, "", 2 * block_size, 1, &out));
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0)