go/src/os/copy_test.go

func TestLargeCopyViaNetwork(t *testing.T) {}

func TestCopyFileToFile(t *testing.T) {}

func compareReaders(a, b io.Reader) error {}

type zeroReader

func (r zeroReader) Read(p []byte) (int, error) {}

type randReader

func newRandReader() *randReader {}

func (r *randReader) Read(p []byte) (int, error) {}

func createSocketPair(t *testing.T, proto string) (client, server net.Conn) {}