Home
last modified time | relevance | path

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

12

/external/apache-commons-io/src/test/java/org/apache/commons/io/file/
DCountersEqualsAndHashCodeTest.java37 private void testEquals(final Counter counter1, final Counter counter2) { in testEquals() argument
38 Assertions.assertEquals(counter1, counter2); in testEquals()
40 Assertions.assertNotEquals(counter1, counter2); in testEquals()
41 counter2.increment(); in testEquals()
42 Assertions.assertEquals(counter1, counter2); in testEquals()
45 private void testEqualsByteCounters(final PathCounters counter1, final PathCounters counter2) { in testEqualsByteCounters() argument
46 Assertions.assertEquals(counter1, counter2); in testEqualsByteCounters()
48 Assertions.assertNotEquals(counter1, counter2); in testEqualsByteCounters()
49 counter2.getByteCounter().increment(); in testEqualsByteCounters()
50 Assertions.assertEquals(counter1, counter2); in testEqualsByteCounters()
[all …]
/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.cc63 int64_t counter2; in TEST() local
67 [&counter2] { WorkingFunction(&counter2); }, "Thread2"); in TEST()
72 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.py38 counter2 = monitoring.Counter('test/counter2', 'test counter', 'label1',
40 counter2.get_cell('foo', 'bar').increase_by(5)
41 self.assertEqual(counter2.get_cell('foo', 'bar').value(), 5)
46counter2 = monitoring.Counter('test/same_counter', 'test counter') # pylint: disable=unused-varia…
/external/deqp-deps/glslang/Test/baseResults/
Dvk.relaxed.frag.out20 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
30 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
40 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
47 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
56 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
65 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
74 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
82 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
90 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
98 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
[all …]
Dvk.relaxed.link1.frag.out14 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
21 0:20 counter2: direct index for structure ( coherent volatile buffer highp uint)
22 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
92 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
106 0:15 counter2: direct index for structure ( coherent volatile buffer highp uint)
107 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
115 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
176 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
194 …latile buffer highp uint counter1, coherent volatile buffer highp uint counter2, coherent volati…
201 0:20 counter2: direct index for structure ( coherent volatile buffer highp uint)
[all …]
Dvk.relaxed.stagelink.vert.out12 0:19 counter2: direct index for structure ( coherent volatile buffer highp uint)
13 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
21 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
119 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
136 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
143 0:20 counter2: direct index for structure ( coherent volatile buffer highp uint)
144 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
215 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
234 0:19 counter2: direct index for structure ( coherent volatile buffer highp uint)
235 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dvk.relaxed.frag.out20 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
30 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
40 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
47 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
56 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
65 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
74 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
82 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
90 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
98 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
[all …]
Dvk.relaxed.link1.frag.out14 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
21 0:20 counter2: direct index for structure ( coherent volatile buffer highp uint)
22 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
92 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
106 0:15 counter2: direct index for structure ( coherent volatile buffer highp uint)
107 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
115 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
176 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
194 …latile buffer highp uint counter1, coherent volatile buffer highp uint counter2, coherent volati…
201 0:20 counter2: direct index for structure ( coherent volatile buffer highp uint)
[all …]
Dvk.relaxed.stagelink.vert.out12 0:19 counter2: direct index for structure ( coherent volatile buffer highp uint)
13 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
21 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
119 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
136 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
143 0:20 counter2: direct index for structure ( coherent volatile buffer highp uint)
144 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
215 …lock{ coherent volatile buffer highp uint counter1, coherent volatile buffer highp uint counter2})
234 0:19 counter2: direct index for structure ( coherent volatile buffer highp uint)
235 …lock{ coherent volatile buffer highp uint counter3, coherent volatile buffer highp uint counter2})
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dvk.relaxed.link2.frag12 layout (binding = 0) uniform atomic_uint counter2;
15 uint j = atomicCounterIncrement(counter2) + atomicCounterDecrement(counter3);
Dvk.relaxed.link1.frag15 layout (binding = 0) uniform atomic_uint counter2;
20 uint j = atomicCounterIncrement(counter1) + atomicCounterDecrement(counter2);
Dvk.relaxed.stagelink.frag17 layout (binding = 0) uniform atomic_uint counter2;
20 uint j = atomicCounterIncrement(counter1) + atomicCounterDecrement(counter2);
Dvk.relaxed.stagelink.vert16 layout (binding = 0) uniform atomic_uint counter2;
19 uint j = atomicCounterIncrement(counter2) + atomicCounterDecrement(counter3);
Dvk.relaxed.frag32 layout(binding = 0) uniform atomic_uint counter2; // offset not used
56 atomicCounterIncrement(counter2);
/external/deqp-deps/glslang/Test/
Dvk.relaxed.link2.frag12 layout (binding = 0) uniform atomic_uint counter2;
15 uint j = atomicCounterIncrement(counter2) + atomicCounterDecrement(counter3);
Dvk.relaxed.stagelink.frag17 layout (binding = 0) uniform atomic_uint counter2;
20 uint j = atomicCounterIncrement(counter1) + atomicCounterDecrement(counter2);
Dvk.relaxed.link1.frag15 layout (binding = 0) uniform atomic_uint counter2;
20 uint j = atomicCounterIncrement(counter1) + atomicCounterDecrement(counter2);
Dvk.relaxed.stagelink.vert16 layout (binding = 0) uniform atomic_uint counter2;
19 uint j = atomicCounterIncrement(counter2) + atomicCounterDecrement(counter3);
Dvk.relaxed.frag32 layout(binding = 0) uniform atomic_uint counter2; // offset not used
56 atomicCounterIncrement(counter2);
/external/rust/crates/criterion/tests/
Dcriterion_tests.rs224 let counter2 = Counter::default(); in test_warmup_time() localVariable
225 let clone = counter2.clone(); in test_warmup_time()
233 assert!(counter1.read() < counter2.read()); in test_warmup_time()
246 let counter2 = Counter::default(); in test_measurement_time() localVariable
247 let clone = counter2.clone(); in test_measurement_time()
252 assert!(counter1.read() < counter2.read()); in test_measurement_time()
/external/cronet/base/synchronization/
Dwaitable_event_watcher_unittest.cc258 int counter2 = 0; in TEST_P() local
280 BindOnce(callback, Unretained(&current_run_loop), Unretained(&counter2)), in TEST_P()
291 EXPECT_TRUE((counter1 == 1) ^ (counter2 == 1)); in TEST_P()
306 EXPECT_EQ(1, counter2); in TEST_P()

12