- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testApp (0.03 sec)
-
src/bytes/bytes_test.go
const step = 13 if r >= 'a' && r <= 'z' { return ((r - 'a' + step) % 26) + 'a' } if r >= 'A' && r <= 'Z' { return ((r - 'A' + step) % 26) + 'A' } return r } func TestMap(t *testing.T) { // Run a couple of awful growth/shrinkage tests a := tenRunes('a') // 1. Grow. This triggers two reallocations in Map. maxRune := func(r rune) rune { return unicode.MaxRune }
Registered: 2025-05-27 11:13 - Last Modified: 2025-05-15 21:24 - 62.9K bytes - Viewed (0)