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

Method set31Bits

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

Source from the content-addressed store, hash-verified

46
47
48 static void set31Bits(byte[] output, int firstByte, int value) {
49 output[firstByte] = (byte) ((value & 0x7F000000) >> 24);
50 output[firstByte + 1] = (byte) ((value & 0xFF0000) >> 16);
51 output[firstByte + 2] = (byte) ((value & 0xFF00) >> 8);
52 output[firstByte + 3] = (byte) (value & 0xFF);
53 }
54
55
56 static int getOneByte(byte[] input, int pos) {

Callers 15

populateFrameHeaderMethod · 0.95
testNotFoundMethod · 0.95
buildGetRequestMethod · 0.95
buildPostRequestMethod · 0.95
buildTrailerHeadersMethod · 0.95
buildHeadRequestMethod · 0.95
sendRstMethod · 0.95
sendPingMethod · 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
sendRstMethod · 0.76
sendPingMethod · 0.76