Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAddrWellKnown (0.24 sec)

  1. src/net/netip/netip_test.go

    			}
    
    			unspecified := tt.ip.IsUnspecified()
    			if unspecified != tt.unspecified {
    				t.Errorf("IsUnspecified(%v) = %v; want %v", tt.ip, unspecified, tt.unspecified)
    			}
    		})
    	}
    }
    
    func TestAddrWellKnown(t *testing.T) {
    	tests := []struct {
    		name string
    		ip   Addr
    		std  net.IP
    	}{
    		{
    			name: "IPv4 unspecified",
    			ip:   IPv4Unspecified(),
    			std:  net.IPv4zero,
    		},
    		{
    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