Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for InetAddresses (0.05 sec)

  1. guava/src/com/google/common/net/InetAddresses.java

       * the format specified by RFC 3986 section 3.2.2.
       *
       * <p>This method is similar to {@link InetAddresses#forString(String)}, however, it requires that
       * IPv6 addresses are surrounded by square brackets.
       *
       * <p>This method is the inverse of {@link InetAddresses#toUriString(java.net.InetAddress)}.
       *
       * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

       * the format specified by RFC 3986 section 3.2.2.
       *
       * <p>This method is similar to {@link InetAddresses#forString(String)}, however, it requires that
       * IPv6 addresses are surrounded by square brackets.
       *
       * <p>This method is the inverse of {@link InetAddresses#toUriString(java.net.InetAddress)}.
       *
       * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/HostSpecifier.java

        // use InetAddresses.toUriString to convert the result to a string in
        // canonical form.
        InetAddress addr = null;
        try {
          addr = InetAddresses.forString(host);
        } catch (IllegalArgumentException e) {
          // It is not an IPv4 or IPv6 literal
        }
    
        if (addr != null) {
          return new HostSpecifier(InetAddresses.toUriString(addr));
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

       */
      private var dnsResults = listOf<InetAddress>()
    
      @BeforeEach
      internal fun setUp() {
        val inetAddresses = InetAddress.getAllByName("localhost")
        localhostIpv4 = inetAddresses.firstOrNull { it is Inet4Address }
          ?: throw TestAbortedException()
        localhostIpv6 = inetAddresses.firstOrNull { it is Inet6Address }
          ?: throw TestAbortedException()
    
        serverIpv4 = MockWebServer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * {@link TestCase} for {@link HostSpecifier}. This is a relatively cursory test, as HostSpecifier
     * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for
     * those classes explore numerous corner cases. The intent here is to confirm that everything is
     * wired up properly.
     *
     * @author Craig Berry
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top