Searched refs:LookupOrCompute (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | expiring_lru_cache_test.cc | 91 TEST(ExpiringLRUCacheTest, LookupOrCompute) { in TEST() argument 103 TF_EXPECT_OK(cache1.LookupOrCompute("a", &value, compute_func)); in TEST() 107 TF_EXPECT_OK(cache1.LookupOrCompute("a", &value, compute_func)); in TEST() 117 TF_EXPECT_OK(cache2.LookupOrCompute("a", &value, compute_func)); in TEST() 121 TF_EXPECT_OK(cache2.LookupOrCompute("a", &value, compute_func)); in TEST() 126 TF_EXPECT_OK(cache2.LookupOrCompute("b", &value, compute_func)); in TEST() 129 TF_EXPECT_OK(cache2.LookupOrCompute("c", &value, compute_func)); in TEST() 132 TF_EXPECT_OK(cache2.LookupOrCompute("d", &value, compute_func)); in TEST() 135 TF_EXPECT_OK(cache2.LookupOrCompute("e", &value, compute_func)); in TEST() 139 TF_EXPECT_OK(cache2.LookupOrCompute("b", &value, compute_func)); in TEST() [all …]
|
D | expiring_lru_cache.h | 78 Status LookupOrCompute(const string& key, T* value, in LookupOrCompute() function
|
D | gcs_file_system.cc | 842 TF_RETURN_IF_ERROR(stat_cache_->LookupOrCompute( in NewRandomAccessFile() 1126 TF_RETURN_IF_ERROR(stat_cache_->LookupOrCompute( in StatForObject() 1188 bucket_location_cache_->LookupOrCompute(bucket, location, compute_func)); in GetBucketLocation() 1222 Status s = stat_cache_->LookupOrCompute(MaybeAppendSlash(dirname), &stat, in FolderExists() 1272 matching_paths_cache_->LookupOrCompute(pattern, results, compute_func)); in GetMatchingPaths()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_response_cache.h | 73 void LookupOrCompute(const string& key, RPCResponse response,
|
D | grpc_response_cache.cc | 69 void GrpcResponseCache::LookupOrCompute(const string& key, RPCResponse response, in LookupOrCompute() function in tensorflow::GrpcResponseCache
|
D | grpc_worker_service.cc | 253 cache_->LookupOrCompute(request_key, RPCResponse(&call->response), in RunGraphHandler() 284 cache_->LookupOrCompute(request_key, RPCResponse(&call->response), in RecvTensorHandlerRaw()
|