Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for maskSize (0.12 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. pkg/controller/nodeipam/node_ipam_controller.go

    		if len(clusterCIDRs) == 0 {
    			return nil, fmt.Errorf("Controller: Must specify --cluster-cidr if --allocate-node-cidrs is set")
    		}
    
    		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")
    			}
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. 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)
  4. pkg/controller/nodeipam/ipam/cidrset/cidr_set.go

    	}
    	begin, end = 0, s.maxCIDRs-1
    	cidrMask := cidr.Mask
    	maskSize, _ := cidrMask.Size()
    	var ipSize int
    
    	if !s.clusterCIDR.Contains(cidr.IP.Mask(s.clusterCIDR.Mask)) && !cidr.Contains(s.clusterCIDR.IP.Mask(cidr.Mask)) {
    		return -1, -1, fmt.Errorf("cidr %v is out the range of cluster cidr %v", cidr, s.clusterCIDR)
    	}
    
    	if s.clusterMaskSize < maskSize {
    
    		ipSize = net.IPv4len
    		if cidr.IP.To4() == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 11 08:53:03 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go

    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func signalfd(fd int, sigmask *Sigset_t, maskSize uintptr, flags int) (newfd int, err error) {
    	r0, _, e1 := Syscall6(SYS_SIGNALFD4, uintptr(fd), uintptr(unsafe.Pointer(sigmask)), uintptr(maskSize), uintptr(flags), 0, 0)
    	newfd = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    }
    
    //sys	Setpriority(which int, who int, prio int) (err error)
    //sys	Setxattr(path string, attr string, data []byte, flags int) (err error)
    //sys	signalfd(fd int, sigmask *Sigset_t, maskSize uintptr, flags int) (newfd int, err error) = SYS_SIGNALFD4
    //sys	Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error)
    //sys	Sync()
    //sys	Syncfs(fd int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
Back to top