Tabnine Logo
Os.writev
Code IndexAdd Tabnine to your IDE (free)

How to use
writev
method
in
libcore.io.Os

Best Java code snippets using libcore.io.Os.writev (Showing top 20 results out of 315)

origin: robovm/robovm

  public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException { return os.writev(fd, buffers, offsets, byteCounts); }
}
origin: robovm/robovm

  @Override public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException {
    BlockGuard.getThreadPolicy().onWriteToDisk();
    return os.writev(fd, buffers, offsets, byteCounts);
  }
}
origin: robovm/robovm

int doTransfer(FileDescriptor fd) throws IOException {
  try {
    if (direction == Direction.READV) {
      int result = Libcore.os.readv(fd, ioBuffers, offsets, byteCounts);
      if (result == 0) {
        result = -1;
      }
      return result;
    } else {
      return Libcore.os.writev(fd, ioBuffers, offsets, byteCounts);
    }
  } catch (ErrnoException errnoException) {
    throw errnoException.rethrowAsIOException();
  }
}
origin: MobiVM/robovm

  public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException { return os.writev(fd, buffers, offsets, byteCounts); }
}
origin: ibinti/bugvm

  public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException { return os.writev(fd, buffers, offsets, byteCounts); }
}
origin: FlexoVM/flexovm

  public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException { return os.writev(fd, buffers, offsets, byteCounts); }
}
origin: com.bugvm/bugvm-rt

  public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException { return os.writev(fd, buffers, offsets, byteCounts); }
}
origin: com.mobidevelop.robovm/robovm-rt

  public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException { return os.writev(fd, buffers, offsets, byteCounts); }
}
origin: com.gluonhq/robovm-rt

  public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException { return os.writev(fd, buffers, offsets, byteCounts); }
}
origin: MobiVM/robovm

  @Override public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException {
    BlockGuard.getThreadPolicy().onWriteToDisk();
    return os.writev(fd, buffers, offsets, byteCounts);
  }
}
origin: ibinti/bugvm

  @Override public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException {
    BlockGuard.getThreadPolicy().onWriteToDisk();
    return os.writev(fd, buffers, offsets, byteCounts);
  }
}
origin: com.mobidevelop.robovm/robovm-rt

  @Override public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException {
    BlockGuard.getThreadPolicy().onWriteToDisk();
    return os.writev(fd, buffers, offsets, byteCounts);
  }
}
origin: com.gluonhq/robovm-rt

  @Override public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException {
    BlockGuard.getThreadPolicy().onWriteToDisk();
    return os.writev(fd, buffers, offsets, byteCounts);
  }
}
origin: com.bugvm/bugvm-rt

  @Override public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException {
    BlockGuard.getThreadPolicy().onWriteToDisk();
    return os.writev(fd, buffers, offsets, byteCounts);
  }
}
origin: FlexoVM/flexovm

  @Override public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException {
    BlockGuard.getThreadPolicy().onWriteToDisk();
    return os.writev(fd, buffers, offsets, byteCounts);
  }
}
origin: com.mobidevelop.robovm/robovm-rt

int doTransfer(FileDescriptor fd) throws IOException {
  try {
    if (direction == Direction.READV) {
      int result = Libcore.os.readv(fd, ioBuffers, offsets, byteCounts);
      if (result == 0) {
        result = -1;
      }
      return result;
    } else {
      return Libcore.os.writev(fd, ioBuffers, offsets, byteCounts);
    }
  } catch (ErrnoException errnoException) {
    throw errnoException.rethrowAsIOException();
  }
}
origin: MobiVM/robovm

int doTransfer(FileDescriptor fd) throws IOException {
  try {
    if (direction == Direction.READV) {
      int result = Libcore.os.readv(fd, ioBuffers, offsets, byteCounts);
      if (result == 0) {
        result = -1;
      }
      return result;
    } else {
      return Libcore.os.writev(fd, ioBuffers, offsets, byteCounts);
    }
  } catch (ErrnoException errnoException) {
    throw errnoException.rethrowAsIOException();
  }
}
origin: com.bugvm/bugvm-rt

int doTransfer(FileDescriptor fd) throws IOException {
  try {
    if (direction == Direction.READV) {
      int result = Libcore.os.readv(fd, ioBuffers, offsets, byteCounts);
      if (result == 0) {
        result = -1;
      }
      return result;
    } else {
      return Libcore.os.writev(fd, ioBuffers, offsets, byteCounts);
    }
  } catch (ErrnoException errnoException) {
    throw errnoException.rethrowAsIOException();
  }
}
origin: com.gluonhq/robovm-rt

int doTransfer(FileDescriptor fd) throws IOException {
  try {
    if (direction == Direction.READV) {
      int result = Libcore.os.readv(fd, ioBuffers, offsets, byteCounts);
      if (result == 0) {
        result = -1;
      }
      return result;
    } else {
      return Libcore.os.writev(fd, ioBuffers, offsets, byteCounts);
    }
  } catch (ErrnoException errnoException) {
    throw errnoException.rethrowAsIOException();
  }
}
origin: ibinti/bugvm

int doTransfer(FileDescriptor fd) throws IOException {
  try {
    if (direction == Direction.READV) {
      int result = Libcore.os.readv(fd, ioBuffers, offsets, byteCounts);
      if (result == 0) {
        result = -1;
      }
      return result;
    } else {
      return Libcore.os.writev(fd, ioBuffers, offsets, byteCounts);
    }
  } catch (ErrnoException errnoException) {
    throw errnoException.rethrowAsIOException();
  }
}
libcore.ioOswritev

Popular methods of Os

  • accept
  • access
  • bind
  • chmod
  • chown
  • close
  • connect
  • dup
  • dup2
  • environ
  • execv
  • execve
  • execv,
  • execve,
  • fchmod,
  • fchown,
  • fcntlFlock,
  • fcntlLong,
  • fcntlVoid,
  • fdatasync,
  • fstat,
  • fstatvfs

Popular in Java

  • Parsing JSON documents to java classes using gson
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • From CI to AI: The AI layer in your organization
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