/external/tensorflow/tensorflow/core/distributed_runtime/ |
call_options_test.cc | 23 int num_calls = 0; local 26 EXPECT_EQ(num_calls, 0); 27 opts.SetCancelCallback([&num_calls]() { num_calls++; }); 28 EXPECT_EQ(num_calls, 0); 30 EXPECT_EQ(num_calls, 1); 32 EXPECT_EQ(num_calls, 2); 34 EXPECT_EQ(num_calls, 2); 36 EXPECT_EQ(num_calls, 2);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_termination.cc | 72 static atomic_uint32_t num_calls; local 73 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) > 10) {
|
/external/tensorflow/tensorflow/contrib/lite/testing/ |
util.h | 43 int num_calls() const { return num_calls_; } function in class:tflite::TestErrorReporter
|
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/ |
util.h | 46 int num_calls() const { return num_calls_; } function in class:tflite::TestErrorReporter
|
/external/tensorflow/tensorflow/lite/testing/ |
util.h | 43 int num_calls() const { return num_calls_; } function in class:tflite::TestErrorReporter
|
/external/libchrome/base/test/ |
scoped_feature_list.cc | 216 static int num_calls = 0; local 217 ++num_calls; 219 "scoped_feature_list_trial_name" + base::NumberToString(num_calls);
|
/external/compiler-rt/lib/asan/ |
asan_rtl.cc | 43 static atomic_uint32_t num_calls; local 44 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) != 0) {
|
/external/grpc-grpc/src/cpp/server/load_reporter/ |
load_data_store.h | 46 explicit CallMetricValue(uint64_t num_calls = 0, 48 : num_calls_(num_calls), total_metric_value_(total_metric_value) {} 56 uint64_t num_calls() const { return num_calls_; } function in class:grpc::load_reporter::CallMetricValue 136 LoadRecordValue(grpc::string metric_name, uint64_t num_calls,
|
load_reporter.cc | 326 metric_value.num_calls()); 476 const int64_t num_calls = p.second; local 487 metric_name, static_cast<uint64_t>(num_calls), total_metric_value);
|
/external/python/httplib2/tests/ |
__init__.py | 227 num_calls = 0 variable in class:MockHTTPBadStatusConnection 244 MockHTTPBadStatusConnection.num_calls = 0 259 MockHTTPBadStatusConnection.num_calls += 1
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
map_and_batch_dataset_op.cc | 299 batch_results_.front()->num_calls > 0) { 361 num_calls = batch_size; 392 int64 num_calls; // access guarded by owner's mutex member in struct:tensorflow::data::__anon45277::MapAndBatchDatasetOp::Dataset::Iterator::BatchResult 400 result->num_calls--; 672 &result->num_calls)); 736 result->num_calls)); [all...] |
/external/v8/src/compiler/ |
js-inlining-heuristic.cc | 329 int const num_calls = candidate.num_functions; local 332 DCHECK_EQ(num_calls, callee->op()->ValueInputCount()); 512 for (int i = 0; i < num_calls; ++i) { 526 (i == num_calls - 1) ? kChangeInPlace : kCloneState); 534 (i == num_calls - 1) ? kChangeInPlace : kCloneState); 545 callee->ReplaceInput(num_calls, jsgraph()->Dead()); 546 effect_phi->ReplaceInput(num_calls, jsgraph()->Dead()); 568 int const num_calls = candidate.num_functions; local 571 for (int i = 0; i < num_calls; ++i) { 575 if (i != (num_calls - 1)) 604 int const num_calls = candidate.num_functions; local [all...] |
/external/boringssl/src/tool/ |
speed.cc | 57 // num_calls is the number of function calls done in the time period. 58 unsigned num_calls; member in struct:TimeResults 63 printf("Did %u %s operations in %uus (%.1f ops/sec)\n", num_calls, 65 (static_cast<double>(num_calls) / us) * 1000000); 70 num_calls, description.c_str(), us, 71 (static_cast<double>(num_calls) / us) * 1000000, 72 static_cast<double>(bytes_per_call * num_calls) / us); 144 results->num_calls = done; 249 unsigned num_calls = 0; local 264 num_calls++ [all...] |
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/ |
load_balancer.pb.h | 42 int64_t num_calls; member in struct:_grpc_lb_v1_ClientStatsPerToken
|
/external/python/httplib2/python2/ |
httplib2test.py | 211 num_calls = 0 variable in class:_MyHTTPBadStatusConnection 228 _MyHTTPBadStatusConnection.num_calls = 0 243 _MyHTTPBadStatusConnection.num_calls += 1 303 self.assertEqual(2, _MyHTTPBadStatusConnection.num_calls) [all...] |
/external/python/httplib2/python3/ |
httplib2test.py | 203 num_calls = 0 variable in class:_MyHTTPBadStatusConnection 220 _MyHTTPBadStatusConnection.num_calls = 0 235 _MyHTTPBadStatusConnection.num_calls += 1 284 self.assertEqual(2, _MyHTTPBadStatusConnection.num_calls) [all...] |
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
audio_coding_module_unittest_oldapi.cc | 115 int num_calls() const { function in class:webrtc::PacketizationCallbackStubOldApi 270 for (int num_calls = 0; num_calls < kNumNormalCalls; ++num_calls) { 322 EXPECT_EQ(i / k10MsBlocksPerPacket, packet_cb_.num_calls()); 323 if (packet_cb_.num_calls() > 0) 327 EXPECT_EQ(kLoops / k10MsBlocksPerPacket, packet_cb_.num_calls()); 342 EXPECT_EQ(j, packet_cb_.num_calls()); 345 EXPECT_EQ(j + 1, packet_cb_.num_calls()); 358 EXPECT_EQ(kNumPackets1 + j, packet_cb_.num_calls()); 416 int num_calls = packet_cb_.num_calls(); local 648 int num_calls = packet_cb_.num_calls(); \/\/ Store locally for thread safety. local [all...] |