Codota Logo
JumpInstruction
Code IndexAdd Codota to your IDE (free)

How to use
JumpInstruction
in
io.airlift.bytecode.instruction

Best Java code snippets using io.airlift.bytecode.instruction.JumpInstruction (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: prestodb/presto

    switchBuilder.addCase(toIntExact((Long) constantValue), jump(match));
  switchBuilder.defaultCase(jump(defaultLabel));
  switchBlock = new BytecodeBlock()
      .comment("lookupSwitch(<stackValue>))")
    switchBuilder.addCase(bucket.getKey(), caseBlock);
  switchBuilder.defaultCase(jump(defaultLabel));
  Binding hashCodeBinding = generatorContext
      .getCallSiteBinder()
          .ifTrue(jump(match)));
  break;
default:
origin: io.airlift/bytecode

public static InstructionNode jumpIfObjectNotSame(LabelNode label)
{
  return new JumpInstruction(IF_ACMPNE, label);
}
origin: io.airlift/bytecode

@Override
public Void visitJumpInstruction(BytecodeNode parent, JumpInstruction jumpInstruction)
{
  printLine("%s %s", jumpInstruction.getOpCode(), jumpInstruction.getLabel().getName());
  return null;
}
origin: io.airlift/bytecode

public BytecodeBlock ifNullGoto(LabelNode label)
{
  nodes.add(JumpInstruction.jumpIfNull(label));
  return this;
}
origin: io.airlift/bytecode

public BytecodeBlock ifNotNullGoto(LabelNode label)
{
  nodes.add(JumpInstruction.jumpIfNotNull(label));
  return this;
}
origin: io.airlift/bytecode

public BytecodeBlock ifZeroGoto(LabelNode label)
{
  nodes.add(JumpInstruction.jumpIfEqualZero(label));
  return this;
}
origin: io.airlift/bytecode

public BytecodeBlock ifNotZeroGoto(LabelNode label)
{
  nodes.add(JumpInstruction.jumpIfNotEqualZero(label));
  return this;
}
origin: io.airlift/bytecode

public static InstructionNode jumpIfIntGreaterThanOrEqualZero(LabelNode label)
{
  return new JumpInstruction(IFGE, label);
}
origin: prestodb/presto

        pageBuilder.invoke("isFull", boolean.class),
        yieldSignal.invoke("isSet", boolean.class)))
    .ifTrue(jump(done)))
.comment("if (!cursor.advanceNextPosition()) return new CursorProcessorOutput(completedPositions, true);")
.append(new IfStatement()
origin: io.airlift/bytecode

public static InstructionNode jumpIfNotNull(LabelNode label)
{
  return new JumpInstruction(IFNONNULL, label);
}
origin: io.airlift/bytecode

public BytecodeBlock gotoLabel(LabelNode label)
{
  nodes.add(JumpInstruction.jump(label));
  return this;
}
origin: io.airlift/bytecode

public static InstructionNode jumpIfNull(LabelNode label)
{
  return new JumpInstruction(IFNULL, label);
}
origin: prestosql/presto

    switchBuilder.addCase(toIntExact((Long) constantValue), jump(match));
  switchBuilder.defaultCase(jump(defaultLabel));
  switchBlock = new BytecodeBlock()
      .comment("lookupSwitch(<stackValue>))")
    switchBuilder.addCase(bucket.getKey(), caseBlock);
  switchBuilder.defaultCase(jump(defaultLabel));
  Binding hashCodeBinding = generatorContext
      .getCallSiteBinder()
          .ifTrue(jump(match)));
  break;
default:
origin: io.airlift/bytecode

public static InstructionNode jumpIfNotEqualZero(LabelNode label)
{
  return new JumpInstruction(IFNE, label);
}
origin: io.prestosql/presto-main

    switchBuilder.addCase(toIntExact((Long) constantValue), jump(match));
  switchBuilder.defaultCase(jump(defaultLabel));
  switchBlock = new BytecodeBlock()
      .comment("lookupSwitch(<stackValue>))")
    switchBuilder.addCase(bucket.getKey(), caseBlock);
  switchBuilder.defaultCase(jump(defaultLabel));
  Binding hashCodeBinding = generatorContext
      .getCallSiteBinder()
          .ifTrue(jump(match)));
  break;
default:
origin: io.airlift/bytecode

public static InstructionNode jumpIfIntLessThan(LabelNode label)
{
  return new JumpInstruction(IF_ICMPLT, label);
}
origin: prestosql/presto

        pageBuilder.invoke("isFull", boolean.class),
        yieldSignal.invoke("isSet", boolean.class)))
    .ifTrue(jump(done)))
.comment("if (!cursor.advanceNextPosition()) return new CursorProcessorOutput(completedPositions, true);")
.append(new IfStatement()
origin: io.airlift/bytecode

public static InstructionNode jump(LabelNode label)
{
  return new JumpInstruction(GOTO, label);
}
origin: io.prestosql/presto-main

        pageBuilder.invoke("isFull", boolean.class),
        yieldSignal.invoke("isSet", boolean.class)))
    .ifTrue(jump(done)))
.comment("if (!cursor.advanceNextPosition()) return new CursorProcessorOutput(completedPositions, true);")
.append(new IfStatement()
origin: io.airlift/bytecode

public static InstructionNode jumpIfObjectSame(LabelNode label)
{
  return new JumpInstruction(IF_ACMPEQ, label);
}
io.airlift.bytecode.instructionJumpInstruction

Most used methods

  • jump
  • <init>
  • getLabel
  • getOpCode
  • jumpIfEqualZero
  • jumpIfNotEqualZero
  • jumpIfNotNull
  • jumpIfNull

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • getExternalFilesDir (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now