Home
last modified time | relevance | path

Searched refs:increment (Results 1 – 10 of 10) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadLocalRandom8Test.java81 r.ints(size).parallel().forEach(x -> counter.increment()); in testIntsCount()
96 r.longs(size).parallel().forEach(x -> counter.increment()); in testLongsCount()
111 r.doubles(size).parallel().forEach(x -> counter.increment()); in testDoublesCount()
181 r.ints().limit(size).parallel().forEach(x -> counter.increment()); in testUnsizedIntsCount()
192 r.longs().limit(size).parallel().forEach(x -> counter.increment()); in testUnsizedLongsCount()
203 r.doubles().limit(size).parallel().forEach(x -> counter.increment()); in testUnsizedDoublesCount()
214 r.ints().limit(size).forEach(x -> counter.increment()); in testUnsizedIntsCountSeq()
225 r.longs().limit(size).forEach(x -> counter.increment()); in testUnsizedLongsCountSeq()
236 r.doubles().limit(size).forEach(x -> counter.increment()); in testUnsizedDoublesCountSeq()
DLongAdderTest.java63 ai.increment(); in testIncrementAndsum()
65 ai.increment(); in testIncrementAndsum()
112 ai.increment(); in testToString()
122 ai.increment(); in testIntValue()
132 ai.increment(); in testLongValue()
142 ai.increment(); in testFloatValue()
152 ai.increment(); in testDoubleValue()
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractWatchKey.java117 ((Event<?>)prev).increment(); in signalEvent()
128 ((Event<?>)ev).increment(); in signalEvent()
219 void increment() { in increment() method in AbstractWatchKey.Event
/libcore/ojluni/src/test/java/util/stream/
DTestDoubleSumAverage.java70 double increment = Math.ulp(base)/2.0; in testForCompenstation() local
73 double expectedSum = base + (increment * (count - 1)); in testForCompenstation()
77 Supplier<DoubleStream> ds = () -> DoubleStream.iterate(base, e -> increment).limit(count); in testForCompenstation()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DLongAdder.java99 public void increment() { in increment() method in LongAdder
/libcore/luni/src/main/java/java/math/
DBigDecimal.java2813 int increment = 0; // the carry after rounding in roundingBehavior() local
2822 increment = Integer.signum(fraction); in roundingBehavior()
2827 increment = Math.max(Integer.signum(fraction), 0); in roundingBehavior()
2830 increment = Math.min(Integer.signum(fraction), 0); in roundingBehavior()
2834 increment = Integer.signum(fraction); in roundingBehavior()
2839 increment = Integer.signum(fraction); in roundingBehavior()
2844 increment = Integer.signum(fraction); in roundingBehavior()
2848 return increment; in roundingBehavior()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java3154 BigDecimal increment = this.icuDecimalFormat.getRoundingIncrement(); in compareIcuRoundingIncrement() local
3155 if (increment != null) { in compareIcuRoundingIncrement()
3157 && increment.equals(other.getRoundingIncrement()); in compareIcuRoundingIncrement()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DOldBigIntegerTest.java319 BigInteger increment = BigInteger.ONE; in test_addLjava_math_BigInteger() local
/libcore/luni/src/test/java/libcore/java/util/
DCalendarTest.java417 public void roll(int field, boolean increment) { in roll() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCalendarTest.java786 public void roll(int field, boolean increment) { in roll() argument