Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for v4Addrs (0.17 sec)

  1. src/net/lookup_test.go

    					}
    
    					var v4Addrs []netip.Addr
    					var v6Addrs []netip.Addr
    					for _, ip := range ips {
    						if addr, ok := netip.AddrFromSlice(ip); ok {
    							if addr.Is4() {
    								v4Addrs = append(v4Addrs, addr)
    							} else {
    								v6Addrs = append(v6Addrs, addr)
    							}
    						} else {
    							t.Fatalf("IP=%q is neither IPv4 nor IPv6", ip)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. src/net/ip_test.go

    	in  IPNet
    	out IPNet
    }{
    	{IPNet{IP: v4addr, Mask: v4mask}, IPNet{IP: v4addr, Mask: v4mask}},
    	{IPNet{IP: v4addr, Mask: v4mappedv6mask}, IPNet{IP: v4addr, Mask: v4mask}},
    	{IPNet{IP: v4mappedv6addr, Mask: v4mappedv6mask}, IPNet{IP: v4addr, Mask: v4mask}},
    	{IPNet{IP: v4mappedv6addr, Mask: v6mask}, IPNet{IP: v4addr, Mask: v4maskzero}},
    	{IPNet{IP: v4addr, Mask: v6mask}, IPNet{IP: v4addr, Mask: v4maskzero}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 01:17:29 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. src/net/netip/netip_test.go

    			multicast:               true,
    		},
    		{
    			name:          "private v4Addr 10/8",
    			ip:            private4a,
    			globalUnicast: true,
    			private:       true,
    		},
    		{
    			name:          "private v4Addr 172.16/12",
    			ip:            private4b,
    			globalUnicast: true,
    			private:       true,
    		},
    		{
    			name:          "private v4Addr 192.168/16",
    			ip:            private4c,
    			globalUnicast: true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  4. src/runtime/symtab.go

    // to allow the linker to generate long calls when necessary.
    // When this happens, the vaddr for each text section is set to its offset within the text.
    // Each function's offset is compared against the section vaddrs and ends to determine the containing section.
    // Then the section relative offset is added to the section's
    // relocated baseaddr to compute the function address.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top