/libcore/ojluni/src/main/java/java/nio/ |
CharBufferSpliterator.java | 88 public long estimateSize() {
|
/libcore/ojluni/src/main/java/java/util/ |
Spliterator.java | 84 * via the {@link #estimateSize} method. Ideally, as reflected in characteristic 104 * {@link #estimateSize()} for {@code SIZED} spliterators) are only valid before 234 * public long estimateSize() { 258 * long targetBatchSize = s.estimateSize() / (ForkJoinPool.getCommonPoolParallelism() * 8); 276 * while (spliterator.estimateSize() > targetBatchSize && 341 * <li>the value reported for {@code estimateSize()} before splitting, 342 * must, after splitting, be greater than or equal to {@code estimateSize()} 344 * <li>if this Spliterator is {@code SUBSIZED}, then {@code estimateSize()} 346 * {@code estimateSize()} for this and the returned Spliterator after 395 long estimateSize(); [all...] |
SplittableRandom.java | [all...] |
ArrayDeque.java | [all...] |
LinkedList.java | [all...] |
PriorityQueue.java | [all...] |
Random.java | [all...] |
Spliterators.java | 441 * initial {@code estimateSize} 498 * initial {@code estimateSize}. 555 * initial {@code estimateSize}. 612 * initial {@code estimateSize} [all...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
ConcatOpTest.java | 133 assertEquals(sp.estimateSize(), Long.MAX_VALUE); 140 assertTrue(sp.estimateSize() < Long.MAX_VALUE);
|
RangeTest.java | 119 assertEquals(s.estimateSize(), 1L << 32); 246 assertEquals(s.estimateSize(), Long.MAX_VALUE); 257 assertTrue(s.estimateSize() == Long.MAX_VALUE); 258 assertTrue(s1.estimateSize() < Long.MAX_VALUE); 259 assertTrue(s2.estimateSize() < Long.MAX_VALUE); 261 assertEquals(s.estimateSize() + s1.estimateSize() + s2.estimateSize(), 272 assertEquals(s.estimateSize(), Long.MAX_VALUE); 279 assertTrue(s.estimateSize() < Long.MAX_VALUE) [all...] |
SliceOpTest.java | 219 public long estimateSize() { 220 return s.estimateSize();
|
StreamSpliteratorTest.java | 101 public long estimateSize() { 102 return proxyEstimateSize ? sp.estimateSize() : Long.MAX_VALUE;
|
/libcore/ojluni/src/main/java/java/util/stream/ |
Streams.java | 119 public long estimateSize() { 138 long size = estimateSize(); 244 public long estimateSize() { 262 long size = estimateSize(); 318 public long estimateSize() { 713 unsized = aSpliterator.estimateSize() + bSpliterator.estimateSize() < 0; 747 public long estimateSize() { 751 long size = aSpliterator.estimateSize() + bSpliterator.estimateSize(); [all...] |
Nodes.java | [all...] |
SpinedBuffer.java | 313 public long estimateSize() { 638 public long estimateSize() { [all...] |
StreamSpliterators.java | 219 public final long estimateSize() { 224 return spliterator.estimateSize(); 535 public long estimateSize() { 536 return get().estimateSize(); 652 long leftSplitFenceUnbounded = index + leftSplit.estimateSize(); 680 public long estimateSize() { 694 this(s, sliceOrigin, sliceFence, 0, Math.min(s.estimateSize(), sliceFence)); 738 if (index >= sliceOrigin && (index + s.estimateSize()) <= sliceFence) { 763 this(s, sliceOrigin, sliceFence, 0, Math.min(s.estimateSize(), sliceFence)); 800 if (index >= sliceOrigin && (index + s.estimateSize()) <= sliceFence) [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentLinkedQueue.java | [all...] |
LinkedBlockingQueue.java | 812 public long estimateSize() { return est; } [all...] |
PriorityBlockingQueue.java | [all...] |
ThreadLocalRandom.java | 728 public long estimateSize() { 783 public long estimateSize() { 839 public long estimateSize() { [all...] |
ConcurrentLinkedDeque.java | [all...] |
LinkedBlockingDeque.java | [all...] |
LinkedTransferQueue.java | [all...] |
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
SpliteratorTestHelper.java | 432 assertEquals(beforeSize, split.estimateSize() + spliterator.estimateSize()); 538 long parentEstimateSize = parentAndRightSplit.estimateSize(); 552 if (parentEstimateSize != Long.MAX_VALUE && leftSplit.estimateSize() > 0 553 && parentAndRightSplit.estimateSize() > 0) { 554 assertTrue(leftSplit.estimateSize() < parentEstimateSize, 556 leftSplit.estimateSize(), parentEstimateSize)); 557 assertTrue(parentAndRightSplit.estimateSize() < parentEstimateSize, 559 leftSplit.estimateSize(), parentEstimateSize)); 562 assertTrue(leftSplit.estimateSize() <= parentEstimateSize [all...] |
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
SpliteratorTestHelper.java | 432 assertEquals(beforeSize, split.estimateSize() + spliterator.estimateSize()); 538 long parentEstimateSize = parentAndRightSplit.estimateSize(); 552 if (parentEstimateSize != Long.MAX_VALUE && leftSplit.estimateSize() > 0 553 && parentAndRightSplit.estimateSize() > 0) { 554 assertTrue(leftSplit.estimateSize() < parentEstimateSize, 556 leftSplit.estimateSize(), parentEstimateSize)); 557 assertTrue(parentAndRightSplit.estimateSize() < parentEstimateSize, 559 leftSplit.estimateSize(), parentEstimateSize)); 562 assertTrue(leftSplit.estimateSize() <= parentEstimateSize [all...] |