Home
last modified time | relevance | path

Searched refs:LookupOrCompute (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/platform/cloud/
Dexpiring_lru_cache_test.cc91 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 …]
Dexpiring_lru_cache.h78 Status LookupOrCompute(const string& key, T* value, in LookupOrCompute() function
Dgcs_file_system.cc842 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/
Dgrpc_response_cache.h73 void LookupOrCompute(const string& key, RPCResponse response,
Dgrpc_response_cache.cc69 void GrpcResponseCache::LookupOrCompute(const string& key, RPCResponse response, in LookupOrCompute() function in tensorflow::GrpcResponseCache
Dgrpc_worker_service.cc253 cache_->LookupOrCompute(request_key, RPCResponse(&call->response), in RunGraphHandler()
284 cache_->LookupOrCompute(request_key, RPCResponse(&call->response), in RecvTensorHandlerRaw()