MCPcopy Index your code
hub / github.com/clojure/clojure / put11

Method put11

src/jvm/clojure/asm/ByteVector.java:91–101  ·  view source on GitHub ↗

Puts two bytes into this byte vector. The byte vector is automatically enlarged if necessary. @param byteValue1 a byte. @param byteValue2 another byte. @return this byte vector.

(final int byteValue1, final int byteValue2)

Source from the content-addressed store, hash-verified

89 * @return this byte vector.
90 */
91 final ByteVector put11(final int byteValue1, final int byteValue2) {
92 int currentLength = length;
93 if (currentLength + 2 > data.length) {
94 enlarge(2);
95 }
96 byte[] currentData = data;
97 currentData[currentLength++] = (byte) byteValue1;
98 currentData[currentLength++] = (byte) byteValue2;
99 length = currentLength;
100 return this;
101 }
102
103 /**
104 * Puts a short into this byte vector. The byte vector is automatically enlarged if necessary.

Callers 6

fromStringMethod · 0.95
visitIntInsnMethod · 0.80
visitVarInsnMethod · 0.80
visitMethodInsnMethod · 0.80
visitLdcInsnMethod · 0.80
visitIincInsnMethod · 0.80

Calls 1

enlargeMethod · 0.95

Tested by

no test coverage detected