/guava/guava/src/com/google/common/escape/CharEscaper.java
if ( lastEscape < sizeNeeded) {
if ( destSize < sizeNeeded ) {
if (r == null) { continue; } int rlen = r.length; int charsSkipped = index - lastEscape; int sizeNeeded = destIndex + charsSkipped + rlen; <extra_id_0> destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index); dest = growBuffer(dest, destIndex, destSize); } if (charsSkipped > 0) { s.getChars(lastEscape, index, dest, destIndex); destIndex += charsSkipped;