Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for pwritev2 (0.09 sec)

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

    		raceAcquire(unsafe.Pointer(&ioSync))
    	}
    }
    
    func Writev(fd int, iovs [][]byte) (n int, err error) {
    	iovecs := make([]Iovec, 0, minIovec)
    	iovecs = appendBytes(iovecs, iovs)
    	if raceenabled {
    		raceReleaseMerge(unsafe.Pointer(&ioSync))
    	}
    	n, err = writev(fd, iovecs)
    	writevRacedetect(iovecs, n)
    	return n, err
    }
    
    func Pwritev(fd int, iovs [][]byte, offset int64) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go

    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func pwritev2(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr, flags int) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(iovs) > 0 {
    		_p0 = unsafe.Pointer(&iovs[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 54.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. 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)
  5. 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)
  6. src/cmd/link/internal/ld/macho.go

    			out.Write32(s.prot1)
    			out.Write32(s.prot2)
    			out.Write32(s.nsect)
    			out.Write32(s.flag)
    		} else {
    			out.Write32(LC_SEGMENT)
    			out.Write32(56 + 68*s.nsect)
    			out.WriteStringN(s.name, 16)
    			out.Write32(uint32(s.vaddr))
    			out.Write32(uint32(s.vsize))
    			out.Write32(uint32(s.fileoffset))
    			out.Write32(uint32(s.filesize))
    			out.Write32(s.prot1)
    			out.Write32(s.prot2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf_test.go

    			target := NewSerializer(nil, nil)
    
    			writer := &bytes.Buffer{}
    			if err := target.Encode(tc.obj, writer); err != nil {
    				t.Fatal(err)
    			}
    
    			writer2 := &bytes.Buffer{}
    			alloc := &testAllocator{}
    			if err := target.EncodeWithAllocator(tc.obj, writer2, alloc); err != nil {
    				t.Fatal(err)
    			}
    			if alloc.allocateCount != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 03:17:50 UTC 2022
    - 5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/x86/asm.go

    			out.Write32(uint32(elf.R_386_GOTPC))
    			if ldr.SymName(r.Xsym) != "_GLOBAL_OFFSET_TABLE_" {
    				out.Write32(uint32(sectoff))
    				out.Write32(uint32(elf.R_386_GOT32) | uint32(elfsym)<<8)
    			}
    		} else {
    			return false
    		}
    	case objabi.R_CALL:
    		if siz == 4 {
    			if ldr.SymType(r.Xsym) == sym.SDYNIMPORT {
    				out.Write32(uint32(elf.R_386_PLT32) | uint32(elfsym)<<8)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  9. maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

            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();
            PrintWriter pWriter = new PrintWriter(sWriter);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/elf.go

    }
    
    func elf32shdr(out *OutBuf, e *ElfShdr) {
    	out.Write32(e.Name)
    	out.Write32(uint32(e.Type))
    	out.Write32(uint32(e.Flags))
    	out.Write32(uint32(e.Addr))
    	out.Write32(uint32(e.Off))
    	out.Write32(uint32(e.Size))
    	out.Write32(e.Link)
    	out.Write32(e.Info)
    	out.Write32(uint32(e.Addralign))
    	out.Write32(uint32(e.Entsize))
    }
    
    func elfwriteshdrs(out *OutBuf) uint32 {
    	if elf64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top