Searched refs:accumulate (Results 1 – 11 of 11) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | LongAccumulatorTest.java | 41 ai.accumulate(2); in testAccumulateAndGet() 43 ai.accumulate(-4); in testAccumulateAndGet() 45 ai.accumulate(4); in testAccumulateAndGet() 54 ai.accumulate(2); in testReset() 65 ai.accumulate(2); in testGetThenReset() 77 ai.accumulate(1); in testToString() 87 ai.accumulate(1); in testIntValue() 97 ai.accumulate(1); in testLongValue() 107 ai.accumulate(1); in testFloatValue() 117 ai.accumulate(1); in testDoubleValue() [all …]
|
D | DoubleAccumulatorTest.java | 41 ai.accumulate(2.0); in testAccumulateAndGet() 43 ai.accumulate(-4.0); in testAccumulateAndGet() 45 ai.accumulate(4.0); in testAccumulateAndGet() 54 ai.accumulate(2.0); in testReset() 65 ai.accumulate(2.0); in testGetThenReset() 77 ai.accumulate(1.0); in testToString() 87 ai.accumulate(1.0); in testIntValue() 97 ai.accumulate(1.0); in testLongValue() 107 ai.accumulate(1.0); in testFloatValue() 117 ai.accumulate(1.0); in testDoubleValue() [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | DoubleAccumulatorTest.java | 64 ai.accumulate(2.0); in testAccumulateAndGet() 66 ai.accumulate(-4.0); in testAccumulateAndGet() 68 ai.accumulate(4.0); in testAccumulateAndGet() 77 ai.accumulate(2.0); in testReset() 88 ai.accumulate(2.0); in testGetThenReset() 100 ai.accumulate(1.0); in testToString() 110 ai.accumulate(1.0); in testIntValue() 120 ai.accumulate(1.0); in testLongValue() 130 ai.accumulate(1.0); in testFloatValue() 140 ai.accumulate(1.0); in testDoubleValue() [all …]
|
D | LongAccumulatorTest.java | 64 ai.accumulate(2); in testAccumulateAndGet() 66 ai.accumulate(-4); in testAccumulateAndGet() 68 ai.accumulate(4); in testAccumulateAndGet() 77 ai.accumulate(2); in testReset() 88 ai.accumulate(2); in testGetThenReset() 100 ai.accumulate(1); in testToString() 110 ai.accumulate(1); in testIntValue() 120 ai.accumulate(1); in testLongValue() 130 ai.accumulate(1); in testFloatValue() 140 ai.accumulate(1); in testDoubleValue() [all …]
|
/libcore/json/src/test/java/libcore/org/json/ |
D | JSONObjectTest.java | 513 object.accumulate("foo", Double.NaN); in testAccumulateValueChecking() 517 object.accumulate("foo", 1); in testAccumulateValueChecking() 519 object.accumulate("foo", Double.NaN); in testAccumulateValueChecking() 523 object.accumulate("foo", 2); in testAccumulateValueChecking() 525 object.accumulate("foo", Double.NaN); in testAccumulateValueChecking() 783 object.accumulate("foo", 6); in testAccumulateMutatesInPlace() 786 object.accumulate("foo", 7); in testAccumulateMutatesInPlace() 794 object.accumulate("foo", 5); in testAccumulateExistingArray() 800 object.accumulate("foo", 5); in testAccumulatePutArray() 802 object.accumulate("foo", new JSONArray()); in testAccumulatePutArray() [all …]
|
D | SelfUseTest.java | 135 object.accumulate("foo", "bar"); in testObjectAccumulate()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | StreamLinkTest.java | 106 double[] expected = data.stream().map(e -> accumulate(e, n)).toArray(); in testDoubleManyStreams() 114 private double accumulate(double e, int n) { in accumulate() method
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | LongAccumulator.java | 106 public void accumulate(long x) { in accumulate() method in LongAccumulator
|
D | DoubleAccumulator.java | 108 public void accumulate(double x) { in accumulate() method in DoubleAccumulator
|
/libcore/json/src/main/java/org/json/ |
D | JSONObject.java | 309 …@NonNull public JSONObject accumulate(@NonNull String name, @Nullable Object value) throws JSONExc… in accumulate() method in JSONObject
|
/libcore/api/ |
D | current.txt | 16778 method public void accumulate(double); 16802 method public void accumulate(long); 20939 …method @NonNull public org.json.JSONObject accumulate(@NonNull String, @Nullable Object) throws or…
|