go/src/crypto/rand/rand_test.go

func testReadAndReader(t *testing.T, f func(*testing.T, func([]byte) (int, error))) {}

func TestRead(t *testing.T) {}

func testRead(t *testing.T, Read func([]byte) (int, error)) {}

func TestReadByteValues(t *testing.T) {}

func testReadByteValues(t *testing.T, Read func([]byte) (int, error)) {}

func TestLargeRead(t *testing.T) {}

func testLargeRead(t *testing.T, Read func([]byte) (int, error)) {}

func TestReadEmpty(t *testing.T) {}

func testReadEmpty(t *testing.T, Read func([]byte) (int, error)) {}

type readerFunc

func (f readerFunc) Read(b []byte) (int, error) {}

func TestReadUsesReader(t *testing.T) {}

func TestConcurrentRead(t *testing.T) {}

func testConcurrentRead(t *testing.T, Read func([]byte) (int, error)) {}

var sink

func TestAllocations(t *testing.T) {}

// TestNoUrandomFallback ensures the urandom fallback is not reached in
// normal operations.
func TestNoUrandomFallback(t *testing.T) {}

func TestReadError(t *testing.T) {}

func BenchmarkRead(b *testing.B) {}

func benchmarkRead(b *testing.B, size int) {}