Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for addresses2 (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

     */
    package org.codelibs.fess.util;
    
    import java.net.Inet6Address;
    import java.net.InetAddress;
    
    /**
     * Utility class for handling IP addresses, particularly IPv6 addresses in URLs.
     * This class provides methods to properly format IPv6 addresses for use in URLs
     * by adding brackets where necessary.
     */
    public final class IpAddressUtil {
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java

        /**
         * Resolves the given host name to an array of IP addresses.
         * The host name is first converted to ASCII using IDN before resolution.
         * IPv6 addresses in bracket notation (e.g., [::1] or [2001:db8::1]) are
         * handled specially by removing the brackets before resolution.
         *
         * @param host the host name to resolve
         * @return an array of IP addresses for the host
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

      private var nextAddress = 0xff000064L // 255.0.0.100 in IPv4; ::ff00:64 in IPv6.
    
      /** Sets the results for `hostname`.  */
      operator fun set(
        hostname: String,
        addresses: List<InetAddress>,
      ): FakeDns {
        hostAddresses[hostname] = addresses
        return this
      }
    
      /** Clears the results for `hostname`.  */
      fun clear(hostname: String): FakeDns {
        hostAddresses.remove(hostname)
        return this
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 20:20:29 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

        /**
         * Resolves the given host name to an array of IP addresses.
         * The host name is first converted to ASCII using IDN before resolution.
         * IPv6 addresses in bracket notation (e.g., [::1] or [2001:db8::1]) are
         * handled specially by removing the brackets before resolution.
         *
         * @param host the host name to resolve
         * @return an array of IP addresses for the host
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 06 07:24:43 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

       * an IPv4 address or not.
       *
       * <p>IPv6 addresses are <b>coerced</b> to IPv4 addresses before being converted to integers.
       *
       * <p>As long as there are applications that assume that all IP addresses are IPv4 addresses and
       * can therefore be converted safely to integers (for whatever purpose) this function can be used
       * to handle IPv6 addresses as well until the application is suitably fixed.
       *
    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)
  6. docs/features/connections.md

    They're also concrete: each URL identifies a specific path (like `/square/okhttp`) and query (like `?q=sharks&lang=en`). Each webserver hosts many URLs.
    
    ### [Addresses](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-address/)
    
    Addresses specify a webserver (like `github.com`) and all of the **static** configuration necessary to connect to that server: the port number, HTTPS settings, and preferred network protocols (like HTTP/2).
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

        @Test
        public void testIsIPv6Address() {
            // IPv6 addresses
            assertTrue(IpAddressUtil.isIPv6Address("::1"));
            assertTrue(IpAddressUtil.isIPv6Address("2001:db8::1"));
            assertTrue(IpAddressUtil.isIPv6Address("fe80::1"));
            assertTrue(IpAddressUtil.isIPv6Address("2001:0db8:0000:0000:0000:ff00:0042:8329"));
    
            // IPv4 addresses
            assertFalse(IpAddressUtil.isIPv6Address("127.0.0.1"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

         * fallbacks to prevent the host machine's various IP addresses from interfering.
         */
        private val SINGLE_INET_ADDRESS_DNS =
          Dns { hostname ->
            val addresses = Dns.SYSTEM.lookup(hostname)
            listOf(addresses[0])
          }
    
        private operator fun Throwable?.plus(throwable: Throwable): Throwable {
          if (this != null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/net/InetAddressesTest.java

        // 2 6to4 addresses differing in the embedded IPv4 address should
        // hash to the different values.
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2002:0102:0304::1")))
            .isNotEqualTo(
                InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2002:0506:0708::1")));
    
        // 2 6to4 addresses NOT differing in the embedded IPv4 address should
    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)
  10. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

    /**
     * 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
     * test what OkHttp does when both are reachable, or if only one is reachable.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.6K bytes
    - Click Count (0)
Back to Top