Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Readv (0.07 sec)

  1. src/net/iprawsock_posix.go

    }
    
    func (a *IPAddr) toLocal(net string) sockaddr {
    	return &IPAddr{loopbackIP(net), a.Zone}
    }
    
    func (c *IPConn) readFrom(b []byte) (int, *IPAddr, error) {
    	// TODO(cw,rsc): consider using readv if we know the family
    	// type to avoid the header trim/copy
    	var addr *IPAddr
    	n, sa, err := c.fd.readFrom(b)
    	switch sa := sa.(type) {
    	case *syscall.SockaddrInet4:
    		addr = &IPAddr{IP: sa.Addr[0:]}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	return uintptr(offs), uintptr(uint64(offs) >> (longBits - 1) >> 1) // two shifts to avoid false positive in vet
    }
    
    func Readv(fd int, iovs [][]byte) (n int, err error) {
    	iovecs := make([]Iovec, 0, minIovec)
    	iovecs = appendBytes(iovecs, iovs)
    	n, err = readv(fd, iovecs)
    	readvRacedetect(iovecs, n, err)
    	return n, err
    }
    
    func Preadv(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)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go

    	_, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func readv(fd int, iovs []Iovec) (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)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go

    	_HIDIOCGRAWPHYS                  = 0x40404805
    	_HIDIOCGRAWUNIQ                  = 0x40404808
    )
    
    // Errors
    const (
    	EADDRINUSE      = syscall.Errno(0x7d)
    	EADDRNOTAVAIL   = syscall.Errno(0x7e)
    	EADV            = syscall.Errno(0x44)
    	EAFNOSUPPORT    = syscall.Errno(0x7c)
    	EALREADY        = syscall.Errno(0x95)
    	EBADE           = syscall.Errno(0x32)
    	EBADFD          = syscall.Errno(0x51)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	_HIDIOCGRAWPHYS                  = 0x80404805
    	_HIDIOCGRAWUNIQ                  = 0x80404808
    )
    
    // Errors
    const (
    	EADDRINUSE      = syscall.Errno(0x62)
    	EADDRNOTAVAIL   = syscall.Errno(0x63)
    	EADV            = syscall.Errno(0x44)
    	EAFNOSUPPORT    = syscall.Errno(0x61)
    	EALREADY        = syscall.Errno(0x72)
    	EBADE           = syscall.Errno(0x34)
    	EBADFD          = syscall.Errno(0x4d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go

    	_HIDIOCGRAWPHYS                  = 0x80404805
    	_HIDIOCGRAWUNIQ                  = 0x80404808
    )
    
    // Errors
    const (
    	EADDRINUSE      = syscall.Errno(0x62)
    	EADDRNOTAVAIL   = syscall.Errno(0x63)
    	EADV            = syscall.Errno(0x44)
    	EAFNOSUPPORT    = syscall.Errno(0x61)
    	EALREADY        = syscall.Errno(0x72)
    	EBADE           = syscall.Errno(0x34)
    	EBADFD          = syscall.Errno(0x4d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go

    	_HIDIOCGRAWPHYS                  = 0x80404805
    	_HIDIOCGRAWUNIQ                  = 0x80404808
    )
    
    // Errors
    const (
    	EADDRINUSE      = syscall.Errno(0x62)
    	EADDRNOTAVAIL   = syscall.Errno(0x63)
    	EADV            = syscall.Errno(0x44)
    	EAFNOSUPPORT    = syscall.Errno(0x61)
    	EALREADY        = syscall.Errno(0x72)
    	EBADE           = syscall.Errno(0x34)
    	EBADFD          = syscall.Errno(0x4d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go

    	_HIDIOCGRAWPHYS                  = 0x40404805
    	_HIDIOCGRAWUNIQ                  = 0x40404808
    )
    
    // Errors
    const (
    	EADDRINUSE      = syscall.Errno(0x7d)
    	EADDRNOTAVAIL   = syscall.Errno(0x7e)
    	EADV            = syscall.Errno(0x44)
    	EAFNOSUPPORT    = syscall.Errno(0x7c)
    	EALREADY        = syscall.Errno(0x95)
    	EBADE           = syscall.Errno(0x32)
    	EBADFD          = syscall.Errno(0x51)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	_HIDIOCGRAWPHYS                  = 0x80404805
    	_HIDIOCGRAWUNIQ                  = 0x80404808
    )
    
    // Errors
    const (
    	EADDRINUSE      = syscall.Errno(0x62)
    	EADDRNOTAVAIL   = syscall.Errno(0x63)
    	EADV            = syscall.Errno(0x44)
    	EAFNOSUPPORT    = syscall.Errno(0x61)
    	EALREADY        = syscall.Errno(0x72)
    	EBADE           = syscall.Errno(0x34)
    	EBADFD          = syscall.Errno(0x4d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go

    	_HIDIOCGRAWPHYS                  = 0x40404805
    	_HIDIOCGRAWUNIQ                  = 0x40404808
    )
    
    // Errors
    const (
    	EADDRINUSE      = syscall.Errno(0x62)
    	EADDRNOTAVAIL   = syscall.Errno(0x63)
    	EADV            = syscall.Errno(0x44)
    	EAFNOSUPPORT    = syscall.Errno(0x61)
    	EALREADY        = syscall.Errno(0x72)
    	EBADE           = syscall.Errno(0x34)
    	EBADFD          = syscall.Errno(0x4d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top