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

Method setThreeBytes

java/org/apache/coyote/http2/ByteUtil.java:88–92  ·  view source on GitHub ↗
(byte[] output, int firstByte, int value)

Source from the content-addressed store, hash-verified

86
87
88 static void setThreeBytes(byte[] output, int firstByte, int value) {
89 output[firstByte] = (byte) ((value & 0xFF0000) >> 16);
90 output[firstByte + 1] = (byte) ((value & 0xFF00) >> 8);
91 output[firstByte + 2] = (byte) (value & 0xFF);
92 }
93
94
95 static long getFourBytes(byte[] input, int firstByte) {

Callers 15

populateFrameHeaderMethod · 0.95
testNotFoundMethod · 0.95
buildGetRequestMethod · 0.95
buildPostRequestMethod · 0.95
buildTrailerHeadersMethod · 0.95
buildHeadRequestMethod · 0.95
sendPingMethod · 0.95
buildGoawayMethod · 0.95

Calls

no outgoing calls

Tested by 15

populateFrameHeaderMethod · 0.76
testNotFoundMethod · 0.76
buildGetRequestMethod · 0.76
buildPostRequestMethod · 0.76
buildTrailerHeadersMethod · 0.76
buildHeadRequestMethod · 0.76
sendPingMethod · 0.76
buildGoawayMethod · 0.76