MCPcopy Index your code
hub / github.com/apache/tomcat / append

Method append

java/org/apache/tomcat/util/buf/CharChunk.java:191–200  ·  view source on GitHub ↗

Appends a single character to the buffer. @param c the character to append @throws IOException Writing overflow data to the output channel failed

(char c)

Source from the content-addressed store, hash-verified

189 * @throws IOException Writing overflow data to the output channel failed
190 */
191 public void append(char c) throws IOException {
192 makeSpace(1);
193 int limit = getLimitInternal();
194
195 // couldn't make space
196 if (end >= limit) {
197 flushBuffer();
198 }
199 buff[end++] = c;
200 }
201
202
203 /**

Callers 15

testAppendMethod · 0.95
invokeMethod · 0.95
getRequestDispatcherMethod · 0.95
getRandomMethod · 0.45
toStringMethod · 0.45
loadClassMethod · 0.45
toStringMethod · 0.45
getObjectNameMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45
renderJSONMethod · 0.45
toStringMethod · 0.45

Calls 10

makeSpaceMethod · 0.95
flushBufferMethod · 0.95
getLimitInternalMethod · 0.80
lengthMethod · 0.80
getCharsMethod · 0.80
getBufferMethod · 0.65
getLengthMethod · 0.65
realWriteCharsMethod · 0.65
getStartMethod · 0.45
minMethod · 0.45

Tested by 2

testAppendMethod · 0.76
getRandomMethod · 0.36