Home
last modified time | relevance | path

Searched refs:trySplit (Results 1 – 25 of 67) 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/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 …]
DRandom.java1010 public RandomIntsSpliterator trySplit() { in trySplit() method in Random.RandomIntsSpliterator
1065 public RandomLongsSpliterator trySplit() { in trySplit() method in Random.RandomLongsSpliterator
1121 public RandomDoublesSpliterator trySplit() { in trySplit() method in Random.RandomDoublesSpliterator
DSplittableRandom.java862 public RandomIntsSpliterator trySplit() { in trySplit() method in SplittableRandom.RandomIntsSpliterator
918 public RandomLongsSpliterator trySplit() { in trySplit() method in SplittableRandom.RandomLongsSpliterator
975 public RandomDoublesSpliterator trySplit() { in trySplit() method in SplittableRandom.RandomDoublesSpliterator
/libcore/ojluni/src/main/java/java/util/stream/
DStreamSpliterators.java188 public Spliterator<P_OUT> trySplit() {
192 Spliterator<P_IN> split = spliterator.trySplit();
351 public Spliterator.OfInt trySplit() { in trySplit() method in StreamSpliterators.AbstractWrappingSpliterator.IntWrappingSpliterator
352 return (Spliterator.OfInt) super.trySplit(); in trySplit()
409 public Spliterator.OfLong trySplit() { in trySplit() method in StreamSpliterators.AbstractWrappingSpliterator.LongWrappingSpliterator
410 return (Spliterator.OfLong) super.trySplit(); in trySplit()
467 public Spliterator.OfDouble trySplit() { in trySplit() method in StreamSpliterators.AbstractWrappingSpliterator.DoubleWrappingSpliterator
468 return (Spliterator.OfDouble) super.trySplit(); in trySplit()
520 public T_SPLITR trySplit() { in trySplit() method in StreamSpliterators.AbstractWrappingSpliterator.DelegatingSpliterator
521 return (T_SPLITR) get().trySplit(); in trySplit()
[all …]
DStreams.java137 public Spliterator.OfInt trySplit() { in trySplit() method in Streams.RangeIntSpliterator
261 public Spliterator.OfLong trySplit() { in trySplit() method in Streams.RangeLongSpliterator
313 public S trySplit() { in trySplit() method in Streams.AbstractStreamBuilderImpl
717 public T_SPLITR trySplit() {
719 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()
DAbstractTask.java297 while (sizeEstimate > sizeThreshold && (ls = rs.trySplit()) != null) { in compute()
DForEachOps.java290 (leftSplit = rightSplit.trySplit()) == null) { in compute()
408 (leftSplit = rightSplit.trySplit()) != null) { in doCompute()
/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.java79 public Spliterator<T> trySplit() { in trySplit() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator
81 Spliterator<T> prefix = sp.trySplit(); in trySplit()
127 public Spliterator.OfInt trySplit() { in trySplit() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfInt
129 Spliterator.OfInt prefix = psp.trySplit(); in trySplit()
168 public Spliterator.OfLong trySplit() { in trySplit() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfLong
170 Spliterator.OfLong prefix = psp.trySplit(); in trySplit()
210 public Spliterator.OfDouble trySplit() { in trySplit() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfDouble
212 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/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/main/java/java/util/concurrent/
DThreadLocalRandom.java1256 public RandomIntsSpliterator trySplit() { in trySplit() method in ThreadLocalRandom.RandomIntsSpliterator
1311 public RandomLongsSpliterator trySplit() { in trySplit() method in ThreadLocalRandom.RandomLongsSpliterator
1367 public RandomDoublesSpliterator trySplit() { in trySplit() method in ThreadLocalRandom.RandomDoublesSpliterator

123