Searched refs:sizeIfKnown (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/java/util/stream/ |
D | SliceOps.java | 118 long skip, long limit, long sizeIfKnown) { in makeRef() argument 119 if (skip <= sizeIfKnown) { in makeRef() 122 limit = limit >= 0 ? Math.min(limit, sizeIfKnown - skip) : sizeIfKnown - skip; in makeRef() 243 Spliterator.OfInt s, long skip, long limit, long sizeIfKnown) { 244 if (skip <= sizeIfKnown) { 247 limit = limit >= 0 ? Math.min(limit, sizeIfKnown - skip) : sizeIfKnown - skip; 361 Spliterator.OfLong s, long skip, long limit, long sizeIfKnown) { 362 if (skip <= sizeIfKnown) { 365 limit = limit >= 0 ? Math.min(limit, sizeIfKnown - skip) : sizeIfKnown - skip; 479 Spliterator.OfDouble s, long skip, long limit, long sizeIfKnown) { [all …]
|
D | WhileOps.java | 1358 … long sizeIfKnown = isChild && isOrdered && StreamOpFlag.SIZED.isPreserved(op.sourceOrOpFlags) 1361 Node.Builder<P_OUT> builder = helper.makeNodeBuilder(sizeIfKnown, generator);
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 203 long sizeIfKnown = spliterator.getExactSizeIfKnown(); in testForEach() local 219 if (sizeIfKnown >= 0) { in testForEach() 220 assertEquals(sizeIfKnown, exp.size()); in testForEach() 233 long sizeIfKnown = spliterator.getExactSizeIfKnown(); in testTryAdvance() local 249 if (sizeIfKnown >= 0) { in testTryAdvance() 250 assertEquals(sizeIfKnown, exp.size()); in testTryAdvance() 263 long sizeIfKnown = spliterator.getExactSizeIfKnown(); in testMixedTryAdvanceForEach() local 280 if (sizeIfKnown >= 0) { in testMixedTryAdvanceForEach() 281 assertEquals(sizeIfKnown, dest.size()); in testMixedTryAdvanceForEach() 294 long sizeIfKnown = spliterator.getExactSizeIfKnown(); in testMixedTraverseAndSplit() local [all …]
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 203 long sizeIfKnown = spliterator.getExactSizeIfKnown(); in testForEach() local 219 if (sizeIfKnown >= 0) { in testForEach() 220 assertEquals(sizeIfKnown, exp.size()); in testForEach() 233 long sizeIfKnown = spliterator.getExactSizeIfKnown(); in testTryAdvance() local 249 if (sizeIfKnown >= 0) { in testTryAdvance() 250 assertEquals(sizeIfKnown, exp.size()); in testTryAdvance() 263 long sizeIfKnown = spliterator.getExactSizeIfKnown(); in testMixedTryAdvanceForEach() local 280 if (sizeIfKnown >= 0) { in testMixedTryAdvanceForEach() 281 assertEquals(sizeIfKnown, dest.size()); in testMixedTryAdvanceForEach() 294 long sizeIfKnown = spliterator.getExactSizeIfKnown(); in testMixedTraverseAndSplit() local [all …]
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/ |
D | SpliteratorTestHelper.java | 251 long sizeIfKnown = spliterator.getExactSizeIfKnown(); in testForEach() local 267 if (sizeIfKnown >= 0) { in testForEach() 268 assertEquals(sizeIfKnown, exp.size()); in testForEach() 284 long sizeIfKnown = spliterator.getExactSizeIfKnown(); in testTryAdvance() local 300 if (sizeIfKnown >= 0) { in testTryAdvance() 301 assertEquals(sizeIfKnown, exp.size()); in testTryAdvance() 314 long sizeIfKnown = spliterator.getExactSizeIfKnown(); in testMixedTryAdvanceForEach() local 331 if (sizeIfKnown >= 0) { in testMixedTryAdvanceForEach() 332 assertEquals(sizeIfKnown, dest.size()); in testMixedTryAdvanceForEach() 345 long sizeIfKnown = spliterator.getExactSizeIfKnown(); in testMixedTraverseAndSplit() local [all …]
|