Searched refs:max_staleness (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/contrib/cloud/python/ops/ |
D | gcs_config_ops.py | 35 def __init__(self, block_size=None, max_bytes=None, max_staleness=None): argument 38 self._max_staleness = max_staleness or 0 49 def max_staleness(self): member in BlockCacheParams 133 max_staleness=self._block_cache.max_staleness) 176 max_staleness=block_cache.max_staleness)
|
/external/tensorflow/tensorflow/contrib/cloud/kernels/ |
D | gcs_config_ops.cc | 182 size_t max_cache_size, block_size, max_staleness; in Compute() local 188 ctx, ParseScalarArgument<size_t>(ctx, "max_staleness", &max_staleness)); in Compute() 192 gcs->underlying()->max_staleness() == max_staleness) { in Compute() 197 max_staleness); in Compute()
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | ram_file_block_cache.h | 52 RamFileBlockCache(size_t block_size, size_t max_bytes, uint64 max_staleness, 56 max_staleness_(max_staleness), in block_size_() 110 uint64 max_staleness() const override { return max_staleness_; } in max_staleness() function
|
D | gcs_file_system.h | 92 size_t max_bytes, uint64 max_staleness, 153 uint64 max_staleness() { in max_staleness() function 155 return file_block_cache_->max_staleness(); in max_staleness() 298 uint64 max_staleness);
|
D | file_block_cache.h | 86 virtual uint64 max_staleness() const = 0;
|
D | gcs_file_system.cc | 659 uint64 max_staleness = kDefaultMaxStaleness; in GcsFileSystem() local 682 max_staleness = value; in GcsFileSystem() 690 << "max staleness = " << max_staleness; in GcsFileSystem() 691 file_block_cache_ = MakeFileBlockCache(block_size, max_bytes, max_staleness); in GcsFileSystem() 809 size_t max_bytes, uint64 max_staleness, uint64 stat_cache_max_age, in GcsFileSystem() argument 818 MakeFileBlockCache(block_size, max_bytes, max_staleness)), in GcsFileSystem() 882 size_t block_size, size_t max_bytes, uint64 max_staleness) { in MakeFileBlockCache() argument 884 block_size, max_bytes, max_staleness, in MakeFileBlockCache()
|
D | gcs_file_system_test.cc | 3160 EXPECT_EQ(0, fs1.max_staleness()); in TEST() 3179 EXPECT_EQ(60, fs3.max_staleness()); in TEST()
|
/external/tensorflow/tensorflow/contrib/cloud/ops/ |
D | gcs_config_ops.cc | 60 .Input("max_staleness: uint64")
|