Searched refs:leftSplit (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/java/util/stream/ |
D | ForEachOps.java | 280 Spliterator<S> rightSplit = spliterator, leftSplit; in compute() local 290 (leftSplit = rightSplit.trySplit()) == null) { in compute() 294 ForEachTask<S, T> leftTask = new ForEachTask<>(task, leftSplit); in compute() 299 rightSplit = leftSplit; in compute() 404 Spliterator<S> rightSplit = task.spliterator, leftSplit; in doCompute() local 408 (leftSplit = rightSplit.trySplit()) != null) { in doCompute() 410 new ForEachOrderedTask<>(task, leftSplit, task.leftPredecessor); in doCompute() 452 rightSplit = leftSplit; in doCompute()
|
D | StreamSpliterators.java | 648 T_SPLITR leftSplit = (T_SPLITR) s.trySplit(); in trySplit() local 649 if (leftSplit == null) in trySplit() 652 long leftSplitFenceUnbounded = index + leftSplit.estimateSize(); in trySplit() 664 s = leftSplit; in trySplit() 671 return leftSplit; in trySplit() 675 … return makeSpliterator(leftSplit, sliceOrigin, sliceFence, index, index = leftSplitFence); in trySplit()
|
D | Nodes.java | 1865 Spliterator<P_IN> rightSplit = spliterator, leftSplit; 1867 (leftSplit = rightSplit.trySplit()) != null) { 1869 long leftSplitSize = leftSplit.estimateSize(); 1870 task.makeChild(leftSplit, task.offset, leftSplitSize).fork();
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 543 Spliterator<T> leftSplit = parentAndRightSplit.trySplit(); in testSplitUntilNull() local 544 if (leftSplit == null) { in testSplitUntilNull() 549 assertSpliterator(leftSplit, e.rootCharacteristics); in testSplitUntilNull() 552 if (parentEstimateSize != Long.MAX_VALUE && leftSplit.estimateSize() > 0 in testSplitUntilNull() 554 assertTrue(leftSplit.estimateSize() < parentEstimateSize, in testSplitUntilNull() 556 leftSplit.estimateSize(), parentEstimateSize)); in testSplitUntilNull() 559 leftSplit.estimateSize(), parentEstimateSize)); in testSplitUntilNull() 562 assertTrue(leftSplit.estimateSize() <= parentEstimateSize, in testSplitUntilNull() 564 leftSplit.estimateSize(), parentEstimateSize)); in testSplitUntilNull() 567 leftSplit.estimateSize(), parentEstimateSize)); in testSplitUntilNull() [all …]
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 543 Spliterator<T> leftSplit = parentAndRightSplit.trySplit(); in testSplitUntilNull() local 544 if (leftSplit == null) { in testSplitUntilNull() 549 assertSpliterator(leftSplit, e.rootCharacteristics); in testSplitUntilNull() 552 if (parentEstimateSize != Long.MAX_VALUE && leftSplit.estimateSize() > 0 in testSplitUntilNull() 554 assertTrue(leftSplit.estimateSize() < parentEstimateSize, in testSplitUntilNull() 556 leftSplit.estimateSize(), parentEstimateSize)); in testSplitUntilNull() 559 leftSplit.estimateSize(), parentEstimateSize)); in testSplitUntilNull() 562 assertTrue(leftSplit.estimateSize() <= parentEstimateSize, in testSplitUntilNull() 564 leftSplit.estimateSize(), parentEstimateSize)); in testSplitUntilNull() 567 leftSplit.estimateSize(), parentEstimateSize)); in testSplitUntilNull() [all …]
|