Home
last modified time | relevance | path

Searched refs:LongAccumulator (Results 1 – 6 of 6) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DLongAccumulatorTest.java12 import java.util.concurrent.atomic.LongAccumulator;
32 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testConstructor()
40 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testAccumulateAndGet()
53 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testReset()
64 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testGetThenReset()
75 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testToString()
85 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testIntValue()
95 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testLongValue()
105 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testFloatValue()
115 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testDoubleValue()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DLongAccumulatorTest.java38 import java.util.concurrent.atomic.LongAccumulator;
55 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testConstructor()
63 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testAccumulateAndGet()
76 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testReset()
87 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testGetThenReset()
98 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testToString()
108 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testIntValue()
118 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testLongValue()
128 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testFloatValue()
138 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testDoubleValue()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DLongAccumulator.java82 public class LongAccumulator extends Striped64 implements Serializable { class
95 public LongAccumulator(LongBinaryOperator accumulatorFunction, in LongAccumulator() method in LongAccumulator
269 LongAccumulator a = new LongAccumulator(function, identity); in readResolve()
/libcore/
Dopenjdk_java_files.bp1045 "ojluni/src/main/java/java/util/concurrent/atomic/LongAccumulator.java",
DEXPECTED_UPSTREAM1096 …l/concurrent/atomic/LongAccumulator.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java/uti…
/libcore/api/
Dcurrent.txt16800 public class LongAccumulator extends java.lang.Number implements java.io.Serializable {
16801 ctor public LongAccumulator(java.util.function.LongBinaryOperator, long);