MCPcopy Create free account
hub / github.com/beanshell/beanshell / put1

Method put1

src/bsh/org/objectweb/asm/ByteVector.java:82–90  ·  view source on GitHub ↗

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

(final int b)

Source from the content-addressed store, hash-verified

80 */
81
82 public ByteVector put1 (final int b) {
83 int length = this.length;
84 if (length + 1 > data.length) {
85 enlarge(1);
86 }
87 data[length++] = (byte)b;
88 this.length = length;
89 return this;
90 }
91
92 /**
93 * Puts two bytes into this byte vector. The byte vector is automatically

Callers 13

resizeInstructionsMethod · 0.95
visitInsnMethod · 0.80
visitVarInsnMethod · 0.80
visitJumpInsnMethod · 0.80
visitIincInsnMethod · 0.80
visitTableSwitchInsnMethod · 0.80
visitLookupSwitchInsnMethod · 0.80
newUTF8Method · 0.80
newIntegerMethod · 0.80
newFloatMethod · 0.80
newLongMethod · 0.80

Calls 1

enlargeMethod · 0.95

Tested by

no test coverage detected