Home
last modified time | relevance | path

Searched refs:sequential (Results 1 – 24 of 24) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamParSeqTest.java40 s = s.sequential(); in testParSeq()
43 s = s.sequential(); in testParSeq()
DSequentialOpTest.java60 …or<Stream<Integer>>) s -> s.map(id).peek(e -> { counter.incrementAndGet(); }).sequential().map(id), in testLazy()
62 (UnaryOperator<Stream<Integer>>) s -> s.sequential().map(id).peek(e -> { in testLazy()
104 (UnaryOperator<Stream<Integer>>) s -> s.sequential(), in testMixedSeqPar()
DIntPrimitiveOpsTests.java158 IntStream.range(1, 1000).sequential().forEach(consumer); in testSequential()
164 IntStream.range(1, 1000).parallel().sequential().forEach(consumer); in testSequential()
DLongPrimitiveOpsTests.java158 LongStream.range(1, 1000).sequential().forEach(consumer); in testSequential()
164 LongStream.range(1, 1000).parallel().sequential().forEach(consumer); in testSequential()
DIntSliceOpTest.java201 int[] l = IntStream.range(1, 1001).parallel().skip(200).limit(200).sequential().toArray(); in testSkipParallel()
207 int[] l = IntStream.range(1, 1001).parallel().limit(500).sequential().toArray(); in testLimitParallel()
/libcore/ojluni/src/main/java/java/util/stream/
DBaseStream.java105 S sequential(); in sequential() method
DReferencePipeline.java283 result.sequential().forEach(downstream);
312 result.sequential().forEach(downstreamAsInt);
341 result.sequential().forEach(downstreamAsDouble);
370 result.sequential().forEach(downstreamAsLong);
DDoubleStream.java707 DoubleStream sequential(); in sequential() method
DIntStream.java674 IntStream sequential(); in sequential() method
DLongStream.java667 LongStream sequential(); in sequential() method
DAbstractPipeline.java306 public final S sequential() { in sequential() method in AbstractPipeline
DDoublePipeline.java285 result.sequential().forEach(i -> downstream.accept(i));
DIntPipeline.java322 result.sequential().forEach(i -> downstream.accept(i));
DLongPipeline.java303 result.sequential().forEach(i -> downstream.accept(i));
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DStreamTestScenario.java50 s = s.sequential(); in STREAM_FOR_EACH_WITH_CLOSE()
114 m.apply(data.parallelStream()).sequential().forEach(b); in PAR_STREAM_SEQUENTIAL_FOR_EACH()
201 for (U u : m.apply(data.parallelStream().sequential()).collect(Collectors.toList())) in PAR_STREAM_TO_STREAM_COLLECT_TO_LIST()
DLongStreamTestScenario.java51 s = s.sequential(); in STREAM_FOR_EACH_WITH_CLOSE()
103 m.apply(data.parallelStream()).sequential().forEach(b); in PAR_STREAM_SEQUENTIAL_FOR_EACH()
DDoubleStreamTestScenario.java51 s = s.sequential(); in STREAM_FOR_EACH_WITH_CLOSE()
103 m.apply(data.parallelStream()).sequential().forEach(b); in PAR_STREAM_SEQUENTIAL_FOR_EACH()
DIntStreamTestScenario.java51 s = s.sequential(); in STREAM_FOR_EACH_WITH_CLOSE()
103 m.apply(data.parallelStream()).sequential().forEach(b); in PAR_STREAM_SEQUENTIAL_FOR_EACH()
DOpTestCase.java483 return terminalF.apply(source.sequential()); in ALL_PARALLEL_SEQUENTIAL()
544 S_OUT out = streamF.apply(data.stream()).sequential(); in exercise()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DStreamTestScenario.java53 s = s.sequential(); in STREAM_FOR_EACH_WITH_CLOSE()
117 m.apply(data.parallelStream()).sequential().forEach(b); in PAR_STREAM_SEQUENTIAL_FOR_EACH()
204 for (U u : m.apply(data.parallelStream().sequential()).collect(Collectors.toList())) in PAR_STREAM_TO_STREAM_COLLECT_TO_LIST()
DDoubleStreamTestScenario.java55 s = s.sequential(); in STREAM_FOR_EACH_WITH_CLOSE()
107 m.apply(data.parallelStream()).sequential().forEach(b); in PAR_STREAM_SEQUENTIAL_FOR_EACH()
DLongStreamTestScenario.java54 s = s.sequential(); in STREAM_FOR_EACH_WITH_CLOSE()
106 m.apply(data.parallelStream()).sequential().forEach(b); in PAR_STREAM_SEQUENTIAL_FOR_EACH()
DIntStreamTestScenario.java54 s = s.sequential(); in STREAM_FOR_EACH_WITH_CLOSE()
106 m.apply(data.parallelStream()).sequential().forEach(b); in PAR_STREAM_SEQUENTIAL_FOR_EACH()
DOpTestCase.java484 return terminalF.apply(source.sequential()); in ALL_PARALLEL_SEQUENTIAL()
545 S_OUT out = streamF.apply(data.stream()).sequential(); in exercise()