Searched refs:oldCap (Results 1 – 1 of 1) sorted by relevance
259 private void tryGrow(Object[] array, int oldCap) { in tryGrow() argument265 int newCap = oldCap + ((oldCap < 64) ? in tryGrow()266 (oldCap + 2) : // grow faster if small in tryGrow()267 (oldCap >> 1)); in tryGrow()269 int minCap = oldCap + 1; in tryGrow()274 if (newCap > oldCap && queue == array) in tryGrow()285 System.arraycopy(array, 0, newArray, 0, oldCap); in tryGrow()