Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for Readv (0.04 sec)

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

    			iovecs[i].Base = &b[0]
    		} else {
    			iovecs[i].Base = (*byte)(unsafe.Pointer(&_zero))
    		}
    	}
    	return iovecs
    }
    
    //sys	readv(fd int, iovs []Iovec) (n int, err error)
    
    func Readv(fd int, iovs [][]byte) (n int, err error) {
    	iovecs := bytes2iovec(iovs)
    	n, err = readv(fd, iovecs)
    	return n, err
    }
    
    //sys	preadv(fd int, iovs []Iovec, off int64) (n int, err error)
    
    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

    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build illumos && amd64
    
    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"
    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/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)
  4. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

      add_attrs(b_identity.node());
      auto read_u = ops::ReadVariableOp(scope.WithOpName("ReadU"), arg4, DT_FLOAT);
      add_attrs(read_u.node());
      auto read_v = ops::ReadVariableOp(scope.WithOpName("ReadV"), arg5, DT_FLOAT);
      add_attrs(read_v.node());
      auto read_w = ops::ReadVariableOp(scope.WithOpName("ReadW"), arg6, DT_FLOAT);
      add_attrs(read_w.node());
    
      auto e = ops::Add(scope.WithOpName("E"), arg0, arg2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  5. src/syscall/zsysnum_freebsd_386.go

    	SYS_GETRUSAGE                = 117 // { int getrusage(int who, \
    	SYS_GETSOCKOPT               = 118 // { int getsockopt(int s, int level, int name, \
    	SYS_READV                    = 120 // { int readv(int fd, struct iovec *iovp, \
    	SYS_WRITEV                   = 121 // { int writev(int fd, struct iovec *iovp, \
    	SYS_SETTIMEOFDAY             = 122 // { int settimeofday(struct timeval *tv, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  6. src/syscall/zsysnum_freebsd_arm.go

    	SYS_GETRUSAGE                = 117 // { int getrusage(int who, \
    	SYS_GETSOCKOPT               = 118 // { int getsockopt(int s, int level, int name, \
    	SYS_READV                    = 120 // { int readv(int fd, struct iovec *iovp, \
    	SYS_WRITEV                   = 121 // { int writev(int fd, struct iovec *iovp, \
    	SYS_SETTIMEOFDAY             = 122 // { int settimeofday(struct timeval *tv, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  7. src/syscall/zsysnum_freebsd_amd64.go

    	SYS_GETRUSAGE                = 117 // { int getrusage(int who, \
    	SYS_GETSOCKOPT               = 118 // { int getsockopt(int s, int level, int name, \
    	SYS_READV                    = 120 // { int readv(int fd, struct iovec *iovp, \
    	SYS_WRITEV                   = 121 // { int writev(int fd, struct iovec *iovp, \
    	SYS_SETTIMEOFDAY             = 122 // { int settimeofday(struct timeval *tv, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  8. 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)
  9. src/syscall/zsysnum_dragonfly_amd64.go

    	SYS_GETRUSAGE     = 117 // { int getrusage(int who, struct rusage *rusage); }
    	SYS_GETSOCKOPT    = 118 // { int getsockopt(int s, int level, int name, \
    	SYS_READV         = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
    	SYS_WRITEV        = 121 // { int writev(int fd, struct iovec *iovp, \
    	SYS_SETTIMEOFDAY  = 122 // { int settimeofday(struct timeval *tv, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 22.9K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_netbsd_amd64.go

    	SYS_GETSOCKOPT           = 118 // { int|sys||getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
    	SYS_READV                = 120 // { ssize_t|sys||readv(int fd, const struct iovec *iovp, int iovcnt); }
    	SYS_WRITEV               = 121 // { ssize_t|sys||writev(int fd, const struct iovec *iovp, int iovcnt); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 25.7K bytes
    - Viewed (0)
Back to top