Home
last modified time | relevance | path

Searched refs:counter2 (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava-tests/test/com/google/common/cache/
DAbstractCacheTest.java179 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/
DAbstractCacheTest.java179 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/
Dcpu_time_unittest.cc64 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/
Dwaitable_event_watcher_unittest.cc213 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(&current_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/
Dsample_counter_unittest.cc66 SampleCounterWithVariance counter2; in TEST() local
68 counter2.Add(value); in TEST()
74 counter1.Add(counter2); in TEST()
/external/tensorflow/tensorflow/python/eager/
Dmonitoring_test.py42 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)
50counter2 = monitoring.Counter('test/same_counter', 'test counter') # pylint: disable=unused-varia…
/external/llvm-project/llvm/test/Transforms/LoopVectorize/
Dpr38697.ll96 ; 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/
Dcriterion_tests.rs216 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/
DdeThreadTest.c186 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/
Dc_api_experimental_test.cc81 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/
DChartDelta.java271 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()