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

Method setFourBytes

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

Source from the content-addressed store, hash-verified

99
100
101 static void setFourBytes(byte[] output, int firstByte, long value) {
102 output[firstByte] = (byte) ((value & 0xFF000000) >> 24);
103 output[firstByte + 1] = (byte) ((value & 0xFF0000) >> 16);
104 output[firstByte + 2] = (byte) ((value & 0xFF00) >> 8);
105 output[firstByte + 3] = (byte) (value & 0xFF);
106 }
107}

Callers 10

sendRstMethod · 0.95
buildGoawayMethod · 0.95
sendSettingsMethod · 0.95
sendStreamResetMethod · 0.95
writeGoAwayFrameMethod · 0.95
sendStreamResetMethod · 0.95
writeGoAwayFrameMethod · 0.95
getCodeBytesMethod · 0.95

Calls

no outgoing calls

Tested by 4

sendRstMethod · 0.76
buildGoawayMethod · 0.76
sendSettingsMethod · 0.76