Tabnine Logo
ByteVector.put11
Code IndexAdd Tabnine to your IDE (free)

How to use
put11
method
in
jersey.repackaged.org.objectweb.asm.ByteVector

Best Java code snippets using jersey.repackaged.org.objectweb.asm.ByteVector.put11 (Showing top 20 results out of 315)

origin: com.sun.jersey/jersey-server

  /**
   * Puts two bytes and one short into the constant pool.
   *
   * @param b1
   *            a byte.
   * @param b2
   *            another byte.
   * @param s
   *            a short.
   */
  private void put112(final int b1, final int b2, final int s) {
    pool.put11(b1, b2).putShort(s);
  }
}
origin: com.sun.jersey/jersey-server

char c = typePath.charAt(i++);
if (c == '[') {
  out.put11(ARRAY_ELEMENT, 0);
} else if (c == '.') {
  out.put11(INNER_TYPE, 0);
} else if (c == '*') {
  out.put11(WILDCARD_BOUND, 0);
} else if (c >= '0' && c <= '9') {
  int typeArg = c - '0';
    i += 1;
  out.put11(TYPE_ARGUMENT, typeArg);
origin: com.sun.jersey/jersey-server

@Override
public void visitIntInsn(final int opcode, final int operand) {
  lastCodeOffset = code.length;
  // Label currentBlock = this.currentBlock;
  if (currentBlock != null) {
    if (compute == FRAMES) {
      currentBlock.frame.execute(opcode, operand, null, null);
    } else if (opcode != Opcodes.NEWARRAY) {
      // updates current and max stack sizes only for NEWARRAY
      // (stack size variation = 0 for BIPUSH or SIPUSH)
      int size = stackSize + 1;
      if (size > maxStackSize) {
        maxStackSize = size;
      }
      stackSize = size;
    }
  }
  // adds the instruction to the bytecode of the method
  if (opcode == Opcodes.SIPUSH) {
    code.put12(opcode, operand);
  } else { // BIPUSH or NEWARRAY
    code.put11(opcode, operand);
  }
}
origin: com.sun.jersey/jersey-server

  code.put12(19 /* LDC_W */, index);
} else {
  code.put11(Opcodes.LDC, index);
origin: com.sun.jersey/jersey-server

@Override
public void visitIincInsn(final int var, final int increment) {
  lastCodeOffset = code.length;
  if (currentBlock != null) {
    if (compute == FRAMES) {
      currentBlock.frame.execute(Opcodes.IINC, var, null, null);
    }
  }
  if (compute != NOTHING) {
    // updates max locals
    int n = var + 1;
    if (n > maxLocals) {
      maxLocals = n;
    }
  }
  // adds the instruction to the bytecode of the method
  if ((var > 255) || (increment > 127) || (increment < -128)) {
    code.putByte(196 /* WIDE */).put12(Opcodes.IINC, var)
        .putShort(increment);
  } else {
    code.putByte(Opcodes.IINC).put11(var, increment);
  }
}
origin: com.sun.jersey/jersey-server

    i.intVal = argSize;
  code.put12(Opcodes.INVOKEINTERFACE, i.index).put11(argSize >> 2, 0);
} else {
  code.put12(opcode, i.index);
origin: com.sun.jersey/jersey-server

  code.putByte(196 /* WIDE */).put12(opcode, var);
} else {
  code.put11(opcode, var);
origin: org.glassfish.jersey.core/jersey-server

  /**
   * Puts two bytes and one short into the constant pool.
   *
   * @param b1
   *            a byte.
   * @param b2
   *            another byte.
   * @param s
   *            a short.
   */
  private void put112(final int b1, final int b2, final int s) {
    pool.put11(b1, b2).putShort(s);
  }
}
origin: org.glassfish.jersey.core/jersey-server

char c = typePath.charAt(i++);
if (c == '[') {
  out.put11(ARRAY_ELEMENT, 0);
} else if (c == '.') {
  out.put11(INNER_TYPE, 0);
} else if (c == '*') {
  out.put11(WILDCARD_BOUND, 0);
} else if (c >= '0' && c <= '9') {
  int typeArg = c - '0';
    i += 1;
  out.put11(TYPE_ARGUMENT, typeArg);
origin: org.glassfish.jersey.core/jersey-server

@Override
public void visitIntInsn(final int opcode, final int operand) {
  lastCodeOffset = code.length;
  // Label currentBlock = this.currentBlock;
  if (currentBlock != null) {
    if (compute == FRAMES) {
      currentBlock.frame.execute(opcode, operand, null, null);
    } else if (opcode != Opcodes.NEWARRAY) {
      // updates current and max stack sizes only for NEWARRAY
      // (stack size variation = 0 for BIPUSH or SIPUSH)
      int size = stackSize + 1;
      if (size > maxStackSize) {
        maxStackSize = size;
      }
      stackSize = size;
    }
  }
  // adds the instruction to the bytecode of the method
  if (opcode == Opcodes.SIPUSH) {
    code.put12(opcode, operand);
  } else { // BIPUSH or NEWARRAY
    code.put11(opcode, operand);
  }
}
origin: org.glassfish.jersey.core/jersey-server

  code.put12(19 /* LDC_W */, index);
} else {
  code.put11(Opcodes.LDC, index);
origin: org.glassfish.jersey.core/jersey-server

@Override
public void visitIincInsn(final int var, final int increment) {
  lastCodeOffset = code.length;
  if (currentBlock != null) {
    if (compute == FRAMES) {
      currentBlock.frame.execute(Opcodes.IINC, var, null, null);
    }
  }
  if (compute != NOTHING) {
    // updates max locals
    int n = var + 1;
    if (n > maxLocals) {
      maxLocals = n;
    }
  }
  // adds the instruction to the bytecode of the method
  if ((var > 255) || (increment > 127) || (increment < -128)) {
    code.putByte(196 /* WIDE */).put12(Opcodes.IINC, var)
      .putShort(increment);
  } else {
    code.putByte(Opcodes.IINC).put11(var, increment);
  }
}
origin: org.glassfish.jersey.core/jersey-server

    i.intVal = argSize;
  code.put12(Opcodes.INVOKEINTERFACE, i.index).put11(argSize >> 2, 0);
} else {
  code.put12(opcode, i.index);
origin: org.glassfish.jersey.core/jersey-server

  code.putByte(196 /* WIDE */).put12(opcode, var);
} else {
  code.put11(opcode, var);
origin: eclipse-ee4j/jersey

  /**
   * Puts two bytes and one short into the constant pool.
   *
   * @param b1
   *            a byte.
   * @param b2
   *            another byte.
   * @param s
   *            a short.
   */
  private void put112(final int b1, final int b2, final int s) {
    pool.put11(b1, b2).putShort(s);
  }
}
origin: com.sun.jersey/jersey-bundle

  /**
   * Puts two bytes and one short into the constant pool.
   *
   * @param b1
   *            a byte.
   * @param b2
   *            another byte.
   * @param s
   *            a short.
   */
  private void put112(final int b1, final int b2, final int s) {
    pool.put11(b1, b2).putShort(s);
  }
}
origin: eclipse-ee4j/jersey

  /**
   * Puts two bytes and one short into the constant pool.
   *
   * @param b1
   *            a byte.
   * @param b2
   *            another byte.
   * @param s
   *            a short.
   */
  private void put112(final int b1, final int b2, final int s) {
    pool.put11(b1, b2).putShort(s);
  }
}
origin: org.glassfish.jersey.bundles/jaxrs-ri

  /**
   * Puts two bytes and one short into the constant pool.
   *
   * @param b1
   *            a byte.
   * @param b2
   *            another byte.
   * @param s
   *            a short.
   */
  private void put112(final int b1, final int b2, final int s) {
    pool.put11(b1, b2).putShort(s);
  }
}
origin: jersey/jersey-1.x

  /**
   * Puts two bytes and one short into the constant pool.
   *
   * @param b1
   *            a byte.
   * @param b2
   *            another byte.
   * @param s
   *            a short.
   */
  private void put112(final int b1, final int b2, final int s) {
    pool.put11(b1, b2).putShort(s);
  }
}
origin: com.sun.jersey/jersey-bundle

@Override
public void visitIntInsn(final int opcode, final int operand) {
  lastCodeOffset = code.length;
  // Label currentBlock = this.currentBlock;
  if (currentBlock != null) {
    if (compute == FRAMES) {
      currentBlock.frame.execute(opcode, operand, null, null);
    } else if (opcode != Opcodes.NEWARRAY) {
      // updates current and max stack sizes only for NEWARRAY
      // (stack size variation = 0 for BIPUSH or SIPUSH)
      int size = stackSize + 1;
      if (size > maxStackSize) {
        maxStackSize = size;
      }
      stackSize = size;
    }
  }
  // adds the instruction to the bytecode of the method
  if (opcode == Opcodes.SIPUSH) {
    code.put12(opcode, operand);
  } else { // BIPUSH or NEWARRAY
    code.put11(opcode, operand);
  }
}
jersey.repackaged.org.objectweb.asmByteVectorput11

Javadoc

Puts two bytes into this byte vector. The byte vector is automatically enlarged if necessary.

Popular methods of ByteVector

  • <init>
    Constructs a new ByteVector with the given initial size.
  • encodeUTF8
    Puts an UTF8 string into this byte vector. The byte vector is automatically enlarged if necessary. T
  • enlarge
    Enlarge this byte vector so that it can receive n more bytes.
  • put12
    Puts a byte and a short into this byte vector. The byte vector is automatically enlarged if necessar
  • putByte
    Puts a byte into this byte vector. The byte vector is automatically enlarged if necessary.
  • putByteArray
    Puts an array of bytes into this byte vector. The byte vector is automatically enlarged if necessary
  • putInt
    Puts an int into this byte vector. The byte vector is automatically enlarged if necessary.
  • putLong
    Puts a long into this byte vector. The byte vector is automatically enlarged if necessary.
  • putShort
    Puts a short into this byte vector. The byte vector is automatically enlarged if necessary.
  • putUTF8
    Puts an UTF8 string into this byte vector. The byte vector is automatically enlarged if necessary.
  • addElement
  • toArray
  • addElement,
  • toArray

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • getSystemService (Context)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now