Home
last modified time | relevance | path

Searched refs:sizeEstimate (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
DAbstractTask.java194 public static long suggestTargetSize(long sizeEstimate) { in suggestTargetSize() argument
195 long est = sizeEstimate / getLeafTarget(); in suggestTargetSize()
203 protected final long getTargetSize(long sizeEstimate) { in getTargetSize() argument
206 (targetSize = suggestTargetSize(sizeEstimate))); in getTargetSize()
304 long sizeEstimate = rs.estimateSize(); in compute() local
305 long sizeThreshold = getTargetSize(sizeEstimate); in compute()
308 while (sizeEstimate > sizeThreshold && (ls = rs.trySplit()) != null) { in compute()
325 sizeEstimate = rs.estimateSize(); in compute()
DAbstractShortCircuitTask.java103 long sizeEstimate = rs.estimateSize(); in compute() local
104 long sizeThreshold = getTargetSize(sizeEstimate); in compute()
114 if (sizeEstimate <= sizeThreshold || (ls = rs.trySplit()) == null) { in compute()
134 sizeEstimate = rs.estimateSize(); in compute()
DForEachOps.java280 long sizeEstimate = rightSplit.estimateSize(), sizeThreshold; in compute() local
282 targetSize = sizeThreshold = AbstractTask.suggestTargetSize(sizeEstimate); in compute()
288 if (sizeEstimate <= sizeThreshold || in compute()
307 sizeEstimate = rightSplit.estimateSize(); in compute()