- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for forString (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/net/InetAddresses.java
private static final CharMatcher IPV6_DELIMITER_MATCHER = CharMatcher.is(IPV6_DELIMITER); private static final Inet4Address LOOPBACK4 = (Inet4Address) forString("127.0.0.1"); private static final Inet4Address ANY4 = (Inet4Address) forString("0.0.0.0"); private InetAddresses() {} /** * Returns an {@link Inet4Address}, given a byte array representation of the IPv4 address. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 47.7K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostAndPort.java
* * <p>Note that this parser identifies IPv6 literals solely based on the presence of a colon. To * perform actual validation of IP addresses, see the {@link InetAddresses#forString(String)} * method. * * @return {@code this}, to enable chaining of calls. * @throws IllegalArgumentException if bracketless IPv6 is detected. */ @CanIgnoreReturnValueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
.isEqualTo(InetAddresses.forString("127.0.0.1")); // ::1 special case assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("::1"))) .isEqualTo(InetAddresses.forString("127.0.0.1")); // :: special case assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("::")))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0)