Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 415 for MASK (0.03 sec)

  1. pkg/kubelet/cm/devicemanager/topology_hints.go

    	bitmask.IterateBitMasks(m.numaNodes, func(mask bitmask.BitMask) {
    		// First, update minAffinitySize for the current request size.
    		devicesInMask := 0
    		for _, device := range m.allDevices[resource] {
    			if mask.AnySet(m.getNUMANodeIds(device.Topology)) {
    				devicesInMask++
    			}
    		}
    		if devicesInMask >= request && mask.Count() < minAffinitySize {
    			minAffinitySize = mask.Count()
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. 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)
  3. src/image/draw/draw_test.go

    	// Since golden is a newly allocated image, we don't have to check if the
    	// input source and mask images and the output golden image overlap.
    	b := dst.Bounds()
    	sb := src.Bounds()
    	mb := image.Rect(-1e9, -1e9, 1e9, 1e9)
    	if mask != nil {
    		mb = mask.Bounds()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. src/image/draw/draw.go

    // the same amount as the change in r.Min.
    func clip(dst Image, r *image.Rectangle, src image.Image, sp *image.Point, mask image.Image, mp *image.Point) {
    	orig := r.Min
    	*r = r.Intersect(dst.Bounds())
    	*r = r.Intersect(src.Bounds().Add(orig.Sub(*sp)))
    	if mask != nil {
    		*r = r.Intersect(mask.Bounds().Add(orig.Sub(*mp)))
    	}
    	dx := r.Min.X - orig.X
    	dy := r.Min.Y - orig.Y
    	if dx == 0 && dy == 0 {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. src/runtime/os_freebsd.go

    	if maskSize < goarch.PtrSize {
    		maskSize = goarch.PtrSize
    	}
    	if maskSize > len(mask) {
    		maskSize = len(mask)
    	}
    
    	if cpuset_getaffinity(_CPU_LEVEL_WHICH, _CPU_WHICH_PID, _CPU_CURRENT_PID,
    		maskSize, (*byte)(unsafe.Pointer(&mask[0]))) != 0 {
    		return 1
    	}
    	n := int32(0)
    	for _, v := range mask[:maskSize] {
    		for v != 0 {
    			n += int32(v & 1)
    			v >>= 1
    		}
    	}
    	if n == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        TYPE_DISALLOWED -> TYPE_DISALLOWED
    
        else -> error("unexpected type: $type")
      }
    }
    
    internal infix fun Byte.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Short.and(mask: Int): Int = toInt() and mask
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/library/cidr.go

    // The CIDR must be an IPv4 or IPv6 subnet address with a mask.
    // Leading zeros in IPv4 address octets are not allowed.
    // IPv4-mapped IPv6 addresses (e.g. ::ffff:1.2.3.4/24) are not allowed.
    //
    //	cidr(<string>) <CIDR>
    //
    // Examples:
    //
    //	cidr('192.168.0.0/16') // returns an IPv4 address with a CIDR mask
    //	cidr('::1/128') // returns an IPv6 address with a CIDR mask
    //	cidr('192.168.0.0/33') // error
    //	cidr('::1/129') // error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:04 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableBiMap.java

          V value = entry.getValue();
          checkEntryNotNull(key, value);
          int keyHash = key.hashCode();
          int valueHash = value.hashCode();
          int keyBucket = Hashing.smear(keyHash) & mask;
          int valueBucket = Hashing.smear(valueHash) & mask;
    
          ImmutableMapEntry<K, V> nextInKeyBucket = keyTable[keyBucket];
          ImmutableMapEntry<K, V> nextInValueBucket = valueTable[valueBucket];
          try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/SmallCharMatcher.java

            index = (index + 1) & mask;
          }
        }
        return new SmallCharMatcher(table, filter, containsZero, description);
      }
    
      @Override
      public boolean matches(char c) {
        if (c == 0) {
          return containsZero;
        }
        if (!checkFilter(c)) {
          return false;
        }
        int mask = table.length - 1;
        int startingIndex = smear(c) & mask;
        int index = startingIndex;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. 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)
Back to top