Home
last modified time | relevance | path

Searched refs:trySplit (Results 1 – 25 of 68) sorted by relevance

123

/libcore/luni/src/test/java/libcore/java/util/
DHashMapTest.java151 assertNull(m.entrySet().spliterator().trySplit()); in test_entrySet_subsizeEstimates()
170 assertFalse(m.entrySet().spliterator().trySplit().hasCharacteristics(Spliterator.SIZED)); in test_entrySet_subsizeEstimates()
185 assertSubsizeEstimate(entries.spliterator().trySplit(), 25); in test_entrySet_subsizeEstimates_recursive()
186 assertSubsizeEstimate(entries.spliterator().trySplit().trySplit(), 12); in test_entrySet_subsizeEstimates_recursive()
187 assertSubsizeEstimate(entries.spliterator().trySplit().trySplit().trySplit(), 6); in test_entrySet_subsizeEstimates_recursive()
188 assertSubsizeEstimate(entries.spliterator().trySplit().trySplit().trySplit().trySplit(), 3); in test_entrySet_subsizeEstimates_recursive()
190 entries.spliterator().trySplit().trySplit().trySplit().trySplit().trySplit(), 1); in test_entrySet_subsizeEstimates_recursive()
191 assertSubsizeEstimate(entries.spliterator().trySplit().trySplit().trySplit().trySplit() in test_entrySet_subsizeEstimates_recursive()
192 .trySplit().trySplit(), 0); in test_entrySet_subsizeEstimates_recursive()
207 Spliterator<Map.Entry<String, String>> child = parent.trySplit(); in test_entrySet_spliterator_sizedButNotSubsized()
[all …]
DSpliteratorTester.java95 assertNull(spliterator.trySplit()); in recordAndAssertBasicIteration()
127 Spliterator<T> split1 = spliterator.trySplit(); in runBasicSplitTests()
133 Spliterator<T> split1_1 = split1.trySplit(); in runBasicSplitTests()
134 Spliterator<T> split1_2 = split1.trySplit(); in runBasicSplitTests()
146 Spliterator<T> split2 = spliterator.trySplit(); in runBasicSplitTests()
160 assertNotNull(spliterable.spliterator().trySplit()); in assertSupportsTrySplit()
208 Spliterator<T> saSplit = sa.trySplit(); in runOrderedTests()
209 Spliterator<T> sbSplit = sb.trySplit(); in runOrderedTests()
254 Spliterator<T> child = spliterator.trySplit(); in runSubSizedTests()
277 Spliterator<T> split1 = spliterator.trySplit(); in runDistinctTests()
[all …]
DSpliteratorsTest.java42 assertNull(empty.trySplit()); in testEmptyIntSpliterator()
59 assertNull(empty.trySplit()); in testEmptyRefSpliterator()
72 assertNull(empty.trySplit()); in testEmptyLongSpliterator()
89 assertNull(empty.trySplit()); in testEmptyDoubleSpliterator()
231 Spliterator.OfInt split1 = intSp.trySplit(); in test_spliterator_int()
237 Spliterator.OfInt split2 = split1.trySplit(); in test_spliterator_int()
307 Spliterator.OfLong split1 = longSp.trySplit(); in test_spliterator_long()
313 Spliterator.OfLong split2 = split1.trySplit(); in test_spliterator_long()
344 Spliterator.OfDouble split1 = doubleSp.trySplit(); in test_spliterator_double()
350 Spliterator.OfDouble split2 = split1.trySplit(); in test_spliterator_double()
[all …]
DSpliteratorTest.java75 public PrimitiveIntegerSpliterator trySplit() { in trySplit() method in SpliteratorTest.PrimitiveIntegerSpliterator
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DSpliteratorTestHelper.java304 spl2 = spliterator.trySplit(); in testMixedTraverseAndSplit()
307 spl1 = spl2.trySplit(); in testMixedTraverseAndSplit()
316 spl3 = spliterator.trySplit(); in testMixedTraverseAndSplit()
338 Spliterator<T> split = spliterator.trySplit(); in testSplitAfterFullTraversal()
344 split = spliterator.trySplit(); in testSplitAfterFullTraversal()
351 split = spliterator.trySplit(); in testSplitAfterFullTraversal()
366 Spliterator<T> s2 = s1.trySplit(); in testSplitOnce()
425 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor()
456 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor()
471 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor()
[all …]
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DSpliteratorTestHelper.java304 spl2 = spliterator.trySplit(); in testMixedTraverseAndSplit()
307 spl1 = spl2.trySplit(); in testMixedTraverseAndSplit()
316 spl3 = spliterator.trySplit(); in testMixedTraverseAndSplit()
338 Spliterator<T> split = spliterator.trySplit(); in testSplitAfterFullTraversal()
344 split = spliterator.trySplit(); in testSplitAfterFullTraversal()
351 split = spliterator.trySplit(); in testSplitAfterFullTraversal()
366 Spliterator<T> s2 = s1.trySplit(); in testSplitOnce()
425 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor()
456 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor()
471 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor()
[all …]
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/
DSpliteratorTestHelper.java355 spl2 = spliterator.trySplit(); in testMixedTraverseAndSplit()
358 spl1 = spl2.trySplit(); in testMixedTraverseAndSplit()
367 spl3 = spliterator.trySplit(); in testMixedTraverseAndSplit()
389 Spliterator<T> split = spliterator.trySplit(); in testSplitAfterFullTraversal()
395 split = spliterator.trySplit(); in testSplitAfterFullTraversal()
402 split = spliterator.trySplit(); in testSplitAfterFullTraversal()
417 Spliterator<T> s2 = s1.trySplit(); in testSplitOnce()
466 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor()
495 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor()
510 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor()
[all …]
/libcore/ojluni/src/main/java/java/util/
DSpliterator.java376 Spliterator<T> trySplit(); in trySplit() method
614 T_SPLITR trySplit(); in trySplit() method
665 OfInt trySplit(); in trySplit() method
729 OfLong trySplit(); in trySplit() method
793 OfDouble trySplit(); in trySplit() method
DSpliterators.java884 public S trySplit() { in trySplit() method in Spliterators.EmptySpliterator
977 public Spliterator<T> trySplit() { in trySplit() method in Spliterators.ArraySpliterator
1062 public OfInt trySplit() { in trySplit() method in Spliterators.IntArraySpliterator
1145 public OfLong trySplit() { in trySplit() method in Spliterators.LongArraySpliterator
1228 public OfDouble trySplit() { in trySplit() method in Spliterators.DoubleArraySpliterator
1339 public Spliterator<T> trySplit() { in trySplit() method in Spliterators.AbstractSpliterator
1462 public Spliterator.OfInt trySplit() { in trySplit() method in Spliterators.AbstractIntSpliterator
1572 public Spliterator.OfLong trySplit() { in trySplit() method in Spliterators.AbstractLongSpliterator
1682 public Spliterator.OfDouble trySplit() { in trySplit() method in Spliterators.AbstractDoubleSpliterator
1798 public Spliterator<T> trySplit() { in trySplit() method in Spliterators.IteratorSpliterator
[all …]
/libcore/ojluni/src/main/java/java/util/stream/
DStreamSpliterators.java188 public Spliterator<P_OUT> trySplit() {
192 Spliterator<P_IN> split = spliterator.trySplit();
349 public Spliterator.OfInt trySplit() { in trySplit() method in StreamSpliterators.AbstractWrappingSpliterator.IntWrappingSpliterator
350 return (Spliterator.OfInt) super.trySplit(); in trySplit()
407 public Spliterator.OfLong trySplit() { in trySplit() method in StreamSpliterators.AbstractWrappingSpliterator.LongWrappingSpliterator
408 return (Spliterator.OfLong) super.trySplit(); in trySplit()
465 public Spliterator.OfDouble trySplit() { in trySplit() method in StreamSpliterators.AbstractWrappingSpliterator.DoubleWrappingSpliterator
466 return (Spliterator.OfDouble) super.trySplit(); in trySplit()
518 public T_SPLITR trySplit() { in trySplit() method in StreamSpliterators.AbstractWrappingSpliterator.DelegatingSpliterator
519 return (T_SPLITR) get().trySplit(); in trySplit()
[all …]
DStreams.java131 public Spliterator.OfInt trySplit() { in trySplit() method in Streams.RangeIntSpliterator
254 public Spliterator.OfLong trySplit() { in trySplit() method in Streams.RangeLongSpliterator
305 public S trySplit() { in trySplit() method in Streams.AbstractStreamBuilderImpl
709 public T_SPLITR trySplit() {
711 T_SPLITR ret = beforeSplit ? aSpliterator : (T_SPLITR) bSpliterator.trySplit();
DWhileOps.java730 public T_SPLITR trySplit() {
732 T_SPLITR ls = noSplitting ? null : (T_SPLITR) s.trySplit();
793 public Spliterator<T> trySplit() {
795 return cancel.get() ? null : super.trySplit();
898 public Spliterator.OfInt trySplit() {
900 return cancel.get() ? null : super.trySplit();
1003 public Spliterator.OfLong trySplit() {
1005 return cancel.get() ? null : super.trySplit();
1108 public Spliterator.OfDouble trySplit() {
1110 return cancel.get() ? null : super.trySplit();
DAbstractShortCircuitTask.java114 if (sizeEstimate <= sizeThreshold || (ls = rs.trySplit()) == null) { in compute()
DForEachOps.java289 (leftSplit = rightSplit.trySplit()) == null) { in compute()
407 (leftSplit = rightSplit.trySplit()) != null) { in doCompute()
DAbstractTask.java308 while (sizeEstimate > sizeThreshold && (ls = rs.trySplit()) != null) { in compute()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DRangeTest.java249 Spliterator.OfLong s1 = s.trySplit(); in testLongLongRange()
253 Spliterator.OfLong s2 = s1.trySplit(); in testLongLongRange()
275 Spliterator.OfLong s1 = s.trySplit(); in testLongLongRange()
299 Spliterator.OfLong s1 = s.trySplit();
303 Spliterator.OfLong s2 = s1.trySplit();
307 Spliterator.OfLong s3 = s.trySplit();
330 Spliterator.OfLong s1 = s.trySplit();
DStreamSpliteratorTest.java83 public Spliterator<T> trySplit() { in trySplit() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator
85 Spliterator<T> prefix = sp.trySplit(); in trySplit()
131 public Spliterator.OfInt trySplit() { in trySplit() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfInt
133 Spliterator.OfInt prefix = psp.trySplit(); in trySplit()
172 public Spliterator.OfLong trySplit() { in trySplit() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfLong
174 Spliterator.OfLong prefix = psp.trySplit(); in trySplit()
214 public Spliterator.OfDouble trySplit() { in trySplit() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfDouble
216 Spliterator.OfDouble prefix = psp.trySplit(); in trySplit()
/libcore/ojluni/annotations/hiddenapi/java/util/
DRandom.java225 public java.util.Random.RandomDoublesSpliterator trySplit() { in trySplit() method in Random.RandomDoublesSpliterator
279 public java.util.Random.RandomIntsSpliterator trySplit() { in trySplit() method in Random.RandomIntsSpliterator
334 public java.util.Random.RandomLongsSpliterator trySplit() { in trySplit() method in Random.RandomLongsSpliterator
DArrayDeque.java266 public java.util.ArrayDeque.DeqSpliterator<E> trySplit() { in trySplit() method in ArrayDeque.DeqSpliterator
DPriorityQueue.java245 public java.util.PriorityQueue.PriorityQueueSpliterator<E> trySplit() { in trySplit() method in PriorityQueue.PriorityQueueSpliterator
DHashMap.java345 public java.util.HashMap.EntrySpliterator<K, V> trySplit() { in trySplit() method in HashMap.EntrySpliterator
480 public java.util.HashMap.KeySpliterator<K, V> trySplit() { in trySplit() method in HashMap.KeySpliterator
657 public java.util.HashMap.ValueSpliterator<K, V> trySplit() { in trySplit() method in HashMap.ValueSpliterator
/libcore/ojluni/src/main/java/jdk/internal/util/random/
DRandomSupport.java975 public Spliterator.OfInt trySplit() { in trySplit() method in RandomSupport.RandomIntsSpliterator
1033 public Spliterator.OfLong trySplit() { in trySplit() method in RandomSupport.RandomLongsSpliterator
1091 public Spliterator.OfDouble trySplit() { in trySplit() method in RandomSupport.RandomDoublesSpliterator
1728 public Spliterator.OfInt trySplit() { in trySplit() method in RandomSupport.AbstractArbitrarilyJumpableGenerator.RandomIntsSpliterator
1775 public Spliterator.OfLong trySplit() { in trySplit() method in RandomSupport.AbstractArbitrarilyJumpableGenerator.RandomLongsSpliterator
1822 public Spliterator.OfDouble trySplit() { in trySplit() method in RandomSupport.AbstractArbitrarilyJumpableGenerator.RandomDoublesSpliterator
1878 public Spliterator<RandomGenerator> trySplit() { in trySplit() method in RandomSupport.AbstractArbitrarilyJumpableGenerator.RandomJumpsSpliterator
1924 public Spliterator<JumpableGenerator> trySplit() { in trySplit() method in RandomSupport.AbstractArbitrarilyJumpableGenerator.RandomLeapsSpliterator
1969 public Spliterator<ArbitrarilyJumpableGenerator> trySplit() { in trySplit() method in RandomSupport.AbstractArbitrarilyJumpableGenerator.RandomArbitraryJumpsSpliterator
2121 public Spliterator.OfInt trySplit() { in trySplit() method in RandomSupport.AbstractSplittableGenerator.RandomIntsSpliterator
[all …]
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DSpinedBufferTest.java98 Spliterator<Integer> split = spliterator.trySplit(); in testLastSplit()
173 Spliterator.OfInt split = spliterator.trySplit(); in testIntLastSplit()
248 Spliterator.OfLong split = spliterator.trySplit(); in testLongLastSplit()
324 Spliterator.OfDouble split = spliterator.trySplit(); in testLongLastSplit()
/libcore/ojluni/src/main/java/java/nio/
DCharBufferSpliterator.java56 public OfInt trySplit() { in trySplit() method in CharBufferSpliterator
/libcore/ojluni/src/test/java/util/Collections/
DUnmodifiableMapEntrySet.java149 Spliterator<Map.Entry<Integer, Integer>> split = s.trySplit(); in testSpliterator()

123