Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for ipv4 (0.02 sec)

  1. 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();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

        val request = Request(server1.url("/"))
    
        server1.enqueue(refusedStream)
        server2.enqueue(bodyResponse)
    
        dns[server1.hostName] = listOf(ipv6, ipv4)
        socketFactory[ipv6] = server1.socketAddress
        socketFactory[ipv4] = server2.socketAddress
    
        client =
          client
            .newBuilder()
            .fastFallback(false)
            .apply {
              retryOnConnectionFailure = false
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

    import org.junitpioneer.jupiter.RetryingTest
    import org.opentest4j.TestAbortedException
    
    /**
     * 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
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.6K bytes
    - Viewed (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() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                return false;
            }
        }
    
        /**
         * Formats an IP address string for use in a URL.
         * IPv6 addresses are wrapped in brackets, IPv4 addresses are returned as-is.
         *
         * @param address the IP address string to format
         * @return the formatted address (IPv6 with brackets, IPv4 unchanged)
         */
        public static String formatForUrl(final String address) {
            if (address == null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

         * @return IP address
         */
        public InetAddress getAddress() {
            return address;
        }
    
        /**
         * Check if this is an IPv6 address
         *
         * @return true if IPv6, false if IPv4
         */
        public boolean isIpv6() {
            return ipv6;
        }
    
        /**
         * Check if RSS is supported
         *
         * @return true if RSS capable
         */
        public boolean isRssCapable() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java

            IdnDnsResolver resolver = new IdnDnsResolver();
    
            // Test IPv6 loopback address with brackets
            String host = "[::1]";
            InetAddress[] addresses = resolver.resolve(host);
            assertNotNull(addresses);
            assertTrue(addresses.length > 0);
            // IPv6 loopback can be represented as ::1 or 0:0:0:0:0:0:0:1
            String hostAddress = addresses[0].getHostAddress();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/main/assemblies/files/fess.in.sh

    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djava.awt.headless=true"
    
    # maximum # keep-alive connections to maintain at once
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dhttp.maxConnections=20"
    
    # Force the JVM to use IPv4 stack
    if [ "x$FESS_USE_IPV4" != "x" ]; then
      FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djava.net.preferIPv4Stack=true"
    fi
    
    # proxy
    if [ "x$FESS_PROXY_HOST" != "x" ]; then
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 03:48:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosConstants.java

        /** Kerberos protocol version */
        String KERBEROS_VERSION = "5";
    
        /** Kerberos AP-REQ message type */
        String KERBEROS_AP_REQ = "14";
    
        /** Address family: Internet (IPv4) */
        int AF_INTERNET = 2;
        /** Address family: CHANET */
        int AF_CHANET = 5;
        /** Address family: XNS */
        int AF_XNS = 6;
        /** Address family: ISO */
        int AF_ISO = 7;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

        /**
         * Checks if EPSV command should be used with IPv4.
         *
         * @return True if EPSV with IPv4 is enabled, false otherwise
         */
        public boolean isUseEPSVwithIPv4() {
            return useEPSVwithIPv4;
        }
    
        /**
         * Sets whether EPSV command should be used with IPv4.
         *
         * @param useEPSVwithIPv4 True to enable EPSV with IPv4, false to disable
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
Back to top