- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestBatched (0.08 sec)
-
src/crypto/rand/rand_batched_test.go
// license that can be found in the LICENSE file. //go:build unix package rand import ( "bytes" "errors" prand "math/rand" "testing" ) func TestBatched(t *testing.T) { fillBatched := batched(func(p []byte) error { for i := range p { p[i] = byte(i) } return nil }, 5) p := make([]byte, 13) if err := fillBatched(p); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 16:24:57 UTC 2022 - 1.8K bytes - Viewed (0)