- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 216 for Iovec (0.04 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
func PtraceGetRegSetArm64(pid, addr int, regsout *PtraceRegsArm64) error { iovec := Iovec{(*byte)(unsafe.Pointer(regsout)), uint64(unsafe.Sizeof(*regsout))} return ptracePtr(PTRACE_GETREGSET, pid, uintptr(addr), unsafe.Pointer(&iovec)) } // PtraceSetRegSetArm64 sets the registers used by arm64 binaries. func PtraceSetRegSetArm64(pid, addr int, regs *PtraceRegsArm64) error { iovec := Iovec{(*byte)(unsafe.Pointer(regs)), uint64(unsafe.Sizeof(*regs))}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 22:42:18 UTC 2023 - 721 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_illumos.go
package unix import ( "unsafe" ) func bytes2iovec(bs [][]byte) []Iovec { iovecs := make([]Iovec, len(bs)) for i, b := range bs { iovecs[i].SetLen(len(b)) if len(b) > 0 { 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) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go
var ( procreadv, procpreadv, procwritev, procpwritev, procaccept4 syscallFunc ) // 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 *Iovec if len(iovs) > 0 { _p0 = &iovs[0] } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procreadv)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 0, 0, 0) n = int(r0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.6K bytes - Viewed (0) -
src/internal/poll/iovec_unix.go
// license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd package poll import "syscall" func newIovecWithBase(base *byte) syscall.Iovec { return syscall.Iovec{Base: base}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 07 16:48:35 UTC 2022 - 358 bytes - Viewed (0) -
src/internal/poll/iovec_solaris.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package poll import ( "syscall" "unsafe" ) func newIovecWithBase(base *byte) syscall.Iovec { return syscall.Iovec{Base: (*int8)(unsafe.Pointer(base))}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 18:06:02 UTC 2022 - 318 bytes - Viewed (0) -
src/internal/poll/writev.go
if err := fd.writeLock(); err != nil { return 0, err } defer fd.writeUnlock() if err := fd.pd.prepareWrite(fd.isFile); err != nil { return 0, err } var iovecs []syscall.Iovec if fd.iovecs != nil { iovecs = *fd.iovecs } // TODO: read from sysconf(_SC_IOV_MAX)? The Linux default is // 1024 and this seems conservative enough for now. Darwin's // UIO_MAXIOV also seems to be 1024.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 1.8K bytes - Viewed (0) -
src/syscall/zsysnum_freebsd_amd64.go
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, \ SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 01:17:28 UTC 2022 - 25.5K bytes - Viewed (0) -
src/syscall/zsysnum_freebsd_386.go
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, \ SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 01:17:28 UTC 2022 - 25.5K bytes - Viewed (0) -
src/syscall/syscall_aix_ppc64.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package syscall func (iov *Iovec) SetLen(length int) { iov.Len = uint64(length) } func (msghdr *Msghdr) SetControllen(length int) { msghdr.Controllen = uint32(length) } func (cmsg *Cmsghdr) SetLen(length int) { cmsg.Len = uint32(length)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 10 04:29:55 UTC 2018 - 405 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go
//sys readv(fd int, iovs []Iovec) (n int, err error) = SYS_READV //sys writev(fd int, iovs []Iovec) (n int, err error) = SYS_WRITEV //sys preadv(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) = SYS_PREADV //sys pwritev(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) = SYS_PWRITEV
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 77.5K bytes - Viewed (0)