Home
last modified time | relevance | path

Searched refs:incs (Results 1 – 4 of 4) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DLongAccumulatorTest.java125 final int incs = 1000000; in testAccumulateAndGetMT() local
131 pool.execute(new AccTask(a, phaser, incs)); in testAccumulateAndGetMT()
134 long expected = incs - 1; in testAccumulateAndGetMT()
143 final int incs; field in LongAccumulatorTest.AccTask
145 AccTask(LongAccumulator acc, Phaser phaser, int incs) { in AccTask() argument
148 this.incs = incs; in AccTask()
154 for (int i = 0; i < incs; ++i) in run()
DDoubleAccumulatorTest.java125 final int incs = 1000000; in testAccumulateAndGetMT() local
131 pool.execute(new AccTask(a, phaser, incs)); in testAccumulateAndGetMT()
134 double expected = incs - 1; in testAccumulateAndGetMT()
143 final int incs; field in DoubleAccumulatorTest.AccTask
145 AccTask(DoubleAccumulator acc, Phaser phaser, int incs) { in AccTask() argument
148 this.incs = incs; in AccTask()
154 for (int i = 0; i < incs; ++i) in run()
DDoubleAdderTest.java137 final int incs = 1000000; in testAddAndSumMT() local
143 pool.execute(new AdderTask(a, barrier, incs)); in testAddAndSumMT()
146 double total = (long)nthreads * incs; in testAddAndSumMT()
155 final int incs; field in DoubleAdderTest.AdderTask
157 AdderTask(DoubleAdder adder, CyclicBarrier barrier, int incs) { in AdderTask() argument
160 this.incs = incs; in AdderTask()
167 for (int i = 0; i < incs; ++i) in run()
DLongAdderTest.java160 final int incs = 1000000; in testAddAndSumMT() local
166 pool.execute(new AdderTask(a, barrier, incs)); in testAddAndSumMT()
169 long total = (long)nthreads * incs; in testAddAndSumMT()
178 final int incs; field in LongAdderTest.AdderTask
180 AdderTask(LongAdder adder, CyclicBarrier barrier, int incs) { in AdderTask() argument
183 this.incs = incs; in AdderTask()
190 for (int i = 0; i < incs; ++i) in run()