- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestAppendToMarshal (8.31 sec)
-
src/net/netip/export_test.go
return uint128{hi, lo} } func MkAddr(u Uint128, z unique.Handle[AddrDetail]) Addr { return Addr{u, z} } func IPv4(a, b, c, d uint8) Addr { return AddrFrom4([4]byte{a, b, c, d}) } var TestAppendToMarshal = testAppendToMarshal func (a Addr) IsZero() bool { return a.isZero() } func (p Prefix) IsZero() bool { return p.isZero() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:14:15 UTC 2024 - 730 bytes - Viewed (0) -
src/net/netip/netip_pkg_test.go
} testAppendToMarshal(t, ipp) }) } } type appendMarshaler interface { encoding.TextMarshaler AppendTo([]byte) []byte } // testAppendToMarshal tests that x's AppendTo and MarshalText methods yield the same results. // x's MarshalText method must not return an error. func testAppendToMarshal(t *testing.T, x appendMarshaler) { t.Helper()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 15:37:19 UTC 2023 - 9K bytes - Viewed (0)