congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
StructLayout$UnsignedLong.offset
Code IndexAdd Tabnine to your IDE (free)

How to use
offset
method
in
jnr.ffi.StructLayout$UnsignedLong

Best Java code snippets using jnr.ffi.StructLayout$UnsignedLong.offset (Showing top 9 results out of 315)

origin: io.prestosql.cassandra/cassandra-driver

public void set(jnr.ffi.Pointer ptr, java.lang.Number value) {
  ptr.putNativeLong(offset(), value.longValue());
}
origin: com.facebook.presto.cassandra/cassandra-driver

public void set(jnr.ffi.Pointer ptr, java.lang.Number value) {
  ptr.putNativeLong(offset(), value.longValue());
}
origin: com.cloudbees.util/jnr-unixsocket-nodep

public void set(jnr.ffi.Pointer ptr, java.lang.Number value) {
  ptr.putNativeLong(offset(), value.longValue());
}
origin: io.prestosql.cassandra/cassandra-driver

/**
 * Gets the value for this field.
 *
 * @param ptr The pointer to the field.
 * @return a int.
 */
public final long get(jnr.ffi.Pointer ptr) {
  long value = ptr.getNativeLong(offset());
  final long mask = getRuntime().findType(NativeType.SLONG).size() == 4 ? 0xffffffffL : 0xffffffffffffffffL;
  return value < 0
      ? (long) ((value & mask) + mask + 1)
      : value;
}
origin: com.facebook.presto.cassandra/cassandra-driver

/**
 * Gets the value for this field.
 *
 * @param ptr The pointer to the field.
 * @return a int.
 */
public final long get(jnr.ffi.Pointer ptr) {
  long value = ptr.getNativeLong(offset());
  final long mask = getRuntime().findType(NativeType.SLONG).size() == 4 ? 0xffffffffL : 0xffffffffffffffffL;
  return value < 0
      ? (long) ((value & mask) + mask + 1)
      : value;
}
origin: io.prestosql.cassandra/cassandra-driver

/**
 * Sets the value for this field.
 *
 * @param ptr The pointer to the field.
 * @param value the 32/64 bit value to set.
 */
public final void set(jnr.ffi.Pointer ptr, long value) {
  ptr.putNativeLong(offset(), value);
}
origin: com.cloudbees.util/jnr-unixsocket-nodep

/**
 * Gets the value for this field.
 *
 * @return a int.
 */
public final long get(jnr.ffi.Pointer ptr) {
  long value = ptr.getNativeLong(offset());
  final long mask = getRuntime().findType(NativeType.SLONG).size() == 4 ? 0xffffffffL : 0xffffffffffffffffL;
  return value < 0
      ? (long) ((value & mask) + mask + 1)
      : value;
}
origin: com.facebook.presto.cassandra/cassandra-driver

/**
 * Sets the value for this field.
 *
 * @param ptr The pointer to the field.
 * @param value the 32/64 bit value to set.
 */
public final void set(jnr.ffi.Pointer ptr, long value) {
  ptr.putNativeLong(offset(), value);
}
origin: com.cloudbees.util/jnr-unixsocket-nodep

/**
 * Sets the value for this field.
 *
 * @param value the 32/64 bit value to set.
 */
public final void set(jnr.ffi.Pointer ptr, long value) {
  ptr.putNativeLong(offset(), value);
}
jnr.ffiStructLayout$UnsignedLongoffset

Popular methods of StructLayout$UnsignedLong

  • get
    Gets the value for this field.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • compareTo (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • getSystemService (Context)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • JTextField (javax.swing)
  • 21 Best Atom Packages for 2021
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