Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for setlkw (0.27 sec)

  1. 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)
  2. src/syscall/syscall_solaris.go

    	msg.Namelen = uint32(SizeofSockaddrAny)
    	var iov Iovec
    	if len(p) > 0 {
    		iov.Base = (*int8)(unsafe.Pointer(&p[0]))
    		iov.SetLen(len(p))
    	}
    	var dummy int8
    	if len(oob) > 0 {
    		// receive at least one normal byte
    		if len(p) == 0 {
    			iov.Base = &dummy
    			iov.SetLen(1)
    		}
    		msg.Accrights = (*int8)(unsafe.Pointer(&oob[0]))
    		msg.Accrightslen = int32(len(oob))
    	}
    	msg.Iov = &iov
    	msg.Iovlen = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/internal/poll/writev.go

    			if len(chunk) == 0 {
    				continue
    			}
    			iovecs = append(iovecs, newIovecWithBase(&chunk[0]))
    			if fd.IsStream && len(chunk) > 1<<30 {
    				iovecs[len(iovecs)-1].SetLen(1 << 30)
    				break // continue chunk on next writev
    			}
    			iovecs[len(iovecs)-1].SetLen(len(chunk))
    			if len(iovecs) == maxVec {
    				break
    			}
    		}
    		if len(iovecs) == 0 {
    			break
    		}
    		if fd.iovecs == nil {
    			fd.iovecs = new([]syscall.Iovec)
    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/compile/internal/ssa/_gen/AMD64.rules

    // Absorb flag constants into SETxx ops.
    ((SETEQ|SETLE|SETGE|SETBE|SETAE) (FlagEQ))     => (MOVLconst [1])
    ((SETNE|SETL|SETG|SETB|SETA)     (FlagEQ))     => (MOVLconst [0])
    ((SETNE|SETL|SETLE|SETB|SETBE)   (FlagLT_ULT)) => (MOVLconst [1])
    ((SETEQ|SETG|SETGE|SETA|SETAE)   (FlagLT_ULT)) => (MOVLconst [0])
    ((SETNE|SETL|SETLE|SETA|SETAE)   (FlagLT_UGT)) => (MOVLconst [1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  5. src/syscall/flock_bsd.go

    // license that can be found in the LICENSE file.
    
    //go:build darwin || dragonfly || freebsd || netbsd || openbsd
    
    package syscall
    
    import "unsafe"
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    	_, err := fcntlPtr(int(fd), cmd, unsafe.Pointer(lk))
    	return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 475 bytes
    - Viewed (0)
  6. src/syscall/flock_aix.go

    // license that can be found in the LICENSE file.
    
    package syscall
    
    import "unsafe"
    
    // On AIX, there is no flock() system call.
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) (err error) {
    	_, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(lk)), 0, 0, 0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 570 bytes
    - Viewed (0)
  7. src/syscall/flock_linux.go

    // systems by flock_linux_32bit.go to be SYS_FCNTL64.
    var fcntl64Syscall uintptr = SYS_FCNTL
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    	_, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk)))
    	if errno == 0 {
    		return nil
    	}
    	return errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 647 bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                    if (StringUtil.isNotBlank(url) && (url.startsWith("http://") || url.startsWith("https://"))) {
                        final SitemapUrl sitemapUrl = new SitemapUrl();
                        sitemapUrl.setLoc(url);
                        sitemapSet.addSitemap(sitemapUrl);
                    }
                }
                return sitemapSet;
            } catch (final Exception e) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cluster-erasure-set.go

    	m.Set(erasureSetOverallHealth, b2f(result.Healthy))
    
    	for _, h := range result.ESHealth {
    		poolLV := strconv.Itoa(h.PoolID)
    		setLV := strconv.Itoa(h.SetID)
    		labels := []string{poolIDL, poolLV, setIDL, setLV}
    		m.Set(erasureSetReadQuorum, float64(h.ReadQuorum), labels...)
    		m.Set(erasureSetWriteQuorum, float64(h.WriteQuorum), labels...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/syscall/syscall_aix.go

    }
    
    func (sa *RawSockaddrUnix) setLen(n int) {
    	sa.Len = uint8(3 + n) // 2 for Family, Len; 1 for NUL.
    }
    
    func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
    	name := sa.Name
    	n := len(name)
    	if n > len(sa.raw.Path) {
    		return nil, 0, EINVAL
    	}
    	sa.raw.Family = AF_UNIX
    	sa.raw.setLen(n)
    	for i := 0; i < n; i++ {
    		sa.raw.Path[i] = uint8(name[i])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top