- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Timestamp (0.2 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
if (block->state != FetchState::FINISHED) { return true; // No need to check for staleness. } if (max_staleness_ == 0) return true; // Not enforcing staleness. return timer_seconds_() - block->timestamp <= max_staleness_; } std::shared_ptr<RamFileBlockCache::Block> RamFileBlockCache::Lookup( const Key& key) { absl::MutexLock lock(&mu_); auto entry = block_map_.find(key); if (entry != block_map_.end()) {
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
TF_EXPECT_OK(ReadCache(&cache, "a", 0, 1, &out)); // Now load a block of a different file "b" at timestamp `now` + 1 env->SetNowSeconds(now + 1); TF_EXPECT_OK(ReadCache(&cache, "b", 0, 1, &out)); // Now load a different block of file "a" at timestamp `now` + 1. When the // first block of "a" expires, this block should also be removed because it // also belongs to file "a".
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
tf_gcs_filesystem::ExpiringLRUCache<int> cache( 1, 0, [&env]() { return env->NowSeconds(); }); env->SetNowSeconds(1); // Verify that replacement of an existing element works, and updates the // timestamp of the entry. cache.Insert(key, 41); env->SetNowSeconds(2); cache.Insert(key, 42); // 1 second after the most recent insertion, the entry is still valid. env->SetNowSeconds(3); int value = 0;
C++ - Registered: Tue Apr 30 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/expiring_lru_cache.h
uint64_t max_age() const { return max_age_; } size_t max_entries() const { return max_entries_; } private: struct Entry { /// The timestamp (seconds) at which the entry was added to the cache. uint64_t timestamp; /// The entry's value. T value; /// A list iterator pointing to the entry's position in the LRU list. std::list<std::string>::iterator lru_iterator;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
/// /// A file block consists of the block data, the block's current position in /// the LRU cache, the timestamp (seconds since epoch) at which the block /// 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
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/utilities/extract_resultstore_links.py
os.makedirs(os.path.dirname(output_path), exist_ok=True) failure_count = 0 error_count = 0 date_time = datetime.datetime attrib = {'name': 'Bazel Invocations', 'time': '0.0', 'timestamp': date_time.isoformat(date_time.utcnow())} testsuites = ElemTree.Element('testsuites') testsuite = ElemTree.SubElement(testsuites, 'testsuite') for url, invocation_results in result_store_dict.items():
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Viewed (0) -
RELEASE.md
* (since v2.7) `tf.nn.max_pool_with_argmax` gradient * (since v2.7) `tf.raw_ops.DebugNumericSummary` and `tf.raw_ops.DebugNumericSummaryV2` * (since v2.7) `tf.timestamp`. Throws `FailedPrecondition` * (since v2.7) `tf.Variable.scatter_add` (and other scatter methods, both on ref and resource variables)
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8)