go/src/net/udpsock_test.go

func BenchmarkUDP6LinkLocalUnicast(b *testing.B) {}

type resolveUDPAddrTest

var resolveUDPAddrTests

func TestResolveUDPAddr(t *testing.T) {}

func TestWriteToUDP(t *testing.T) {}

func testWriteToConn(t *testing.T, raddr string) {}

func testWriteToPacketConn(t *testing.T, raddr string) {}

var udpConnLocalNameTests

func TestUDPConnLocalName(t *testing.T) {}

func TestUDPConnLocalAndRemoteNames(t *testing.T) {}

func TestIPv6LinkLocalUnicastUDP(t *testing.T) {}

func TestUDPZeroBytePayload(t *testing.T) {}

func TestUDPZeroByteBuffer(t *testing.T) {}

func TestUDPReadSizeError(t *testing.T) {}

// TestUDPReadTimeout verifies that ReadFromUDP with timeout returns an error
// without data or an address.
func TestUDPReadTimeout(t *testing.T) {}

func TestAllocs(t *testing.T) {}

func BenchmarkReadWriteMsgUDPAddrPort(b *testing.B) {}

func BenchmarkWriteToReadFromUDP(b *testing.B) {}

func BenchmarkWriteToReadFromUDPAddrPort(b *testing.B) {}

func TestUDPIPVersionReadMsg(t *testing.T) {}

// TestIPv6WriteMsgUDPAddrPortTargetAddrIPVersion verifies that
// WriteMsgUDPAddrPort accepts IPv4, IPv4-mapped IPv6, and IPv6 target addresses
// on a UDPConn listening on "::".
func TestIPv6WriteMsgUDPAddrPortTargetAddrIPVersion(t *testing.T) {}