MCPcopy Create free account
hub / github.com/apache/tomcat / setChars

Method setChars

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

Sets the buffer to the specified sub array of characters. @param c the characters @param off the start offset of the characters @param len the length of the characters

(char[] c, int off, int len)

Source from the content-addressed store, hash-verified

130 * @param len the length of the characters
131 */
132 public void setChars(char[] c, int off, int len) {
133 buff = c;
134 start = off;
135 end = start + len;
136 isSet = true;
137 hasHashCode = false;
138 }
139
140
141 /**

Callers 14

testEndsWithMethod · 0.95
testIndexOf_StringMethod · 0.95
testToStringMethod · 0.95
toStringMethod · 0.95
MessageBytesTypeEnum · 0.45
parseHostMethod · 0.45
prepareRequestMethod · 0.45
invokeMethod · 0.45
mapMethod · 0.45
internalMapWrapperMethod · 0.45

Calls

no outgoing calls

Tested by 3

testEndsWithMethod · 0.76
testIndexOf_StringMethod · 0.76
testToStringMethod · 0.76