Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 209 for setlkw (0.23 sec)

  1. 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)
  2. 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)
  3. src/cmd/vendor/golang.org/x/sys/unix/fcntl.go

    func FcntlInt(fd uintptr, cmd, arg int) (int, error) {
    	return fcntl(int(fd), cmd, arg)
    }
    
    // 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: Wed Nov 29 21:28:33 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/syntax/scanner.go

    func (s *scanner) errorAtf(offset int, format string, args ...interface{}) {
    	s.errh(s.line, s.col+uint(offset), fmt.Sprintf(format, args...))
    }
    
    // setLit sets the scanner state for a recognized _Literal token.
    func (s *scanner) setLit(kind LitKind, ok bool) {
    	s.nlsemi = true
    	s.tok = _Literal
    	s.lit = string(s.segment())
    	s.bad = !ok
    	s.kind = kind
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go

    func (r *PtraceRegs) SetPC(pc uint64) { r.Nip = pc }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint64(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = uint64(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint64(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go

    	msg.Namelen = uint32(SizeofSockaddrAny)
    	var dummy byte
    	if len(oob) > 0 {
    		// receive at least one normal byte
    		if emptyIovecs(iov) {
    			var iova [1]Iovec
    			iova[0].Base = &dummy
    			iova[0].SetLen(1)
    			iov = iova[:]
    		}
    		msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
    		msg.SetControllen(len(oob))
    	}
    	if len(iov) > 0 {
    		msg.Iov = &iov[0]
    		msg.SetIovlen(len(iov))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go

    func (r *PtraceRegs) SetPC(pc uint64) { r.Tpc = pc }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint64(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = uint64(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint64(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top