/external/apache-commons-io/src/test/java/org/apache/commons/io/file/ |
D | CountersEqualsAndHashCodeTest.java | 37 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/ |
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 | 63 int64_t counter2; in TEST() local 67 [&counter2] { WorkingFunction(&counter2); }, "Thread2"); in TEST() 72 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 | 38 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) 46 …counter2 = monitoring.Counter('test/same_counter', 'test counter') # pylint: disable=unused-varia…
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | vk.relaxed.frag.out | 20 …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 …]
|
D | vk.relaxed.link1.frag.out | 14 …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 …]
|
D | vk.relaxed.stagelink.vert.out | 12 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/ |
D | vk.relaxed.frag.out | 20 …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 …]
|
D | vk.relaxed.link1.frag.out | 14 …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 …]
|
D | vk.relaxed.stagelink.vert.out | 12 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/ |
D | vk.relaxed.link2.frag | 12 layout (binding = 0) uniform atomic_uint counter2; 15 uint j = atomicCounterIncrement(counter2) + atomicCounterDecrement(counter3);
|
D | vk.relaxed.link1.frag | 15 layout (binding = 0) uniform atomic_uint counter2; 20 uint j = atomicCounterIncrement(counter1) + atomicCounterDecrement(counter2);
|
D | vk.relaxed.stagelink.frag | 17 layout (binding = 0) uniform atomic_uint counter2; 20 uint j = atomicCounterIncrement(counter1) + atomicCounterDecrement(counter2);
|
D | vk.relaxed.stagelink.vert | 16 layout (binding = 0) uniform atomic_uint counter2; 19 uint j = atomicCounterIncrement(counter2) + atomicCounterDecrement(counter3);
|
D | vk.relaxed.frag | 32 layout(binding = 0) uniform atomic_uint counter2; // offset not used 56 atomicCounterIncrement(counter2);
|
/external/deqp-deps/glslang/Test/ |
D | vk.relaxed.link2.frag | 12 layout (binding = 0) uniform atomic_uint counter2; 15 uint j = atomicCounterIncrement(counter2) + atomicCounterDecrement(counter3);
|
D | vk.relaxed.stagelink.frag | 17 layout (binding = 0) uniform atomic_uint counter2; 20 uint j = atomicCounterIncrement(counter1) + atomicCounterDecrement(counter2);
|
D | vk.relaxed.link1.frag | 15 layout (binding = 0) uniform atomic_uint counter2; 20 uint j = atomicCounterIncrement(counter1) + atomicCounterDecrement(counter2);
|
D | vk.relaxed.stagelink.vert | 16 layout (binding = 0) uniform atomic_uint counter2; 19 uint j = atomicCounterIncrement(counter2) + atomicCounterDecrement(counter3);
|
D | vk.relaxed.frag | 32 layout(binding = 0) uniform atomic_uint counter2; // offset not used 56 atomicCounterIncrement(counter2);
|
/external/rust/crates/criterion/tests/ |
D | criterion_tests.rs | 224 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/ |
D | waitable_event_watcher_unittest.cc | 258 int counter2 = 0; in TEST_P() local 280 BindOnce(callback, Unretained(¤t_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()
|