- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestLoadFactor (0.1 sec)
-
src/runtime/map_test.go
}) mustPanic(func() { _ = me[me] }) mustNotPanic(func() { _ = mi[structKey] }) mustPanic(func() { _ = mi[panicStructKey] }) } func TestLoadFactor(t *testing.T) { for b := uint8(0); b < 20; b++ { count := 13 * (1 << b) / 2 // 6.5 if b == 0 { count = 8 } if runtime.OverLoadFactor(count, b) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 33.5K bytes - Viewed (0)