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

Method setChars

java/org/apache/tomcat/util/buf/MessageBytes.java:160–165  ·  view source on GitHub ↗

Sets the content to be a char[] @param c the chars @param off the start offset of the chars @param len the length of the chars

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

Source from the content-addressed store, hash-verified

158 * @param len the length of the chars
159 */
160 public void setChars(char[] c, int off, int len) {
161 charC.setChars(c, off, len);
162 type = T_CHARS;
163 hasHashCode = false;
164 hasLongValue = false;
165 }
166
167 /**
168 * Set the content to be a string

Callers 4

testCompareIgnoreCaseMethod · 0.95
getRequestDispatcherMethod · 0.95
toCharsMethod · 0.45

Calls

no outgoing calls

Tested by 2

testCompareIgnoreCaseMethod · 0.76