Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sortedSizes (0.56 sec)

  1. cmd/kube-controller-manager/app/core.go

    // then it will return default IPv4 and IPv6 cidr mask sizes.
    func setNodeCIDRMaskSizes(cfg nodeipamconfig.NodeIPAMControllerConfiguration, clusterCIDRs []*net.IPNet) ([]int, error) {
    
    	sortedSizes := func(maskSizeIPv4, maskSizeIPv6 int) []int {
    		nodeMaskCIDRs := make([]int, len(clusterCIDRs))
    
    		for idx, clusterCIDR := range clusterCIDRs {
    			if netutils.IsIPv6CIDR(clusterCIDR) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 39K bytes
    - Viewed (0)
  2. src/cmd/go/internal/fsys/fsys.go

    			files[name] = fakeFile{name, fi}
    		}
    	}
    	sortedFiles := diskfis[:0]
    	for _, f := range files {
    		sortedFiles = append(sortedFiles, f)
    	}
    	sort.Slice(sortedFiles, func(i, j int) bool { return sortedFiles[i].Name() < sortedFiles[j].Name() })
    	return sortedFiles, nil
    }
    
    // OverlayPath returns the path to the overlaid contents of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top