congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Constant.loadLong
Code IndexAdd Tabnine to your IDE (free)

How to use
loadLong
method
in
io.airlift.bytecode.instruction.Constant

Best Java code snippets using io.airlift.bytecode.instruction.Constant.loadLong (Showing top 6 results out of 315)

origin: prestodb/presto

block.append(loadLong((Long) value));
origin: io.airlift/bytecode

public static BytecodeExpression constantLong(long value)
{
  return new ConstantBytecodeExpression(long.class, loadLong(value));
}
origin: io.airlift/bytecode

public static Constant loadNumber(Number value)
{
  requireNonNull(value, "value is null");
  if (value instanceof Byte) {
    return loadInt((value).intValue());
  }
  if (value instanceof Short) {
    return loadInt((value).intValue());
  }
  if (value instanceof Integer) {
    return loadInt((Integer) value);
  }
  if (value instanceof Long) {
    return loadLong((Long) value);
  }
  if (value instanceof Float) {
    return loadFloat((Float) value);
  }
  if (value instanceof Double) {
    return loadDouble((Double) value);
  }
  throw new IllegalStateException("Unsupported number type " + value.getClass().getSimpleName());
}
origin: io.airlift/bytecode

  break;
case 'J':
  nodes.add(loadLong(0));
  break;
default:
origin: prestosql/presto

return block.append(loadLong((Long) value));
origin: io.prestosql/presto-main

return block.append(loadLong((Long) value));
io.airlift.bytecode.instructionConstantloadLong

Popular methods of Constant

  • loadBoolean
  • loadDouble
  • loadFloat
  • loadInt
  • loadString
  • accept
  • getValue
  • loadClass
  • loadNull
  • loadNumber

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Sublime Text for Python
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