Home
last modified time | relevance | path

Searched refs:kNumElements (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc/test/core/gprpp/
Dinlined_vector_test.cc42 const int kNumElements = 9; in TEST() local
45 FillVector(&v, kNumElements); in TEST()
46 EXPECT_EQ(static_cast<size_t>(kNumElements), v.size()); in TEST()
48 for (int i = 0; i < kNumElements; ++i) { in TEST()
55 const int kNumElements = 5; in TEST() local
57 FillVector(&v, kNumElements); in TEST()
58 EXPECT_EQ(static_cast<size_t>(kNumElements), v.size()); in TEST()
59 for (int i = 0; i < kNumElements; ++i) { in TEST()
81 const int kNumElements = 10; in TEST() local
84 FillVector(&v, kNumElements); in TEST()
[all …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/
Dnada_unittest.cc33 std::fill_n(raw_signal_, kNumElements, kSignalValue); in MedianFilterConstantArray()
34 for (int i = 0; i < kNumElements; ++i) { in MedianFilterConstantArray()
45 for (int i = 0; i < kNumElements; ++i) { in MedianFilterIntermittentNoise()
48 for (int i = 0; i < kNumElements; ++i) { in MedianFilterIntermittentNoise()
68 std::fill_n(raw_signal_, kNumElements, kSignalValue); in ExponentialSmoothingConstantArray()
69 ExponentialSmoothingFilter(raw_signal_, kNumElements, exp_smoothed); in ExponentialSmoothingConstantArray()
73 static const int kNumElements = 1000; member in webrtc::testing::bwe::FilterTest
76 int64_t raw_signal_[kNumElements];
77 int64_t median_filtered_[kNumElements];
465 for (int i = 0; i < kNumElements; ++i) { in TEST_F()
[all …]
/external/skia/bench/
DTopoSortBench.cpp33 sk_tool_utils::TopoTestNode::AllocNodes(&fGraph, kNumElements); in onDelayedSetup()
35 for (int i = kNumElements-1; i > 0; --i) { in onDelayedSetup()
66 static const int kNumElements = 1000; member in TopoSortBench
/external/skqp/bench/
DTopoSortBench.cpp33 sk_tool_utils::TopoTestNode::AllocNodes(&fGraph, kNumElements); in onDelayedSetup()
35 for (int i = kNumElements-1; i > 0; --i) { in onDelayedSetup()
66 static const int kNumElements = 1000; member in TopoSortBench
/external/tensorflow/tensorflow/compiler/xla/tests/
Dhalf_test.cc37 static const int kNumElements = 4; member in xla::__anonf2b197e30111::HalfTestBase
113 CHECK_EQ(kNumElements, x.size()); in XLA_TEST_P()
114 bool expected[kNumElements]; in XLA_TEST_P()
207 CHECK_EQ(kNumElements, x.size()); in XLA_TEST_P()
208 bool expected[kNumElements]; in XLA_TEST_P()
/external/google-breakpad/src/common/
Dmemory_range_unittest.cc90 const size_t kNumElements = sizeof(kElements) / sizeof(kElements[0]); variable
174 for (size_t i = 0; i < kNumElements; ++i) { in TEST()
/external/google-breakpad/src/tools/linux/md2core/
Dminidump_memory_range_unittest.cc91 const size_t kNumElements = sizeof(kElements) / sizeof(kElements[0]); variable
203 for (size_t i = 0; i < kNumElements; ++i) { in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_test.cc1434 constexpr int kNumElements = 1 << 25; // float += 1 saturates at 1<<24 in TEST_F() local
1435 std::vector<float> v(kNumElements, 1.0f); in TEST_F()
1458 LiteralTestUtil::ExpectR0Equal<float>(kNumElements, result); in TEST_F()
1470 constexpr int kNumElements = 1 << 25; // float += 1 saturates at 1<<24 in BM_ReducePrecisely() local
1471 std::vector<float> v(kNumElements, 1.0f); in BM_ReducePrecisely()