Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for IPV4 (0.12 sec)

  1. src/net/ip_test.go

    	in   IP
    	mask IPMask
    	out  IP
    }{
    	{IPv4(192, 168, 1, 127), IPv4Mask(255, 255, 255, 128), IPv4(192, 168, 1, 0)},
    	{IPv4(192, 168, 1, 127), IPMask(ParseIP("255.255.255.192")), IPv4(192, 168, 1, 64)},
    	{IPv4(192, 168, 1, 127), IPMask(ParseIP("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffe0")), IPv4(192, 168, 1, 96)},
    	{IPv4(192, 168, 1, 127), IPv4Mask(255, 0, 255, 0), IPv4(192, 0, 1, 0)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 01:17:29 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. pkg/proxy/util/utils_test.go

    		},
    		{
    			desc:            "want IPv4 and receive IPv4 and IPv6",
    			ipString:        []string{"192.168.200.2", "192.1.34.23", "fd00:20::1", "2001:db9::3"},
    			wantIPv6:        false,
    			expectCorrect:   []string{"192.168.200.2", "192.1.34.23"},
    			expectIncorrect: []string{"fd00:20::1", "2001:db9::3"},
    		},
    		{
    			desc:            "want IPv4 and receive IPv4 only",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

        }
    
        return true;
      }
    
      /**
       * Returns the IPv4 address embedded in an IPv4 compatible address.
       *
       * @param ip {@link Inet6Address} to be examined for an embedded IPv4 address
       * @return {@link Inet4Address} of the embedded IPv4 address
       * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

        }
    
        return true;
      }
    
      /**
       * Returns the IPv4 address embedded in an IPv4 compatible address.
       *
       * @param ip {@link Inet6Address} to be examined for an embedded IPv4 address
       * @return {@link Inet4Address} of the embedded IPv4 address
       * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. src/net/ip.go

    			n -= 8
    			continue
    		}
    		m[i] = ^byte(0xff >> n)
    		n = 0
    	}
    	return m
    }
    
    // Well-known IPv4 addresses
    var (
    	IPv4bcast     = IPv4(255, 255, 255, 255) // limited broadcast
    	IPv4allsys    = IPv4(224, 0, 0, 1)       // all systems
    	IPv4allrouter = IPv4(224, 0, 0, 2)       // all routers
    	IPv4zero      = IPv4(0, 0, 0, 0)         // all zeros
    )
    
    // Well-known IPv6 addresses
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/server_linux_test.go

    			config: &proxyconfigapi.KubeProxyConfiguration{
    				DetectLocalMode: proxyconfigapi.LocalModeClusterCIDR,
    				ClusterCIDR:     "10.0.0.0/14",
    			},
    			primaryIPFamily: v1.IPv6Protocol,
    			// This will output a warning that there is no IPv6 CIDR but it
    			// will still use the provided IPv4 CIDR for IPv4.
    			expected: map[v1.IPFamily]proxyutil.LocalTrafficDetector{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top