Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 288 for MASK (0.07 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    			gpspMask |= mask
    			gpspsbMask |= mask
    			gpspsbgMask |= mask
    		}
    	}
    
    	// Floating pointer registers.
    	for r := 32; r <= 63; r++ {
    		mask := addreg(r, "")
    		fpMask |= mask
    	}
    
    	// Pseudo-register: SB
    	mask := addreg(-1, "SB")
    	gpspsbMask |= mask
    	gpspsbgMask |= mask
    
    	if len(regNamesRISCV64) > 64 {
    		// regMask is only 64 bits.
    		panic("Too many RISCV64 registers")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/topologymanager/policy_test.go

    	hp       []HintProvider
    	expected TopologyHint
    }
    
    func commonPolicyMergeTestCases(numaNodes []int) []policyMergeTestCase {
    	return []policyMergeTestCase{
    		{
    			name: "Two providers, 1 hint each, same mask, both preferred 1/2",
    			hp: []HintProvider{
    				&mockHintProvider{
    					map[string][]TopologyHint{
    						"resource1": {
    							{
    								NUMANodeAffinity: NewTestBitMask(0),
    								Preferred:        true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 34.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pkg/registry/core/service/ipallocator/bitmap_test.go

    			cidr: "192.168.1.1/28",
    			want: 0,
    		},
    		{
    			name: "small mask IPv4",
    			cidr: "192.168.1.1/27",
    			want: 16,
    		},
    		{
    			name: "small mask IPv6",
    			cidr: "fd00::1/124",
    			want: 0,
    		},
    		{
    			name: "small mask IPv6",
    			cidr: "fd00::1/122",
    			want: 16,
    		},
    		{
    			name: "medium mask IPv4",
    			cidr: "192.168.1.1/22",
    			want: 64,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  7. 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)
  8. src/runtime/iface.go

    	// Implemented using quadratic probing.
    	// Probe sequence is h(i) = h0 + i*(i+1)/2 mod 2^k.
    	// We're guaranteed to hit all table entries using this probe sequence.
    	mask := t.size - 1
    	h := itabHashFunc(inter, typ) & mask
    	for i := uintptr(1); ; i++ {
    		p := (**itab)(add(unsafe.Pointer(&t.entries), h*goarch.PtrSize))
    		// Use atomic read here so if we see m != nil, we also see
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  9. src/go/doc/comment/parse.go

    	// and this function will return false.
    	const mask = 0 |
    		1<<'.' |
    		1<<',' |
    		1<<':' |
    		1<<';' |
    		1<<'?' |
    		1<<'!'
    
    	return ((uint64(1)<<c)&(mask&(1<<64-1)) |
    		(uint64(1)<<(c-64))&(mask>>64)) != 0
    }
    
    // isPath reports whether c is a (non-punctuation) path byte.
    func isPath(c byte) bool {
    	// mask is a 128-bit bitmap with 1s for allowed bytes,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableMap.java

          return null;
        }
        if (hashTableObject instanceof byte[]) {
          byte[] hashTable = (byte[]) hashTableObject;
          int mask = hashTable.length - 1;
          for (int h = Hashing.smear(key.hashCode()); ; h++) {
            h &= mask;
            int keyIndex = hashTable[h] & BYTE_MASK; // unsigned read
            if (keyIndex == BYTE_MASK) { // -1 signed becomes 255 unsigned
              return null;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top