go/src/net/splice_linux_test.go

func TestSplice(t *testing.T) {}

func testSpliceToFile(t *testing.T, upNet, downNet string) {}

func testSplice(t *testing.T, upNet, downNet string) {}

type spliceTestCase

func (tc spliceTestCase) test(t *testing.T) {}

func verifySpliceFds(t *testing.T, c Conn, hook *spliceHook, fdType string) {}

func (tc spliceTestCase) testFile(t *testing.T) {}

func testSpliceReaderAtEOF(t *testing.T, upNet, downNet string) {}

func testSpliceIssue25985(t *testing.T, upNet, downNet string) {}

func testSpliceNoUnixpacket(t *testing.T) {}

func testSpliceNoUnixgram(t *testing.T) {}

func BenchmarkSplice(b *testing.B) {}

func benchSplice(b *testing.B, upNet, downNet string) {}

func (tc spliceTestCase) bench(b *testing.B) {}

func BenchmarkSpliceFile(b *testing.B) {}

func benchmarkSpliceFile(b *testing.B, proto string) {}

type spliceFileBench

func (bench spliceFileBench) benchSpliceFile(b *testing.B) {}

func hookSplice(t *testing.T) *spliceHook {}

type spliceHook

func (h *spliceHook) install() {}

func (h *spliceHook) uninstall() {}