Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 42 for ipv6 (0.04 seconds)

  1. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

            assertEquals("http://127.0.0.1:8080", IpAddressUtil.buildUrl("http", ipv4, 8080, null));
    
            // IPv4 without port
            assertEquals("http://127.0.0.1", IpAddressUtil.buildUrl("http", ipv4, 0, ""));
            assertEquals("http://127.0.0.1", IpAddressUtil.buildUrl("http", ipv4, -1, ""));
    
            // IPv6 with port and path
            InetAddress ipv6 = InetAddress.getByName("::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)
  2. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                }
                // Add brackets for IPv6
                return "[" + address + "]";
            }
            return address;
        }
    
        /**
         * Compresses an IPv6 address string to its canonical compressed form.
         * For example, "0:0:0:0:0:0:0:1" becomes "::1"
         *
         * @param ipv6Address the IPv6 address string to compress
         * @return the compressed IPv6 address string
         */
    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)
  3. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

        }
    
        @Test
        void testAddIPAddresses() throws Exception {
            InetAddress ipv4 = InetAddress.getByName("192.168.1.100");
            InetAddress ipv6 = InetAddress.getByName("2001:db8::1");
    
            notification.addNewIPAddress(ipv4);
            notification.addNewIPAddress(ipv6);
            notification.addOldIPAddress(ipv4);
    
            List<WitnessNotification.WitnessIPAddress> newAddresses = notification.getNewIPAddresses();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessNotification.java

            }
    
            /**
             * Checks if this is an IPv4 address.
             *
             * @return true if IPv4
             */
            public boolean isIPv4() {
                return (flags & IPV4) != 0;
            }
    
            /**
             * Checks if this is an IPv6 address.
             *
             * @return true if IPv6
             */
            public boolean isIPv6() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

    internal fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> {
      if (addresses.size < 2) {
        return addresses
      }
    
      val (ipv6, ipv4) = addresses.partition { it is Inet6Address }
    
      return if (ipv6.isEmpty() || ipv4.isEmpty()) {
        addresses
      } else {
        interleave(ipv6, ipv4)
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Apr 24 15:15:15 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. buildscripts/verify-build.sh

    	export MINIO_ROOT_PASSWORD=$SECRET_KEY
    	export MINIO_ENDPOINTS="http://[::1]:9000${WORK_DIR}/pool-disk-sets-ipv6{1...4} http://[::1]:9001${WORK_DIR}/pool-disk-sets-ipv6{5...8}"
    	"${MINIO[@]}" server --address="[::1]:9000" >"$WORK_DIR/pool-minio-ipv6-9000.log" 2>&1 &
    	"${MINIO[@]}" server --address="[::1]:9001" >"$WORK_DIR/pool-minio-ipv6-9001.log" 2>&1 &
    
    	"${WORK_DIR}/mc" ready verify_ipv6
    }
    
    function start_minio_dist_erasure() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 19:28:51 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/HostSpecifier.java

    import java.net.InetAddress;
    import java.text.ParseException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

         */
        @Override
        public InetAddress[] resolve(final String host) throws UnknownHostException {
            // Handle IPv6 addresses in bracket notation
            if (host != null && host.length() > 2 && host.startsWith("[") && host.endsWith("]")) {
                // Remove brackets for IPv6 address resolution
                final String ipv6Address = host.substring(1, host.length() - 1);
    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)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

        Collections.synchronizedMap(mutableMapOf())
      private val requestedHosts: MutableList<String> = Collections.synchronizedList(mutableListOf())
      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
      }
    
    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)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java

         */
        @Override
        public InetAddress[] resolve(final String host) throws UnknownHostException {
            // Handle IPv6 addresses in bracket notation
            if (host != null && host.length() > 2 && host.startsWith("[") && host.endsWith("]")) {
                // Remove brackets for IPv6 address resolution
                final String ipv6Address = host.substring(1, host.length() - 1);
    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)
Back to Top