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

Method setBytes

java/org/apache/tomcat/util/buf/ByteChunk.java:217–223  ·  view source on GitHub ↗

Sets the buffer to the specified sub array of bytes. @param b the ascii bytes @param off the start offset of the bytes @param len the length of the bytes

(byte[] b, int off, int len)

Source from the content-addressed store, hash-verified

215 * @param len the length of the bytes
216 */
217 public void setBytes(byte[] b, int off, int len) {
218 buff = b;
219 start = off;
220 end = start + len;
221 isSet = true;
222 hasHashCode = false;
223 }
224
225
226 /**

Callers 15

testIndexOf_CharMethod · 0.95
testIndexOf_StringMethod · 0.95
testSerializationMethod · 0.95
testToStringMethod · 0.95
testEqualsIgnoreCaseMethod · 0.95
doTestSolidusMethod · 0.95
doTestReverseSolidusMethod · 0.95
toStringMethod · 0.95
parsePathParametersMethod · 0.95
MessageBytesTypeEnum · 0.45

Calls

no outgoing calls

Tested by 10

testIndexOf_CharMethod · 0.76
testIndexOf_StringMethod · 0.76
testSerializationMethod · 0.76
testToStringMethod · 0.76
testEqualsIgnoreCaseMethod · 0.76
doTestSolidusMethod · 0.76
doTestReverseSolidusMethod · 0.76
prefixMethod · 0.36