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

Method putByte

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

Puts a byte into this byte vector. The byte vector is automatically enlarged if necessary. @param byteValue a byte. @return this byte vector.

(final int byteValue)

Source from the content-addressed store, hash-verified

72 * @return this byte vector.
73 */
74 public ByteVector putByte(final int byteValue) {
75 int currentLength = length;
76 if (currentLength + 1 > data.length) {
77 enlarge(1);
78 }
79 data[currentLength++] = (byte) byteValue;
80 length = currentLength;
81 return this;
82 }
83
84 /**
85 * Puts two bytes into this byte vector. The byte vector is automatically enlarged if necessary.

Callers 15

fromStringMethod · 0.95
putAbstractTypeMethod · 0.80
putTargetMethod · 0.80
visitFrameMethod · 0.80
visitInsnMethod · 0.80
visitVarInsnMethod · 0.80
visitJumpInsnMethod · 0.80
visitIincInsnMethod · 0.80
visitTableSwitchInsnMethod · 0.80
visitLookupSwitchInsnMethod · 0.80

Calls 1

enlargeMethod · 0.95

Tested by

no test coverage detected