- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for minimum (0.15 sec)
-
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())); } }
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/modular_filesystem_registration.cc
#include "tensorflow/core/platform/errors.h" namespace tensorflow { // Checks that all schemes provided by a plugin are valid. // TODO(b/139060984): More validation could be done here, based on supported // charset, maximum length, etc. Punting it for later. static Status ValidateScheme(const char* scheme) { if (scheme == nullptr) return errors::InvalidArgument( "Attempted to register filesystem with `nullptr` URI scheme");
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
// blocks read from GCS. Specified in MB. constexpr char kMaxCacheSize[] = "GCS_READ_CACHE_MAX_SIZE_MB"; constexpr size_t kDefaultMaxCacheSize = 0; // The environment variable that overrides the maximum staleness of cached file // contents. Once any block of a file reaches this staleness, all cached blocks // will be evicted on the next read. constexpr char kMaxStaleness[] = "GCS_READ_CACHE_MAX_STALENESS";
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)