Searched refs:estimatedSize (Results 1 – 9 of 9) sorted by relevance
214 long estimatedSize;217 Spliterator<T> prefix, Spliterator<F> from, int characteristics, long estimatedSize) {221 this.estimatedSize = estimatedSize;228 if (estimatedSize != Long.MAX_VALUE) {229 estimatedSize--;248 estimatedSize = 0;259 this.estimatedSize -= estSplitSize;278 estimatedSize = Math.max(estimatedSize, prefix.estimateSize());280 return Math.max(estimatedSize, 0);
153 long estimatedSize = 0L; in concat() local161 estimatedSize = LongMath.saturatedAdd(estimatedSize, splitr.estimateSize()); in concat()168 estimatedSize), in concat()
191 public static <E> ArrayList<E> newArrayListWithExpectedSize(int estimatedSize) { in newArrayListWithExpectedSize() argument192 return new ArrayList<>(computeArrayListCapacity(estimatedSize)); in newArrayListWithExpectedSize()
37 private SetBuilder(int estimatedSize) { in SetBuilder() argument38 contributions = new ArrayList<>(estimatedSize); in SetBuilder()46 public static <T> SetBuilder<T> newSetBuilder(int estimatedSize) { in newSetBuilder() argument47 return new SetBuilder<T>(estimatedSize); in newSetBuilder()
161 long estimatedSize = spliterator.estimateSize(); in expect() local179 assertEquals(Ints.checkedCast(estimatedSize), resultsForStrategy.size()); in expect()
302 int estimatedSize = in copyOf() local306 return new Builder<K, V>(estimatedSize).putAll(entries).build(); in copyOf()
190 public static <E> ArrayList<E> newArrayListWithExpectedSize(int estimatedSize) { in newArrayListWithExpectedSize() argument191 return new ArrayList<>(computeArrayListCapacity(estimatedSize)); in newArrayListWithExpectedSize()
548 m_estimatedSize -= m_messages.front()->estimatedSize(); in addMessage()551 while (m_estimatedSize + message->estimatedSize() > maxConsoleMessageV8Size && in addMessage()553 m_estimatedSize -= m_messages.front()->estimatedSize(); in addMessage()558 m_estimatedSize += m_messages.back()->estimatedSize(); in addMessage()622 m_estimatedSize += m_messages[i]->estimatedSize(); in contextDestroyed()
73 int estimatedSize() const { in estimatedSize() function