Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for IPV4 (0.16 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/api/service/warnings_test.go

    			},
    		},
    		{
    			name:    "Dual Stack IPv4-IPv6 and IPv4 with leading zeros",
    			service: service([]string{"192.012.2.2", "2001:db8::2"}),
    			want: []string{
    				`spec.clusterIPs[0]: IP address was accepted, but will be invalid in a future Kubernetes release: ParseAddr("192.012.2.2"): IPv4 field has octet with leading zero`,
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 26 22:57:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/net/netip/fuzz_test.go

    	"bad",
    	// Single number. Some parsers accept this as an IPv4 address in
    	// big-endian uint32 form, but we don't.
    	"1234",
    	// IPv4 with a zone specifier.
    	"1.2.3.4%eth0",
    	// IPv4 field must have at least one digit.
    	".1.2.3",
    	"1.2.3.",
    	"1..2.3",
    	// IPv4 address too long.
    	"1.2.3.4.5",
    	// IPv4 in dotted octal form.
    	"0300.0250.0214.0377",
    	// IPv4 in dotted hex form.
    	"0xc0.0xa8.0x8c.0xff",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 20 23:46:23 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  7. 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)
  8. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

    import org.junitpioneer.jupiter.RetryingTest
    import org.opentest4j.TestAbortedException
    
    /**
     * This test binds two different web servers (IPv4 and IPv6) to the same port, but on different
     * local IP addresses. Requests made to `127.0.0.1` will reach the IPv4 server, and requests made to
     * `::1` will reach the IPv6 server.
     *
     * By orchestrating two different servers with the same port but different IP addresses, we can
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/library/ip.go

    // The IP address must be an IPv4 or IPv6 address.
    // IPv4-mapped IPv6 addresses (e.g. ::ffff:1.2.3.4) are not allowed.
    // IP addresses with zones (e.g. fe80::1%eth0) are not allowed.
    // Leading zeros in IPv4 address octets are not allowed.
    //
    //	ip(<string>) <IPAddr>
    //
    // Examples:
    //
    //	ip('127.0.0.1') // returns an IPv4 address
    //	ip('::1') // returns an IPv6 address
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 11:02:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. 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)
Back to top