Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 147 for IPV4 (0.04 sec)

  1. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        val request = Request(server1.url("/"))
    
        server1.enqueue(refusedStream)
        server2.enqueue(bodyResponse)
    
        dns[server1.hostName] = listOf(ipv6, ipv4)
        socketFactory[ipv6] = server1.inetSocketAddress
        socketFactory[ipv4] = server2.inetSocketAddress
    
        client =
          client.newBuilder()
            .fastFallback(false)
            .apply {
              retryOnConnectionFailure = false
            }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. pkg/proxy/util/nodeport_addresses_test.go

    			want: true,
    		},
    		{
    			name:        "all zeros ipv4",
    			cidrStrings: []string{"224.0.0.0/24", "192.168.0.0/16", "fd00:1:d::/64", "0.0.0.0/0"},
    			want:        true,
    		},
    		{
    			name:        "all zeros ipv6",
    			cidrStrings: []string{"224.0.0.0/24", "192.168.0.0/16", "fd00:1:d::/64", "::/0"},
    			want:        false,
    		},
    		{
    			name:        "ipv4 loopback",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    		ip       string
    		expected bool
    	}{
    		{"invalid missing address", "", false},
    		{"invalid missing decimal points in IPv4 address", "1234", false},
    		{"invalid incomplete IPv4 address", "1.2", false},
    		{"invalid IPv4 CIDR provided instead of IPv4 address", "1.2.3.4/16", false},
    		{"valid IPv4 address", "1.2.3.4", true},
    		{"valid IPv6 address", "2001:db8::1", true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. src/net/netip/netip.go

    // Is6 reports whether ip is an IPv6 address, including IPv4-mapped
    // IPv6 addresses.
    func (ip Addr) Is6() bool {
    	return ip.z != z0 && ip.z != z4
    }
    
    // Unmap returns ip with any IPv4-mapped IPv6 address prefix removed.
    //
    // That is, if ip is an IPv6 address wrapping an IPv4 address, it
    // returns the wrapped IPv4 address. Otherwise it returns ip unmodified.
    func (ip Addr) Unmap() Addr {
    	if ip.Is4In6() {
    		ip.z = z4
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  5. pkg/controller/nodeipam/ipam/cidrset/cidr_set_test.go

    			index:          0,
    			CIDRBlock:      "127.123.0.0/24",
    			description:    "1st IP address indexed with IPv4",
    		},
    		{
    			clusterCIDRStr: "127.123.0.0/16",
    			subnetMaskSize: 24,
    			index:          15,
    			CIDRBlock:      "127.123.15.0/24",
    			description:    "16th IP address indexed with IPv4",
    		},
    		{
    			clusterCIDRStr: "192.168.5.219/28",
    			subnetMaskSize: 32,
    			index:          5,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 11 08:53:03 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  6. pkg/util/iptree/iptree_test.go

    	}{
    		// 192.168.0.0
    		// 11000000.10101000.00000000.00000001
    		{
    			name: "ipv4 first is a one",
    			ip:   netip.MustParseAddr("192.168.0.0"),
    			pos:  1,
    			want: 1,
    		},
    		{
    			name: "ipv4 middle is a zero",
    			ip:   netip.MustParseAddr("192.168.0.0"),
    			pos:  16,
    			want: 0,
    		},
    		{
    			name: "ipv4 middle is a one",
    			ip:   netip.MustParseAddr("192.168.0.0"),
    			pos:  13,
    			want: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/net/interface_test.go

    		{"gatewaymiddle", gatewaymiddle, 1, &ipv4Route, ""},
    		{"gatewaylast", gatewaylast, 1, &ipv4Route, ""},
    		{"no routes", nothing, 0, nil, ""},
    		{"badDestination", badDestination, 0, nil, "invalid IPv4"},
    		{"badGateway", badGateway, 0, nil, "invalid IPv4"},
    		{"route_Invalidhex", route_Invalidhex, 0, nil, "odd length hex string"},
    		{"no default routes", noInternetConnection, 0, nil, ""},
    	}
    	for _, tc := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 33.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/constants/constants_test.go

    			expected:      "192.168.10.0/24",
    			expectedError: false,
    			name:          "valid: valid <IPv4,IPv6> ranges from dual-stack",
    		},
    		{
    			svcSubnetList: "fd03::/112,192.168.10.0/24",
    			expected:      "fd03::/112",
    			expectedError: false,
    			name:          "valid: valid <IPv6,IPv4> ranges from dual-stack",
    		},
    		{
    			svcSubnetList: "192.168.10.0/24,fd03:x::/112",
    			expected:      "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        InetAddress ipv4 = InetAddresses.forString("1.2.3.4");
        assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
    
        // Test 6to4 address.
        testIp = (Inet6Address) InetAddresses.forString("2002:0102:0304::1");
        assertTrue(InetAddresses.hasEmbeddedIPv4ClientAddress(testIp));
        ipv4 = InetAddresses.forString("1.2.3.4");
        assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  10. src/net/udpsock_test.go

    	network       string
    	litAddrOrName string
    	addr          *UDPAddr
    	err           error
    }
    
    var resolveUDPAddrTests = []resolveUDPAddrTest{
    	{"udp", "127.0.0.1:0", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 0}, nil},
    	{"udp4", "127.0.0.1:65535", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 65535}, nil},
    
    	{"udp", "[::1]:0", &UDPAddr{IP: ParseIP("::1"), Port: 0}, nil},
    	{"udp6", "[::1]:65535", &UDPAddr{IP: ParseIP("::1"), Port: 65535}, nil},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 17.2K bytes
    - Viewed (0)
Back to top