/external/guava/guava-tests/test/com/google/common/cache/ |
D | AbstractCacheTest.java | 179 SimpleStatsCounter counter2 = new SimpleStatsCounter(); in testSimpleStatsIncrementBy() local 181 counter2.recordHits(1); in testSimpleStatsIncrementBy() 184 counter2.recordLoadSuccess(i); in testSimpleStatsIncrementBy() 188 counter2.recordLoadException(i); in testSimpleStatsIncrementBy() 192 counter2.recordMisses(1); in testSimpleStatsIncrementBy() 195 counter2.recordEviction(); in testSimpleStatsIncrementBy() 198 counter1.incrementBy(counter2); in testSimpleStatsIncrementBy()
|
/external/guava/android/guava-tests/test/com/google/common/cache/ |
D | AbstractCacheTest.java | 179 SimpleStatsCounter counter2 = new SimpleStatsCounter(); in testSimpleStatsIncrementBy() local 181 counter2.recordHits(1); in testSimpleStatsIncrementBy() 184 counter2.recordLoadSuccess(i); in testSimpleStatsIncrementBy() 188 counter2.recordLoadException(i); in testSimpleStatsIncrementBy() 192 counter2.recordMisses(1); in testSimpleStatsIncrementBy() 195 counter2.recordEviction(); in testSimpleStatsIncrementBy() 198 counter1.incrementBy(counter2); in testSimpleStatsIncrementBy()
|
/external/webrtc/rtc_base/ |
D | cpu_time_unittest.cc | 64 int64_t counter2; in TEST() local 67 PlatformThread thread2(WorkingFunction, reinterpret_cast<void*>(&counter2), in TEST() 75 EXPECT_GE(counter2, 0); in TEST()
|
/external/libchrome/base/synchronization/ |
D | waitable_event_watcher_unittest.cc | 213 int counter2 = 0; in TEST_P() local 229 &event, BindOnce(callback, Unretained(&run_loop), Unretained(&counter2)), in TEST_P() 236 EXPECT_EQ(1, counter2); in TEST_P() 248 int counter2 = 0; in TEST_P() local 270 BindOnce(callback, Unretained(¤t_run_loop), Unretained(&counter2)), in TEST_P() 281 EXPECT_TRUE((counter1 == 1) ^ (counter2 == 1)); in TEST_P() 296 EXPECT_EQ(1, counter2); in TEST_P()
|
/external/webrtc/rtc_base/numerics/ |
D | sample_counter_unittest.cc | 66 SampleCounterWithVariance counter2; in TEST() local 68 counter2.Add(value); in TEST() 74 counter1.Add(counter2); in TEST()
|
/external/tensorflow/tensorflow/python/eager/ |
D | monitoring_test.py | 42 counter2 = monitoring.Counter('test/counter2', 'test counter', 'label1', 44 counter2.get_cell('foo', 'bar').increase_by(5) 45 self.assertEqual(counter2.get_cell('foo', 'bar').value(), 5) 50 …counter2 = monitoring.Counter('test/same_counter', 'test counter') # pylint: disable=unused-varia…
|
/external/llvm-project/llvm/test/Transforms/LoopVectorize/ |
D | pr38697.ll | 96 ; uint32_t counter1, counter2; 101 ; for (counter2 = start2; counter2 < 10; ++counter2) { 148 %counter2.025 = phi i32 [ %start2, %for.body3.lr.ph ], [ %inc, %for.body3 ] 155 %inc = add i32 %counter2.025, 1 209 %counter2.025 = phi i32 [ %start2, %for.body3.lr.ph ], [ %inc, %for.body3 ] 216 %inc = add i32 %counter2.025, 1 271 %counter2.025 = phi i32 [ %start2, %for.body3.lr.ph ], [ %inc, %for.body3 ] 278 %inc = add i32 %counter2.025, 1 331 %counter2.025 = phi i32 [ %start2, %for.body3.lr.ph ], [ %inc, %for.body3 ] 338 %inc = add i32 %counter2.025, 1
|
/external/rust/crates/criterion/tests/ |
D | criterion_tests.rs | 216 let counter2 = Counter::default(); in test_warmup_time() localVariable 217 let clone = counter2.clone(); in test_warmup_time() 225 assert!(counter1.read() < counter2.read()); in test_warmup_time() 238 let counter2 = Counter::default(); in test_measurement_time() localVariable 239 let clone = counter2.clone(); in test_measurement_time() 244 assert!(counter1.read() < counter2.read()); in test_measurement_time()
|
/external/deqp/framework/delibs/dethread/ |
D | deThreadTest.c | 186 deInt32 counter2; member 219 data->counter2 += numIncremented; in mutexTestThr2() 309 data.counter2 = 0; in deMutex_selfTest() 329 DE_TEST_ASSERT(data.counter == data.counter2); in deMutex_selfTest()
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api_experimental_test.cc | 81 auto* counter2 = TFE_MonitoringNewCounter2("test/counter2", status, in TEST() local 85 auto* cell2 = TFE_MonitoringGetCellCounter2(counter2, "foo", "bar"); in TEST() 90 TFE_MonitoringDeleteCounter2(counter2); in TEST()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ChartDelta.java | 271 private void showTotal(PrintWriter pw, String title2, Counter<ChangeType> counter2) { in showTotal() argument 272 long total = counter2.getTotal(); in showTotal() 281 final long current = counter2.getCount(item); in showTotal()
|