Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for setlkw (0.12 sec)

  1. src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go

    		l.queue = l.queue[1:]
    		locks[ino] = l
    	}
    	delete(inodes, f)
    	mu.Unlock()
    
    	return err
    }
    
    // setlkw calls FcntlFlock with F_SETLKW for the entire file indicated by fd.
    func setlkw(fd uintptr, lt lockType) error {
    	for {
    		err := syscall.FcntlFlock(fd, syscall.F_SETLKW, &syscall.Flock_t{
    			Type:   int16(lt),
    			Whence: io.SeekStart,
    			Start:  0,
    			Len:    0, // All bytes.
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/x86/anames.go

    	"SARXQ",
    	"SBBB",
    	"SBBL",
    	"SBBQ",
    	"SBBW",
    	"SCASB",
    	"SCASL",
    	"SCASQ",
    	"SCASW",
    	"SETCC",
    	"SETCS",
    	"SETEQ",
    	"SETGE",
    	"SETGT",
    	"SETHI",
    	"SETLE",
    	"SETLS",
    	"SETLT",
    	"SETMI",
    	"SETNE",
    	"SETOC",
    	"SETOS",
    	"SETPC",
    	"SETPL",
    	"SETPS",
    	"SFENCE",
    	"SGDT",
    	"SHA1MSG1",
    	"SHA1MSG2",
    	"SHA1NEXTE",
    	"SHA1RNDS4",
    	"SHA256MSG1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go

    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = int32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func (d *PtraceIoDesc) SetLen(length int) {
    	d.Len = uint64(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go

    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = int32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func (d *PtraceIoDesc) SetLen(length int) {
    	d.Len = uint32(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/syscall/syscall_aix_ppc64.go

    // 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)
  6. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_zos.go

    	h.Level = SOL_IP
    	h.Type = IP_PKTINFO
    	h.SetLen(CmsgLen(SizeofInet4Pktinfo))
    	*(*Inet4Pktinfo)(h.data(0)) = *info
    	return b
    }
    
    // PktInfo6 encodes Inet6Pktinfo into a socket control message of type IPV6_PKTINFO.
    func PktInfo6(info *Inet6Pktinfo) []byte {
    	b := make([]byte, CmsgSpace(SizeofInet6Pktinfo))
    	h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
    	h.Level = SOL_IPV6
    	h.Type = IPV6_PKTINFO
    	h.SetLen(CmsgLen(SizeofInet6Pktinfo))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go

    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = int32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func (d *PtraceIoDesc) SetLen(length int) {
    	d.Len = uint32(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go

    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = int32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func (d *PtraceIoDesc) SetLen(length int) {
    	d.Len = uint64(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. src/syscall/exec_freebsd_test.go

    	conf[0].Base = &paramPath[0]
    	conf[0].SetLen(len(paramPath))
    	p, err := syscall.BytePtrFromString(root)
    	if err != nil {
    		t.Fatal(err)
    	}
    	conf[1].Base = p
    	conf[1].SetLen(len(root) + 1)
    
    	paramPersist := []byte("persist\x00")
    	conf[2].Base = &paramPersist[0]
    	conf[2].SetLen(len(paramPersist))
    	conf[3].Base = nil
    	conf[3].SetLen(0)
    
    	id, _, err1 := syscall.Syscall(syscall.SYS_JAIL_SET,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 20:38:48 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. src/syscall/syscall_netbsd_386.go

    	k.Ident = uint32(fd)
    	k.Filter = uint32(mode)
    	k.Flags = uint32(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(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 12 13:10:54 UTC 2016
    - 716 bytes
    - Viewed (0)
Back to top