Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for pwritev (0.32 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_illumos.go

    	n, err = preadv(fd, iovecs, off)
    	return n, err
    }
    
    //sys	writev(fd int, iovs []Iovec) (n int, err error)
    
    func Writev(fd int, iovs [][]byte) (n int, err error) {
    	iovecs := bytes2iovec(iovs)
    	n, err = writev(fd, iovecs)
    	return n, err
    }
    
    //sys	pwritev(fd int, iovs []Iovec, off int64) (n int, err error)
    
    func Pwritev(fd int, iovs [][]byte, off int64) (n int, err error) {
    	iovecs := bytes2iovec(iovs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go

    package unix
    
    import (
    	"unsafe"
    )
    
    //go:cgo_import_dynamic libc_readv readv "libc.so"
    //go:cgo_import_dynamic libc_preadv preadv "libc.so"
    //go:cgo_import_dynamic libc_writev writev "libc.so"
    //go:cgo_import_dynamic libc_pwritev pwritev "libc.so"
    //go:cgo_import_dynamic libc_accept4 accept4 "libsocket.so"
    
    //go:linkname procreadv libc_readv
    //go:linkname procpreadv libc_preadv
    //go:linkname procwritev libc_writev
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/internal/poll/writev.go

    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package poll
    
    import (
    	"io"
    	"runtime"
    	"syscall"
    )
    
    // Writev wraps the writev system call.
    func (fd *FD) Writev(v *[][]byte) (int64, error) {
    	if err := fd.writeLock(); err != nil {
    		return 0, err
    	}
    	defer fd.writeUnlock()
    	if err := fd.pd.prepareWrite(fd.isFile); err != nil {
    		return 0, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

            StringWriter sWriter = new StringWriter();
            PrintWriter pWriter = new PrintWriter(sWriter);
    
            error.printStackTrace(pWriter);
    
            System.out.println("[" + prefix + "] " + sWriter.toString());
        }
    
        private void print(String prefix, CharSequence content, Throwable error) {
            StringWriter sWriter = new StringWriter();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. src/mime/quotedprintable/writer.go

    }
    
    // Write encodes p using quoted-printable encoding and writes it to the
    // underlying [io.Writer]. It limits line length to 76 characters. The encoded
    // bytes are not necessarily flushed until the [Writer] is closed.
    func (w *Writer) Write(p []byte) (n int, err error) {
    	for i, b := range p {
    		switch {
    		// Simple writes are done in batch.
    		case b >= '!' && b <= '~' && b != '=':
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/internal/trace/raw/writer.go

    // NewWriter creates a new byte format writer.
    func NewWriter(w io.Writer, v version.Version) (*Writer, error) {
    	_, err := version.WriteHeader(w, v)
    	return &Writer{w: w, v: v, specs: v.Specs()}, err
    }
    
    // WriteEvent writes a single event to the trace wire format stream.
    func (w *Writer) WriteEvent(e Event) error {
    	// Check version.
    	if e.Version != w.v {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/compress/lzw/writer.go

    // is a *[Writer].
    func NewWriter(w io.Writer, order Order, litWidth int) io.WriteCloser {
    	return newWriter(w, order, litWidth)
    }
    
    func newWriter(dst io.Writer, order Order, litWidth int) *Writer {
    	w := new(Writer)
    	w.init(dst, order, litWidth)
    	return w
    }
    
    func (w *Writer) init(dst io.Writer, order Order, litWidth int) {
    	switch order {
    	case LSB:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/table/writer.go

    	"io"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/fatih/color"
    )
    
    type ColoredTableWriter struct {
    	writer     io.Writer
    	header     Row
    	rows       []Row
    	addRowFunc func(obj interface{}) Row
    }
    
    func NewStyleWriter(writer io.Writer) *ColoredTableWriter {
    	return &ColoredTableWriter{
    		writer: writer,
    		rows:   make([]Row, 0),
    		header: Row{},
    	}
    }
    
    type BuildRowFunc func(obj interface{}) Row
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Oct 08 04:41:42 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/writer.go

    }
    
    // NewSDSWriter generates a new instance which conforms to SDSWriter interface
    func NewSDSWriter(w io.Writer, format Format) SDSWriter {
    	return &sdsWriter{
    		w:      w,
    		output: format,
    	}
    }
    
    // sdsWriter is provided concrete implementation of SDSWriter
    type sdsWriter struct {
    	w      io.Writer
    	output Format
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 21 14:17:23 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. src/compress/zlib/writer.go

    )
    
    // A Writer takes data written to it and writes the compressed
    // form of that data to an underlying writer (see NewWriter).
    type Writer struct {
    	w           io.Writer
    	level       int
    	dict        []byte
    	compressor  *flate.Writer
    	digest      hash.Hash32
    	err         error
    	scratch     [4]byte
    	wroteHeader bool
    }
    
    // NewWriter creates a new Writer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 18:51:27 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top