Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 484 for MASK (0.04 sec)

  1. pkg/registry/core/service/ipallocator/bitmap.go

    // is returned if the provided IPNet range doesn't exactly match the previous range.
    func (r *Range) Restore(net *net.IPNet, data []byte) error {
    	if !net.IP.Equal(r.net.IP) || net.Mask.String() != r.net.Mask.String() {
    		return ErrMismatchedNetwork
    	}
    	snapshottable, ok := r.alloc.(allocator.Snapshottable)
    	if !ok {
    		return fmt.Errorf("not a snapshottable allocator")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    //sys	fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error)
    
    func FanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname string) (err error) {
    	if pathname == "" {
    		return fanotifyMark(fd, flags, mask, dirFd, nil)
    	}
    	p, err := BytePtrFromString(pathname)
    	if err != nil {
    		return err
    	}
    	return fanotifyMark(fd, flags, mask, dirFd, p)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  4. 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)
  5. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

      // perNodeHostBits defines the number of host bits to be configured per node.
      // A subnet mask determines how much of the address is used for network bits
      // and host bits. For example an IPv4 address of 192.168.0.0/24, splits the
      // address into 24 bits for the network portion and 8 bits for the host portion.
      // To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6).
      // Minimum value is 4 (16 IPs).
      // This field is immutable.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_386.s

    TEXT ·And64(SB), NOSPLIT, $0-20
    	MOVL	ptr+0(FP), BP
    	// DI:SI = v
    	MOVL	val_lo+4(FP), SI
    	MOVL	val_hi+8(FP), DI
    	// DX:AX = *addr
    	MOVL	0(BP), AX
    	MOVL	4(BP), DX
    casloop:
    	// CX:BX = DX:AX (*addr) & DI:SI (mask)
    	MOVL	AX, BX
    	MOVL	DX, CX
    	ANDL	SI, BX
    	ANDL	DI, CX
    	LOCK
    	CMPXCHG8B	0(BP)
    	JNZ casloop
    	MOVL	AX, ret_lo+12(FP)
    	MOVL	DX, ret_hi+16(FP)
    	RET
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top