Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for forString (0.08 sec)

  1. 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("::")))
            .isEqualTo(InetAddresses.forString("0.0.0.0"));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. 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.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. 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.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. 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.
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top