- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestScore (0.07 sec)
-
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)