Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for topologyValue (0.21 sec)

  1. pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go

    )
    
    func (p *criticalPaths) sort() {
    	if p[0].MatchNum == p[1].MatchNum && p[0].TopologyValue > p[1].TopologyValue {
    		// Swap TopologyValue to make them sorted alphabetically.
    		p[0].TopologyValue, p[1].TopologyValue = p[1].TopologyValue, p[0].TopologyValue
    	}
    }
    
    func TestPreFilterState(t *testing.T) {
    	tests := []struct {
    		name                      string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 143.1K bytes
    - Viewed (0)
Back to top