- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test1ConcAlloc (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/conc_alloc_test.go
func TestConcAlloc(t *testing.T) { rands := rand.New(rand.NewSource(1234567890)) for i := 0; i < 10000; i++ { test1ConcAlloc(t, rands) } } func test1ConcAlloc(t *testing.T, rands *rand.Rand) { probLen := ([]int{0, 1, 2, 3, 4, 6, 9})[rands.Intn(7)] classes := make([]allocProblemItem, probLen) var lowSum, highSum float64 var requiredSum int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 18:17:27 UTC 2022 - 5.3K bytes - Viewed (0)