Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Narrowest (0.16 sec)

  1. pkg/kubelet/cm/topologymanager/numa_info.go

    	return numaInfo, nil
    }
    
    func (n *NUMAInfo) Narrowest(m1 bitmask.BitMask, m2 bitmask.BitMask) bitmask.BitMask {
    	if m1.IsNarrowerThan(m2) {
    		return m1
    	}
    	return m2
    }
    
    func (n *NUMAInfo) Closest(m1 bitmask.BitMask, m2 bitmask.BitMask) bitmask.BitMask {
    	// If the length of both bitmasks aren't the same, choose the one that is narrowest.
    	if m1.Count() != m2.Count() {
    		return n.Narrowest(m1, m2)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top