Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. plugin/pkg/admission/resourcequota/admission_test.go

    		if expectedValue != actualValue {
    			t.Errorf("Usage Used: Key: %v, Expected: %v, Actual: %v", k, expectedValue, actualValue)
    		}
    	}
    }
    
    func removeListWatch(in []testcore.Action) []testcore.Action {
    	decimatedActions := []testcore.Action{}
    	// list and watch resource quota is done to maintain our cache, so that's expected.  Remove them from results
    	for i := range in {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/switch.go

    				}
    			}
    			score := int64(le) * int64(len(cc)-le)
    			if score > bestScore {
    				bestScore = score
    				bestIdx = idx
    				bestByte = b
    			}
    		}
    	}
    
    	// The split must be at least 1:n-1 because we have at least 2 distinct strings; they
    	// have to be different somewhere.
    	// TODO: what if the best split is still pretty bad?
    	if bestScore == 0 {
    		base.Fatalf("unable to split string set")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top