/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
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...] |
ConcatOpTest.java | 133 assertEquals(sp.estimateSize(), Long.MAX_VALUE); 140 assertTrue(sp.estimateSize() < Long.MAX_VALUE);
|
SliceOpTest.java | 219 public long estimateSize() { 220 return s.estimateSize();
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
fpdf_render_cache.cpp | 65 m_nCacheSize -= it->second->EstimateSize(); 69 FX_DWORD CPDF_PageRenderCache::EstimateSize() { 72 dwSize += it.second->EstimateSize(); 104 m_nCacheSize += pEntry->EstimateSize(); 133 m_nCacheSize += m_pCurImageCacheEntry->EstimateSize(); 145 m_nCacheSize += m_pCurImageCacheEntry->EstimateSize(); 160 m_nCacheSize -= pEntry->EstimateSize(); 162 m_nCacheSize += pEntry->EstimateSize();
|
/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...] |
/libcore/luni/src/test/java/libcore/java/util/ |
SpliteratorTester.java | 172 assertEquals(expectedSize, spliterator.estimateSize()); 181 assertEquals(expectedSize, spliterator.estimateSize()); 186 assertEquals(expectedSize, spliterator.estimateSize() + split1.estimateSize());
|
SpliteratorsTest.java | 39 assertEquals(0, empty.estimateSize()); 56 assertEquals(0, empty.estimateSize()); 69 assertEquals(0, empty.estimateSize()); 86 assertEquals(0, empty.estimateSize()); 105 assertEquals(8, sp.estimateSize()); 134 assertEquals(8, sp.estimateSize()); 216 assertEquals(16, intSp.estimateSize()); 292 assertEquals(16, longSp.estimateSize()); 329 assertEquals(16, doubleSp.estimateSize()); 448 assertEquals(8, sp.estimateSize()); [all...] |
/libcore/ojluni/src/main/java/java/util/stream/ |
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...] |
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...] |
ForEachOps.java | 281 long sizeEstimate = rightSplit.estimateSize(), sizeThreshold; 308 sizeEstimate = rightSplit.estimateSize(); 379 this.targetSize = AbstractTask.suggestTargetSize(spliterator.estimateSize()); 407 while (rightSplit.estimateSize() > sizeThreshold &&
|
AbstractShortCircuitTask.java | 103 long sizeEstimate = rs.estimateSize(); 134 sizeEstimate = rs.estimateSize();
|
AbstractTask.java | 293 long sizeEstimate = rs.estimateSize(); 314 sizeEstimate = rs.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...] |
Spliterators.java | 441 * initial {@code estimateSize} 498 * initial {@code estimateSize}. 555 * initial {@code estimateSize}. 612 * initial {@code estimateSize} [all...] |
SplittableRandom.java | [all...] |
/external/pdfium/xfa/src/fdp/src/css/ |
fde_csssyntax.h | 14 FX_BOOL EstimateSize(int32_t iAllocSize);
|
fde_csssyntax.cpp | 41 if (!m_TextData.EstimateSize(iTextDataSize)) {
56 if (!m_TextData.EstimateSize(iTextDatSize)) {
431 FX_BOOL CFDE_CSSTextBuf::EstimateSize(int32_t iAllocSize) {
|
/libcore/ojluni/src/main/java/java/nio/ |
CharBufferSpliterator.java | 88 public long estimateSize() {
|
/external/pdfium/core/include/fxcrt/ |
fx_stream.h | 135 virtual void EstimateSize(size_t nInitSize, size_t nGrowSize) = 0;
|
/build/tools/ijar/ |
zip.h | 97 // output will be at most estimated_size. Use ZipBuilder::EstimateSize() or 106 static u8 EstimateSize(char **files);
|
/external/pdfium/core/include/fpdfapi/ |
fpdf_render.h | 228 FX_DWORD EstimateSize();
|
/external/pdfium/core/src/fpdftext/ |
fpdf_text_search.cpp | 313 buffer.EstimateSize(0, 1024);
|
/external/pdfium/core/src/fxcrt/ |
extension.h | 246 void EstimateSize(size_t nInitSize, size_t nGrowSize) override {
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ThreadLocalRandom.java | 728 public long estimateSize() { 783 public long estimateSize() { 839 public long estimateSize() { [all...] |