Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 265 for MASK (0.04 sec)

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

    type WaitStatus uint32
    
    const (
    	mask  = 0x7F
    	core  = 0x80
    	shift = 8
    
    	exited  = 0
    	stopped = 0x7F
    )
    
    func (w WaitStatus) Exited() bool { return w&mask == exited }
    
    func (w WaitStatus) ExitStatus() int {
    	if w&mask != exited {
    		return -1
    	}
    	return int(w >> shift)
    }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go

    		}
    	}
    	sort.Slice(all, func(i, j int) bool { return bits.Reverse64(all[i]) < bits.Reverse64(all[j]) })
    	digits := sort.Search(64/4, func(digits int) bool {
    		mask := uint64(1)<<(4*digits) - 1
    		for i := 0; i+1 < len(all); i++ {
    			if all[i]&mask == all[i+1]&mask {
    				return false
    			}
    		}
    		return true
    	})
    	if digits < 64/4 {
    		digits++
    	}
    	return digits
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  3. operator/pkg/compare/compare_test.go

    	tests := []struct {
    		desc string
    		a    string
    		b    string
    		mask string
    		want any
    	}{
    		{
    			desc: "ignore masked",
    			a: `
    ak: av
    bk:
      b1k: b1v
      b2k: b2v
    `,
    			b: `
    ak: av
    bk:
      b1k: b1v-changed
      b2k: b2v-changed
    `,
    			mask: `
    bk:
      b1k: ignored
      b2k: ignored
    `,
    			want: ``,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 02:18:20 UTC 2022
    - 33K bytes
    - Viewed (0)
  4. cmd/kube-apiserver/app/options/validation_test.go

    			expectErrors:         true,
    		},
    		{
    			name:                 "ipv6 cidr too big",
    			cidr:                 *getIPnetFromCIDR("3000::/64"),
    			maxCIDRBits:          20,
    			cidrFlag:             "--service-cluster-ip-range",
    			expectedErrorMessage: "specified --service-cluster-ip-range is too large; for 128-bit addresses, the mask must be >= 108",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go

    	SYS_PPOLL          = 109 // { int sys_ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
    	SYS_PSELECT        = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
    	SYS_SIGSUSPEND     = 111 // { int sys_sigsuspend(int mask); }
    	SYS_SENDSYSLOG     = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  6. src/runtime/map_faststr.go

    	m := bucketMask(h.B)
    	b := (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
    	if c := h.oldbuckets; c != nil {
    		if !h.sameSizeGrow() {
    			// There used to be half as many buckets; mask down one more power of two.
    			m >>= 1
    		}
    		oldb := (*bmap)(add(c, (hash&m)*uintptr(t.BucketSize)))
    		if !evacuated(oldb) {
    			b = oldb
    		}
    	}
    	top := tophash(hash)
    	for ; b != nil; b = b.overflow(t) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. src/syscall/ztypes_linux_s390x.go

    	Code uint16
    	Jt   uint8
    	Jf   uint8
    	K    uint32
    }
    
    type SockFprog struct {
    	Len    uint16
    	_      [6]byte
    	Filter *SockFilter
    }
    
    type InotifyEvent struct {
    	Wd     int32
    	Mask   uint32
    	Cookie uint32
    	Len    uint32
    }
    
    const SizeofInotifyEvent = 0x10
    
    type PtraceRegs struct {
    	Psw                      PtracePsw
    	Gprs                     [16]uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. src/crypto/internal/mlkem768/mlkem768.go

    		u[i] = ringDecodeAndDecompress10(b)
    	}
    
    	b := (*[encodingSize4]byte)(c[encodingSize10*k:])
    	v := ringDecodeAndDecompress4(b)
    
    	var mask nttElement // s⊺ ◦ NTT(u)
    	for i := range dx.s {
    		mask = polyAdd(mask, nttMul(dx.s[i], ntt(u[i])))
    	}
    	w := polySub(v, inverseNTT(mask))
    
    	return ringCompressAndEncode1(nil, w)
    }
    
    // fieldElement is an integer modulo q, an element of ℤ_q. It is always reduced.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    		requestedUsage := quota.Mask(deltaUsage, hardResources)
    		newUsage := quota.Add(resourceQuota.Status.Used, requestedUsage)
    		maskedNewUsage := quota.Mask(newUsage, quota.ResourceNames(requestedUsage))
    
    		if allowed, exceeded := quota.LessThanOrEqual(maskedNewUsage, resourceQuota.Status.Hard); !allowed {
    			failedRequestedUsage := quota.Mask(requestedUsage, exceeded)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go

    	"unsafe"
    )
    
    var _ syscall.Errno
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
    	_, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(mask>>32), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top