go/src/net/netip/netip_test.go

var long

type uint128

var mustPrefix

var mustIP

var mustIPPort

func TestParseAddr(t *testing.T) {}

func TestAddrFromSlice(t *testing.T) {}

func TestIPv4Constructors(t *testing.T) {}

func TestAddrAppendText(t *testing.T) {}

func TestAddrMarshalUnmarshalBinary(t *testing.T) {}

func TestAddrPortMarshalTextString(t *testing.T) {}

func TestAddrPortMarshalUnmarshalBinary(t *testing.T) {}

func TestPrefixMarshalTextString(t *testing.T) {}

func TestPrefixMarshalUnmarshalBinary(t *testing.T) {}

func TestAddrMarshalUnmarshal(t *testing.T) {}

func TestAddrFrom16(t *testing.T) {}

func TestIPProperties(t *testing.T) {}

func TestAddrWellKnown(t *testing.T) {}

func TestAddrLessCompare(t *testing.T) {}

func TestAddrPortCompare(t *testing.T) {}

func TestPrefixCompare(t *testing.T) {}

func TestIPStringExpanded(t *testing.T) {}

func TestPrefixMasking(t *testing.T) {}

func TestPrefixMarshalUnmarshal(t *testing.T) {}

func TestPrefixUnmarshalTextNonZero(t *testing.T) {}

func TestIs4AndIs6(t *testing.T) {}

func TestIs4In6(t *testing.T) {}

func TestPrefixMasked(t *testing.T) {}

func TestPrefix(t *testing.T) {}

func TestPrefixFromInvalidBits(t *testing.T) {}

func TestParsePrefixAllocs(t *testing.T) {}

func TestParsePrefixError(t *testing.T) {}

func TestPrefixIsSingleIP(t *testing.T) {}

func mustIPs(strs ...string) []Addr {}

func BenchmarkBinaryMarshalRoundTrip(b *testing.B) {}

func BenchmarkStdIPv4(b *testing.B) {}

func BenchmarkIPv4(b *testing.B) {}

type ip4i

func newip4i_v4(a, b, c, d byte) ip4i {}

// BenchmarkIPv4_inline benchmarks the candidate representation, ip4i.
func BenchmarkIPv4_inline(b *testing.B) {}

func BenchmarkStdIPv6(b *testing.B) {}

func BenchmarkIPv6(b *testing.B) {}

func BenchmarkIPv4Contains(b *testing.B) {}

func BenchmarkIPv6Contains(b *testing.B) {}

var parseBenchInputs

func BenchmarkParseAddr(b *testing.B) {}

func BenchmarkStdParseIP(b *testing.B) {}

func BenchmarkAddrString(b *testing.B) {}

func BenchmarkIPStringExpanded(b *testing.B) {}

func BenchmarkAddrMarshalText(b *testing.B) {}

func BenchmarkAddrPortString(b *testing.B) {}

func BenchmarkAddrPortMarshalText(b *testing.B) {}

func BenchmarkPrefixMasking(b *testing.B) {}

func BenchmarkPrefixMarshalText(b *testing.B) {}

func BenchmarkParseAddrPort(b *testing.B) {}

func TestAs4(t *testing.T) {}

func TestPrefixOverlaps(t *testing.T) {}

var sinkIP

var sinkStdIP

var sinkAddrPort

var sinkPrefix

var sinkPrefixSlice

var sinkInternValue

var sinkIP16

var sinkIP4

var sinkBool

var sinkString

var sinkBytes

var sinkUDPAddr

func TestNoAllocs(t *testing.T) {}

func TestAddrStringAllocs(t *testing.T) {}

func TestPrefixString(t *testing.T) {}

func TestAddrPortString(t *testing.T) {}

func TestAsSlice(t *testing.T) {}

var sink16

func BenchmarkAs16(b *testing.B) {}