- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for makeBenchInputHard (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/bytes/bytes_test.go
b.ResetTimer() for _, test := range tests { b.Run(test.name, func(b *testing.B) { for i := 0; i < b.N; i++ { ToValidUTF8(test.input, replacement) } }) } } func makeBenchInputHard() []byte { tokens := [...]string{ "<a>", "<p>", "<b>", "<strong>", "</a>", "</p>", "</b>", "</strong>", "hello", "world", } x := make([]byte, 0, 1<<20) r := rand.New(rand.NewSource(99))
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 11 03:07:05 GMT 2026 - 62.9K bytes - Click Count (0)