Home
last modified time | relevance | path

Searched refs:StreamShape (Results 1 – 25 of 40) sorted by relevance

12

/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DCollectorOps.java35 return new StatefulCollector<>(0, StreamShape.REFERENCE); in collector()
41 private final StreamShape inputShape;
43 public StatefulCollector(int opFlags, StreamShape inputShape) { in StatefulCollector()
49 public StreamShape inputShape() { in inputShape()
54 public StreamShape outputShape() { in outputShape()
78 this(StreamShape.REFERENCE); in TestParallelSizedOp()
81 protected TestParallelSizedOp(StreamShape shape) { in TestParallelSizedOp()
97 super(StreamShape.INT_VALUE); in OfInt()
103 super(StreamShape.LONG_VALUE); in OfLong()
109 super(StreamShape.DOUBLE_VALUE); in OfDouble()
DFlagDeclaringOp.java31 private final StreamShape shape;
34 this(flags, StreamShape.REFERENCE); in FlagDeclaringOp()
37 public FlagDeclaringOp(int flags, StreamShape shape) { in FlagDeclaringOp()
43 public StreamShape outputShape() { in outputShape()
48 public StreamShape inputShape() { in inputShape()
DTestFlagExpectedOp.java33 StreamShape shape = StreamShape.REFERENCE;
58 Builder<T> shape(StreamShape shape) { in shape()
71 final StreamShape shape;
77 this(flags, known, preserve, notKnown, StreamShape.REFERENCE); in TestFlagExpectedOp()
84 StreamShape shape) { in TestFlagExpectedOp()
93 public StreamShape outputShape() { in outputShape()
98 public StreamShape inputShape() { in inputShape()
DStatelessTestOp.java65 default StreamShape inputShape() { return StreamShape.REFERENCE; }
67 default StreamShape outputShape() { return StreamShape.REFERENCE; }
DStatefulTestOp.java121 default StreamShape inputShape() { return StreamShape.REFERENCE; }
123 default StreamShape outputShape() { return StreamShape.REFERENCE; }
DOpTestCase.java54 private final Map<StreamShape, Set<? extends BaseStreamTestScenario>> testScenarios;
57 testScenarios = new EnumMap<>(StreamShape.class); in OpTestCase()
58 …testScenarios.put(StreamShape.REFERENCE, Collections.unmodifiableSet(EnumSet.allOf(StreamTestScena… in OpTestCase()
59 …testScenarios.put(StreamShape.INT_VALUE, Collections.unmodifiableSet(EnumSet.allOf(IntStreamTestSc… in OpTestCase()
60 …testScenarios.put(StreamShape.LONG_VALUE, Collections.unmodifiableSet(EnumSet.allOf(LongStreamTest… in OpTestCase()
61 …testScenarios.put(StreamShape.DOUBLE_VALUE, Collections.unmodifiableSet(EnumSet.allOf(DoubleStream… in OpTestCase()
91 StreamShape getShape(); in getShape()
251 final StreamShape shape;
449 default R run(Function<S_OUT, R> terminalF, S_OUT source, StreamShape shape) { in run()
460 public Object run(Function terminalF, BaseStream source, StreamShape shape) { in SINGLE_SEQUENTIAL_SHORT_CIRCUIT()
[all …]
DTestData.java57 StreamShape getShape(); in getShape()
212 private final StreamShape shape;
220 StreamShape shape, in AbstractTestData()
236 public StreamShape getShape() { in getShape()
275 super(name, StreamShape.REFERENCE, state, streamFn, parStreamFn, splitrFn, sizeFn); in RefTestData()
290 super(name, StreamShape.INT_VALUE, state, streamFn, parStreamFn, splitrFn, sizeFn); in IntTestData()
315 super(name, StreamShape.LONG_VALUE, state, streamFn, parStreamFn, splitrFn, sizeFn); in LongTestData()
340 … super(name, StreamShape.DOUBLE_VALUE, state, streamFn, parStreamFn, splitrFn, sizeFn); in DoubleTestData()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DCollectorOps.java36 return new StatefulCollector<>(0, StreamShape.REFERENCE); in collector()
42 private final StreamShape inputShape;
44 public StatefulCollector(int opFlags, StreamShape inputShape) { in StatefulCollector()
50 public StreamShape inputShape() { in inputShape()
55 public StreamShape outputShape() { in outputShape()
79 this(StreamShape.REFERENCE); in TestParallelSizedOp()
82 protected TestParallelSizedOp(StreamShape shape) { in TestParallelSizedOp()
98 super(StreamShape.INT_VALUE); in OfInt()
104 super(StreamShape.LONG_VALUE); in OfLong()
110 super(StreamShape.DOUBLE_VALUE); in OfDouble()
DFlagDeclaringOp.java26 import java.util.stream.StreamShape;
34 private final StreamShape shape;
37 this(flags, StreamShape.REFERENCE); in FlagDeclaringOp()
40 public FlagDeclaringOp(int flags, StreamShape shape) { in FlagDeclaringOp()
46 public StreamShape outputShape() { in outputShape()
51 public StreamShape inputShape() { in inputShape()
DTestFlagExpectedOp.java34 StreamShape shape = StreamShape.REFERENCE;
59 Builder<T> shape(StreamShape shape) { in shape()
72 final StreamShape shape;
78 this(flags, known, preserve, notKnown, StreamShape.REFERENCE); in TestFlagExpectedOp()
85 StreamShape shape) { in TestFlagExpectedOp()
94 public StreamShape outputShape() { in outputShape()
99 public StreamShape inputShape() { in inputShape()
DStatelessTestOp.java30 import java.util.stream.StreamShape;
75 default StreamShape inputShape() { return StreamShape.REFERENCE; }
77 default StreamShape outputShape() { return StreamShape.REFERENCE; }
DStatefulTestOp.java122 default StreamShape inputShape() { return StreamShape.REFERENCE; }
124 default StreamShape outputShape() { return StreamShape.REFERENCE; }
DOpTestCase.java55 private final Map<StreamShape, Set<? extends BaseStreamTestScenario>> testScenarios;
58 testScenarios = new EnumMap<>(StreamShape.class); in OpTestCase()
59 …testScenarios.put(StreamShape.REFERENCE, Collections.unmodifiableSet(EnumSet.allOf(StreamTestScena… in OpTestCase()
60 …testScenarios.put(StreamShape.INT_VALUE, Collections.unmodifiableSet(EnumSet.allOf(IntStreamTestSc… in OpTestCase()
61 …testScenarios.put(StreamShape.LONG_VALUE, Collections.unmodifiableSet(EnumSet.allOf(LongStreamTest… in OpTestCase()
62 …testScenarios.put(StreamShape.DOUBLE_VALUE, Collections.unmodifiableSet(EnumSet.allOf(DoubleStream… in OpTestCase()
92 StreamShape getShape(); in getShape()
252 final StreamShape shape;
450 default R run(Function<S_OUT, R> terminalF, S_OUT source, StreamShape shape) { in run()
461 public Object run(Function terminalF, BaseStream source, StreamShape shape) { in SINGLE_SEQUENTIAL_SHORT_CIRCUIT()
[all …]
DTestData.java58 StreamShape getShape(); in getShape()
213 private final StreamShape shape;
221 StreamShape shape, in AbstractTestData()
237 public StreamShape getShape() { in getShape()
276 super(name, StreamShape.REFERENCE, state, streamFn, parStreamFn, splitrFn, sizeFn); in RefTestData()
291 super(name, StreamShape.INT_VALUE, state, streamFn, parStreamFn, splitrFn, sizeFn); in IntTestData()
316 super(name, StreamShape.LONG_VALUE, state, streamFn, parStreamFn, splitrFn, sizeFn); in LongTestData()
341 … super(name, StreamShape.DOUBLE_VALUE, state, streamFn, parStreamFn, splitrFn, sizeFn); in DoubleTestData()
/libcore/ojluni/src/main/java/java/util/stream/
DMatchOps.java97 return new MatchOp<>(StreamShape.REFERENCE, matchKind, MatchSink::new); in makeRef()
126 return new MatchOp<>(StreamShape.INT_VALUE, matchKind, MatchSink::new); in makeInt()
156 return new MatchOp<>(StreamShape.LONG_VALUE, matchKind, MatchSink::new); in makeLong()
186 return new MatchOp<>(StreamShape.DOUBLE_VALUE, matchKind, MatchSink::new); in makeDouble()
197 private final StreamShape inputShape;
209 MatchOp(StreamShape shape, in MatchOp()
223 public StreamShape inputShape() { in inputShape()
DIntPipeline.java134 public final StreamShape getOutputShape() { in getOutputShape()
135 return StreamShape.INT_VALUE; in getOutputShape()
189 return new LongPipeline.StatelessOp<Integer>(this, StreamShape.INT_VALUE, in asLongStream()
205 return new DoublePipeline.StatelessOp<Integer>(this, StreamShape.INT_VALUE,
227 return new StatelessOp<Integer>(this, StreamShape.INT_VALUE,
244 return new ReferencePipeline.StatelessOp<Integer, U>(this, StreamShape.INT_VALUE,
261 return new LongPipeline.StatelessOp<Integer>(this, StreamShape.INT_VALUE,
278 return new DoublePipeline.StatelessOp<Integer>(this, StreamShape.INT_VALUE,
294 return new StatelessOp<Integer>(this, StreamShape.INT_VALUE,
321 return new StatelessOp<Integer>(this, StreamShape.INT_VALUE, StreamOpFlag.NOT_ORDERED) {
[all …]
DReduceOps.java88 return new ReduceOp<T, U, ReducingSink>(StreamShape.REFERENCE) { in makeRef()
138 return new ReduceOp<T, Optional<T>, ReducingSink>(StreamShape.REFERENCE) {
177 return new ReduceOp<T, I, ReducingSink>(StreamShape.REFERENCE) {
228 return new ReduceOp<T, R, ReducingSink>(StreamShape.REFERENCE) {
271 return new ReduceOp<Integer, Integer, ReducingSink>(StreamShape.INT_VALUE) {
321 return new ReduceOp<Integer, OptionalInt, ReducingSink>(StreamShape.INT_VALUE) {
364 return new ReduceOp<Integer, R, ReducingSink>(StreamShape.INT_VALUE) {
407 return new ReduceOp<Long, Long, ReducingSink>(StreamShape.LONG_VALUE) {
457 return new ReduceOp<Long, OptionalLong, ReducingSink>(StreamShape.LONG_VALUE) {
500 return new ReduceOp<Long, R, ReducingSink>(StreamShape.LONG_VALUE) {
[all …]
DLongPipeline.java132 public final StreamShape getOutputShape() { in getOutputShape()
133 return StreamShape.LONG_VALUE; in getOutputShape()
186 return new DoublePipeline.StatelessOp<Long>(this, StreamShape.LONG_VALUE, in asDoubleStream()
208 return new StatelessOp<Long>(this, StreamShape.LONG_VALUE,
225 return new ReferencePipeline.StatelessOp<Long, U>(this, StreamShape.LONG_VALUE,
242 return new IntPipeline.StatelessOp<Long>(this, StreamShape.LONG_VALUE,
259 return new DoublePipeline.StatelessOp<Long>(this, StreamShape.LONG_VALUE,
275 return new StatelessOp<Long>(this, StreamShape.LONG_VALUE,
302 return new StatelessOp<Long>(this, StreamShape.LONG_VALUE, StreamOpFlag.NOT_ORDERED) {
313 return new StatelessOp<Long>(this, StreamShape.LONG_VALUE,
[all …]
DFindOps.java58 return new FindOp<>(mustFindFirst, StreamShape.REFERENCE, Optional.empty(), in makeRef()
70 return new FindOp<>(mustFindFirst, StreamShape.INT_VALUE, OptionalInt.empty(), in makeInt()
82 return new FindOp<>(mustFindFirst, StreamShape.LONG_VALUE, OptionalLong.empty(), in makeLong()
94 return new FindOp<>(mustFindFirst, StreamShape.DOUBLE_VALUE, OptionalDouble.empty(), in makeDouble()
109 private final StreamShape shape;
128 StreamShape shape, in FindOp()
145 public StreamShape inputShape() { in inputShape()
DNode.java174 default StreamShape getShape() { in getShape()
175 return StreamShape.REFERENCE; in getShape()
379 default StreamShape getShape() { in getShape()
380 return StreamShape.INT_VALUE; in getShape()
452 default StreamShape getShape() { in getShape()
453 return StreamShape.LONG_VALUE; in getShape()
528 default StreamShape getShape() { in getShape()
529 return StreamShape.DOUBLE_VALUE; in getShape()
DReferencePipeline.java101 public final StreamShape getOutputShape() { in getOutputShape()
102 return StreamShape.REFERENCE; in getOutputShape()
152 … return new StatelessOp<P_OUT, P_OUT>(this, StreamShape.REFERENCE, StreamOpFlag.NOT_ORDERED) { in unordered()
163 return new StatelessOp<P_OUT, P_OUT>(this, StreamShape.REFERENCE,
187 return new StatelessOp<P_OUT, R>(this, StreamShape.REFERENCE,
204 return new IntPipeline.StatelessOp<P_OUT>(this, StreamShape.REFERENCE,
221 return new LongPipeline.StatelessOp<P_OUT>(this, StreamShape.REFERENCE,
238 return new DoublePipeline.StatelessOp<P_OUT>(this, StreamShape.REFERENCE,
256 return new StatelessOp<P_OUT, R>(this, StreamShape.REFERENCE,
283 return new IntPipeline.StatelessOp<P_OUT>(this, StreamShape.REFERENCE,
[all …]
DTerminalOp.java53 default StreamShape inputShape() { return StreamShape.REFERENCE; } in inputShape()
DDoublePipeline.java131 public final StreamShape getOutputShape() { in getOutputShape()
132 return StreamShape.DOUBLE_VALUE; in getOutputShape()
191 return new StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE, in map()
208 return new ReferencePipeline.StatelessOp<Double, U>(this, StreamShape.DOUBLE_VALUE,
225 return new IntPipeline.StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE,
242 return new LongPipeline.StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE,
258 return new StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE,
285 return new StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE, StreamOpFlag.NOT_ORDERED) {
296 return new StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE,
319 return new StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE,
[all …]
DForEachOps.java199 public StreamShape inputShape() { in inputShape()
200 return StreamShape.INT_VALUE; in inputShape()
220 public StreamShape inputShape() { in inputShape()
221 return StreamShape.LONG_VALUE; in inputShape()
241 public StreamShape inputShape() { in inputShape()
242 return StreamShape.DOUBLE_VALUE; in inputShape()
DStreamShape.java50 public enum StreamShape { enum

12