- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for IPv4 (0.13 sec)
-
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 */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 44K bytes - Viewed (1) -
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));
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 31.9K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
import java.net.InetAddress; import java.text.ParseException; import javax.annotation.CheckForNull; /** * A syntactically valid host specifier, suitable for use in a URI. This may be either a numeric IP * address in IPv4 or IPv6 notation, or a domain name. * * <p>Because this class is intended to represent host specifiers which can reasonably be used in a
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 05 09:18:40 GMT 2023 - 6K bytes - Viewed (0) -
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));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 31.9K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostAndPort.java
@GwtCompatible @ElementTypesAreNonnullByDefault public final class HostAndPort implements Serializable { /** Magic value indicating the absence of a port number. */ private static final int NO_PORT = -1; /** Hostname, IPv4/IPv6 literal, or unvalidated nonsense. */ private final String host; /** Validated port number in the range [0..65535], or NO_PORT */ private final int port;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 22 20:55:57 GMT 2023 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* parts other than the last may begin with a digit (for example, "3com.com"). It's important to * disallow an initial digit in the last part; it's the only thing that stops an IPv4 numeric * address like 127.0.0.1 from looking like a valid domain name. */ if (isFinalPart && DIGIT_MATCHER.matches(part.charAt(0))) { return false; } return true; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 05 20:47:23 GMT 2024 - 28K bytes - Viewed (0)