Searched refs:calls_ (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | retrying_file_system_test.cc | 40 explicit MockCallSequence(const ExpectedCalls& calls) : calls_(calls) {} in MockCallSequence() 43 EXPECT_TRUE(calls_.empty()) in ~MockCallSequence() 45 << "the next expected call: " << std::get<0>(calls_.front()); in ~MockCallSequence() 49 EXPECT_FALSE(calls_.empty()) << "No more calls were expected."; in ConsumeNextCall() 50 auto call = calls_.front(); in ConsumeNextCall() 51 calls_.erase(calls_.begin()); in ConsumeNextCall() 57 ExpectedCalls calls_; member in tensorflow::__anon5a8ed3fa0111::MockCallSequence 62 explicit MockRandomAccessFile(const ExpectedCalls& calls) : calls_(calls) {} in MockRandomAccessFile() 64 return calls_.ConsumeNextCall("Name"); in Name() 68 return calls_.ConsumeNextCall("Read"); in Read() [all …]
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | cleanup_test.cc | 176 int calls_ = 0; member in tensorflow::__anon948b8aad0111::CleanupReferenceTest 177 F f_ = F(&copies_, &calls_); 219 EXPECT_EQ(0, calls_); in TEST_F() 224 EXPECT_EQ(0, calls_); in TEST_F() 227 EXPECT_EQ(1, calls_); in TEST_F() 231 EXPECT_EQ(1, calls_); in TEST_F() 234 EXPECT_EQ(1, calls_); in TEST_F() 237 EXPECT_EQ(1, calls_); in TEST_F() 240 EXPECT_EQ(2, calls_); in TEST_F() 248 EXPECT_EQ(0, calls_); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/util/rpc/ |
D | call_container.h | 86 std::list<Call> calls_; variable 146 for (Call& call : calls_) { in CallContainer() 163 calls_.emplace_back(std::forward<Args>(args)...); in RegisterCall() 168 for (auto& call : calls_) { in StartCancel()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | heap_simulator_test.cc | 230 explicit HeapCallRecorder(CallSequence* calls) : calls_(calls) {} in HeapCallRecorder() 234 calls_->emplace_back(kAlloc, buffer); in Alloc() 242 calls_->emplace_back(kFree, buffer); in Free() 245 calls_->emplace_back(kFinish, nullptr); in Finish() 250 CallSequence* calls_; member in xla::__anond39273cc0111::HeapCallRecorder
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | master_session.cc | 496 explicit RunManyGraphs(int num) : calls_(num), pending_(num) {} in RunManyGraphs() 506 Call* get(int index) { return &calls_[index]; } in get() 537 gtl::InlinedVector<Call, 4> calls_; member in tensorflow::RunManyGraphs 546 for (Call& call : calls_) { in ReportBadStatus()
|