Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 190 for MASK (0.03 sec)

  1. android/guava/src/com/google/common/collect/CompactHashMap.java

        int hash = smearedHash(key);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
        if (next == UNSET) { // uninitialized bucket
          if (newSize > mask) {
            // Resize and add new entry
            mask = resizeTable(mask, CompactHashing.newCapacity(mask), hash, newEntryIndex);
          } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  2. src/runtime/mbitmap.go

    	// the address of the first word referenced by mask.
    	addr uintptr
    
    	// mask is a bitmask where each bit corresponds to pointer-words after addr.
    	// Bit 0 is the pointer-word at addr, Bit 1 is the next word, and so on.
    	// If a bit is 1, then there is a pointer at that word.
    	// nextFast and next mask out bits in this mask as their pointers are processed.
    	mask uintptr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/constants/constants_test.go

    		expectedErr                 bool
    	}{
    		{
    			name:        "subnet mask 24",
    			svcSubnet:   "10.96.0.12/24",
    			expectedIP:  "10.96.0.1",
    			expectedErr: false,
    		},
    		{
    			name:        "subnet mask 12",
    			svcSubnet:   "10.96.0.0/12",
    			expectedIP:  "10.96.0.1",
    			expectedErr: false,
    		},
    		{
    			name:        "subnet mask 26",
    			svcSubnet:   "10.87.116.64/26",
    			expectedIP:  "10.87.116.65",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/runtime/pinner.go

    // sets/unsets the multipin bit instead.
    func (v *pinState) set(val bool, multipin bool) {
    	mask := v.mask
    	if multipin {
    		mask <<= 1
    	}
    	if val {
    		atomic.Or8(v.bytep, mask)
    	} else {
    		atomic.And8(v.bytep, ^mask)
    	}
    }
    
    // pinnerBits is the same type as gcBits but has different methods.
    type pinnerBits gcBits
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/op.go

    	s += "INS:\n"
    	for _, i := range r.inputs {
    		mask := fmt.Sprintf("%64b", i.regs)
    		mask = strings.Replace(mask, "0", ".", -1)
    		s += fmt.Sprintf("%2d |%s|\n", i.idx, mask)
    	}
    	s += "OUTS:\n"
    	for _, i := range r.outputs {
    		mask := fmt.Sprintf("%64b", i.regs)
    		mask = strings.Replace(mask, "0", ".", -1)
    		s += fmt.Sprintf("%2d |%s|\n", i.idx, mask)
    	}
    	s += "CLOBBERS:\n"
    	mask := fmt.Sprintf("%64b", r.clobbers)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    	} else if nbits == 32 {
    		mb = bits.LeadingZeros32(uint32(mask))
    		me = 32 - bits.TrailingZeros32(uint32(mask))
    		mbn = bits.LeadingZeros32(^uint32(mask))
    		men = 32 - bits.TrailingZeros32(^uint32(mask))
    	} else {
    		mb = bits.LeadingZeros64(uint64(mask))
    		me = 64 - bits.TrailingZeros64(uint64(mask))
    		mbn = bits.LeadingZeros64(^uint64(mask))
    		men = 64 - bits.TrailingZeros64(^uint64(mask))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    	for _, podSubnet := range subnets {
    		// obtain podSubnet mask
    		mask := podSubnet.Mask
    		maskSize, _ := mask.Size()
    		// obtain node-cidr-mask
    		nodeMask, err := getClusterNodeMask(c, netutils.IsIPv6(podSubnet.IP))
    		if err != nil {
    			allErrs = append(allErrs, field.Invalid(fldPath, podSubnet.String(), err.Error()))
    			continue
    		}
    		// the pod subnet mask needs to allow one or multiple node-masks
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableMap.java

      }
    
      private RegularImmutableMap(
          Entry<K, V>[] entries, @CheckForNull @Nullable ImmutableMapEntry<K, V>[] table, int mask) {
        this.entries = entries;
        this.table = table;
        this.mask = mask;
      }
    
      /**
       * Checks if the given key already appears in the hash chain starting at {@code keyBucketHead}. If
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. pkg/controller/nodeipam/node_ipam_controller.go

    		}
    
    		for idx, cidr := range clusterCIDRs {
    			mask := cidr.Mask
    			if maskSize, _ := mask.Size(); maskSize > nodeCIDRMaskSizes[idx] {
    				return nil, fmt.Errorf("Controller: Invalid --cluster-cidr, mask size of cluster CIDR must be less than or equal to --node-cidr-mask-size configured for CIDR family")
    			}
    		}
    	}
    
    	ic := &Controller{
    		cloud:                cloud,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/core.go

    	if maskConfigured {
    		// original mask flag is still the main reference.
    		if maskV4Configured || maskV6Configured {
    			return nil, errors.New("usage of --node-cidr-mask-size-ipv4 and --node-cidr-mask-size-ipv6 is not allowed if --node-cidr-mask-size is set. For dual-stack clusters please unset it and use IPFamily specific flags")
    		}
    
    		mask := int(cfg.NodeCIDRMaskSize)
    		return sortedSizes(mask, mask), nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 39K bytes
    - Viewed (0)
Back to top