Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for maskSize (0.38 sec)

  1. src/runtime/os_freebsd.go

    		return 1
    	}
    
    	maskSize := int(maxcpus+7) / 8
    	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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    		// i.e. if it has a /24 the node mask must be between 24 and 32 for ipv4
    		if maskSize > nodeMask {
    			allErrs = append(allErrs, field.Invalid(fldPath, podSubnet.String(), fmt.Sprintf("the size of pod subnet with mask %d is smaller than the size of node subnet with mask %d", maskSize, nodeMask)))
    		} else if (nodeMask - maskSize) > constants.PodSubnetNodeMaskMaxDiff {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top