Searched defs:resizeBuffer (Results 1 - 2 of 2) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/
H A DCharTermAttribute.java38 * #resizeBuffer(int)} to increase it. After
49 public char[] resizeBuffer(int newSize); method in interface:CharTermAttribute
55 * use {@link #resizeBuffer(int)} first.
H A DCharTermAttributeImpl.java80 public final char[] resizeBuffer(int newSize) { method in class:CharTermAttributeImpl
93 return resizeBuffer(newSize);
159 resizeBuffer(termLength + len);
188 resizeBuffer(termLength + 1)[termLength++] = c;
198 s.getChars(0, len, resizeBuffer(termLength + len), termLength);
207 s.getChars(0, len, resizeBuffer(termLength + len), termLength);
216 System.arraycopy(ta.buffer(), 0, resizeBuffer(termLength + len), termLength, len);
222 resizeBuffer(termLength + 4);

Completed in 1806 milliseconds