Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddrFrom16 (0.07 sec)

  1. src/net/netip/netip_test.go

    			}
    		})
    	}
    
    	// Addr constructors
    	test("IPv4", func() { sinkIP = IPv4(1, 2, 3, 4) })
    	test("AddrFrom4", func() { sinkIP = AddrFrom4([4]byte{1, 2, 3, 4}) })
    	test("AddrFrom16", func() { sinkIP = AddrFrom16([16]byte{}) })
    	test("ParseAddr/4", func() { sinkIP = panicIP(ParseAddr("1.2.3.4")) })
    	test("ParseAddr/6", func() { sinkIP = panicIP(ParseAddr("::1")) })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
Back to top