Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestAddrStringAllocs (0.2 sec)

  1. src/cmd/internal/test2json/testdata/framefuzz.json

    {"Action":"start"}
    {"Action":"run","Test":"TestAddrStringAllocs"}
    {"Action":"output","Test":"TestAddrStringAllocs","Output":"=== RUN   TestAddrStringAllocs\n"}
    {"Action":"run","Test":"TestAddrStringAllocs/zero"}
    {"Action":"output","Test":"TestAddrStringAllocs/zero","Output":"=== RUN   TestAddrStringAllocs/zero\n"}
    {"Action":"run","Test":"TestAddrStringAllocs/ipv4"}
    {"Action":"output","Test":"TestAddrStringAllocs/ipv4","Output":"=== RUN   TestAddrStringAllocs/ipv4\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  2. src/cmd/internal/test2json/testdata/framefuzz.test

    === RUN   TestAddrStringAllocs
    === RUN   TestAddrStringAllocs/zero
    === NAME  TestAddrStringAllocs
    === RUN   TestAddrStringAllocs/ipv4
    === NAME  TestAddrStringAllocs
    === RUN   TestAddrStringAllocs/ipv6
    === NAME  TestAddrStringAllocs
    === RUN   TestAddrStringAllocs/ipv6+zone
    === NAME  TestAddrStringAllocs
    === RUN   TestAddrStringAllocs/ipv4-in-ipv6
    === NAME  TestAddrStringAllocs
    === RUN   TestAddrStringAllocs/ipv4-in-ipv6+zone
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. src/net/netip/netip_test.go

    	test("Prefix.IsSingleIP", func() { sinkBool = MustParsePrefix("1.2.3.4/32").IsSingleIP() })
    	test("Prefix.Masked", func() { sinkPrefix = MustParsePrefix("1.2.3.4/16").Masked() })
    }
    
    func TestAddrStringAllocs(t *testing.T) {
    	tests := []struct {
    		name       string
    		ip         Addr
    		wantAllocs int
    	}{
    		{"zero", Addr{}, 0},
    		{"ipv4", MustParseAddr("192.168.1.1"), 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