/libcore/luni/src/test/java/libcore/java/util/function/ |
D | IntUnaryOperatorTest.java | 32 IntUnaryOperator twice = x -> 2 *x; in testCompose() local 33 assertEquals(11, plusOne.compose(twice).applyAsInt(5)); in testCompose() 46 IntUnaryOperator twice = x -> 2 *x; in testAndThen() local 47 assertEquals(12, plusOne.andThen(twice).applyAsInt(5)); in testAndThen()
|
D | LongUnaryOperatorTest.java | 32 LongUnaryOperator twice = x -> 2L *x; in testCompose() local 33 assertEquals(11L, plusOne.compose(twice).applyAsLong(5L)); in testCompose() 46 LongUnaryOperator twice = x -> 2L *x; in testAndThen() local 47 assertEquals(12, plusOne.andThen(twice).applyAsLong(5L)); in testAndThen()
|
D | FunctionTest.java | 33 Function<Double, Double> twice = x -> 2 *x; in testCompose() local 34 assertEquals(11.0d, plusOne.compose(twice).apply(5.0d)); in testCompose() 47 Function<Double, Double> twice = x -> 2 *x; in testAndThen() local 48 assertEquals(12.0d, plusOne.andThen(twice).apply(5.0d)); in testAndThen()
|
D | DoubleUnaryOperatorTest.java | 38 DoubleUnaryOperator twice = x -> 2 *x; in testCompose() local 39 assertEquals(11.0d, plusOne.compose(twice).applyAsDouble(5.0d)); in testCompose() 52 DoubleUnaryOperator twice = x -> 2 *x; in testAndThen() local 53 assertEquals(12.0d, plusOne.andThen(twice).applyAsDouble(5.0d)); in testAndThen()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | DoubleStreamTestDataProvider.java | 42 private static final double[] twice = new double[200]; field in DoubleStreamTestDataProvider 63 System.arraycopy(to100, 0, twice, 0, to100.length); in System.arraycopy() argument 64 System.arraycopy(to100, 0, twice, to100.length, to100.length); in System.arraycopy() argument 79 {"2x[0..100]", twice},
|
D | LongStreamTestDataProvider.java | 42 private static final long[] twice = new long[200]; field in LongStreamTestDataProvider 62 System.arraycopy(to100, 0, twice, 0, to100.length); in System.arraycopy() argument 63 System.arraycopy(to100, 0, twice, to100.length, to100.length); in System.arraycopy() argument 78 {"2x[0..100]", twice},
|
D | StreamTestDataProvider.java | 49 private static final Integer[] twice = new Integer[200]; field in StreamTestDataProvider 70 System.arraycopy(to100, 0, twice, 0, to100.length); in System.arraycopy() argument 71 System.arraycopy(to100, 0, twice, to100.length, to100.length); in System.arraycopy() argument 86 {"2x[0..100]", twice},
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | IntStreamTestDataProvider.java | 40 private static final int[] twice = new int[200]; field in IntStreamTestDataProvider 59 System.arraycopy(to100, 0, twice, 0, to100.length); in System.arraycopy() argument 60 System.arraycopy(to100, 0, twice, to100.length, to100.length); in System.arraycopy() argument 74 {"2x[0..100]", twice},
|
D | LongStreamTestDataProvider.java | 40 private static final long[] twice = new long[200]; field in LongStreamTestDataProvider 59 System.arraycopy(to100, 0, twice, 0, to100.length); in System.arraycopy() argument 60 System.arraycopy(to100, 0, twice, to100.length, to100.length); in System.arraycopy() argument 74 {"2x[0..100]", twice},
|
D | StreamTestDataProvider.java | 45 private static final Integer[] twice = new Integer[200]; field in StreamTestDataProvider 65 System.arraycopy(to100, 0, twice, 0, to100.length); in System.arraycopy() argument 66 System.arraycopy(to100, 0, twice, to100.length, to100.length); in System.arraycopy() argument 80 {"2x[0..100]", twice},
|