congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Struct$Signed64
Code IndexAdd Tabnine to your IDE (free)

How to use
Struct$Signed64
in
jnr.ffi

Best Java code snippets using jnr.ffi.Struct$Signed64 (Showing top 20 results out of 315)

origin: com.cloudbees.util/jnr-unixsocket-nodep

  /**
   * Returns a string representation of this field.
   *
   * @return a string representation of this field.
   */
  @Override
  public final java.lang.String toString() {
    return java.lang.Long.toString(get());
  }
}
origin: io.prestosql.cassandra/cassandra-driver

public void set(java.lang.Number value) {
  getMemory().putLongLong(offset(), value.longValue());
}
origin: com.github.serceman/jnr-fuse

st_ctim = inner(new Timespec(getRuntime()));
st_blksize = new blksize_t();
st_blocks = new Signed64();
st_birthtime = inner(new Timespec(getRuntime()));
st_mtim = inner(new Timespec(getRuntime()));
st_ctim = inner(new Timespec(getRuntime()));
__unused4 = IS_64_BIT ? new Signed64() : null;
__unused5 = IS_64_BIT ? new Signed64() : null;
__unused6 = new Signed64();
origin: SerCeMan/jnr-fuse

st_ctim = inner(new Timespec(getRuntime()));
st_blksize = new blksize_t();
st_blocks = new Signed64();
st_birthtime = inner(new Timespec(getRuntime()));
st_mtim = inner(new Timespec(getRuntime()));
st_ctim = inner(new Timespec(getRuntime()));
__unused4 = IS_64_BIT ? new Signed64() : null;
__unused5 = IS_64_BIT ? new Signed64() : null;
__unused6 = new Signed64();
origin: com.cloudbees.util/jnr-unixsocket-nodep

/**
 * Creates an array of <tt>Signed64</tt> instances.
 * 
 * @param array the array to store the instances in
 * @return the array that was passed in
 */
protected final Signed64[] array(Signed64[] array) {
  arrayBegin();
  for (int i = 0; i < array.length; ++i) {
    array[i] = new Signed64();
  }
  arrayEnd();
  return array;
}

origin: com.github.jnr/jnr-posix

public long sec() {
  return tv_sec.get();
}
origin: com.facebook.presto.cassandra/cassandra-driver

/**
 * Creates an array of <tt>Signed64</tt> instances.
 * 
 * @param array the array to store the instances in
 * @return the array that was passed in
 */
protected final Signed64[] array(Signed64[] array) {
  arrayBegin();
  for (int i = 0; i < array.length; ++i) {
    array[i] = new Signed64();
  }
  arrayEnd();
  return array;
}

origin: com.facebook.presto.cassandra/cassandra-driver

public void set(java.lang.Number value) {
  getMemory().putLongLong(offset(), value.longValue());
}
origin: com.github.jnr/jnr-posix

public void sec(long sec) {
  this.tv_sec.set(sec);
}
origin: com.cloudbees.util/jnr-unixsocket-nodep

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

/**
 * Returns a java long representation of this field.
 * 
 * @return a java long value for this field.
 */
@Override
public final long longValue() {
  return get();
}

origin: com.cloudbees.util/jnr-unixsocket-nodep

  public UTimBuf64(jnr.ffi.Runtime runtime, long actime, long modtime) {
    super(runtime);
    this.actime.set(actime);
    this.modtime.set(modtime);
  }
}
origin: io.prestosql.cassandra/cassandra-driver

  public UTimBuf64(jnr.ffi.Runtime runtime, long actime, long modtime) {
    super(runtime);
    this.actime.set(actime);
    this.modtime.set(modtime);
  }
}
origin: io.prestosql.cassandra/cassandra-driver

  public void setTime(long[] timeval) {
    assert timeval.length == 2;
    tv_sec.set(timeval[0]);
    tv_usec.set(timeval[1]);
  }
}
origin: io.prestosql.cassandra/cassandra-driver

/**
 * Returns a java int representation of this field.
 * 
 * @return a java int value for this field.
 */
@Override
public final int intValue() {
  return (int) get();
}

origin: com.facebook.presto.cassandra/cassandra-driver

/**
 * Returns a java long representation of this field.
 * 
 * @return a java long value for this field.
 */
@Override
public final long longValue() {
  return get();
}

origin: com.github.jnr/jnr-posix

public void setTime(long[] timeval) {
  assert timeval.length == 2;
  tv_sec.set(timeval[0]);
  tv_usec.set(timeval[1]);
}
origin: com.cloudbees.util/jnr-unixsocket-nodep

/**
 * Gets the value for this field.
 * 
 * @return a long.
 */
public final long get() {
  return getMemory().getLongLong(offset());
}

origin: io.prestosql.cassandra/cassandra-driver

/**
 * Gets the value for this field.
 * 
 * @return a long.
 */
public final long get() {
  return getMemory().getLongLong(offset());
}

origin: com.facebook.presto.cassandra/cassandra-driver

/**
 * Sets the value for this field.
 * 
 * @param value the 64 bit value to set.
 */
public final void set(long value) {
  getMemory().putLongLong(offset(), value);
}
jnr.ffiStruct$Signed64

Javadoc

A 64 bit signed integer field.

Most used methods

  • <init>
    Creates a new 64 bit signed integer field at a specific offset
  • get
    Gets the value for this field.
  • set
  • getMemory
  • offset

Popular in Java

  • Start an intent from android
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Kernel (java.awt.image)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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