Searched refs:sliceFence (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamSpliterators.java | 614 final long sliceFence; field in StreamSpliterators.AbstractWrappingSpliterator.SliceSpliterator 623 SliceSpliterator(T_SPLITR s, long sliceOrigin, long sliceFence, long origin, long fence) { in SliceSpliterator() argument 627 this.sliceFence = sliceFence; in SliceSpliterator() 632 …protected abstract T_SPLITR makeSpliterator(T_SPLITR s, long sliceOrigin, long sliceFence, long or… in makeSpliterator() argument 653 long leftSplitFence = Math.min(leftSplitFenceUnbounded, sliceFence); in trySplit() 660 else if (leftSplitFence >= sliceFence) { in trySplit() 667 else if (index >= sliceOrigin && leftSplitFenceUnbounded <= sliceFence) { in trySplit() 675 … return makeSpliterator(leftSplit, sliceOrigin, sliceFence, index, index = leftSplitFence); in trySplit() 693 OfRef(Spliterator<T> s, long sliceOrigin, long sliceFence) { in OfRef() argument 694 this(s, sliceOrigin, sliceFence, 0, Math.min(s.estimateSize(), sliceFence)); in OfRef() [all …]
|
D | SliceOps.java | 65 long sliceFence = limit >= 0 ? skip + limit : Long.MAX_VALUE; in calcSliceFence() local 67 return (sliceFence >= 0) ? sliceFence : Long.MAX_VALUE; in calcSliceFence() 80 long sliceFence = calcSliceFence(skip, limit); in sliceSpliterator() local 84 .SliceSpliterator.OfRef<>(s, skip, sliceFence); in sliceSpliterator() 87 .SliceSpliterator.OfInt((Spliterator.OfInt) s, skip, sliceFence); in sliceSpliterator() 90 .SliceSpliterator.OfLong((Spliterator.OfLong) s, skip, sliceFence); in sliceSpliterator() 93 .SliceSpliterator.OfDouble((Spliterator.OfDouble) s, skip, sliceFence); in sliceSpliterator()
|