Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for Detection (0.05 sec)

  1. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

            }
            return getSupportedLanguage(result.getLanguage());
        }
    
        /**
         * Returns the text to be used for language detection.
         *
         * @param text The original text.
         * @return The text for language detection.
         */
        protected String getDetectText(final String text) {
            final String result;
            if (text.length() <= maxTextLength) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          }
        },
    
        /**
         * Disables cycle detection. This option causes the factory to return unmodified lock
         * implementations provided by the JDK, and is provided to allow applications to easily
         * parameterize when cycle detection is enabled.
         *
         * <p>Note that locks created by a factory with this policy will not participate the
         * cycle detection performed by locks created by other factories.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                }
                return uaType;
            }).orElse(UserAgentType.OTHER);
        }
    
        /**
         * Enumeration of supported browser types for user agent detection.
         * Each type represents a major browser family that can be detected
         * from the User-Agent header string.
         */
        public enum UserAgentType {
            /** Internet Explorer and Trident-based browsers */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/BaseApiManager.java

    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * Base implementation for API managers providing common functionality.
     * Abstract class that provides format detection and response handling for web APIs.
     */
    public abstract class BaseApiManager implements WebApiManager {
    
        private static final String API_FORMAT_TYPE = "apiFormatType";
    
        /** Path prefix for API endpoints. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/JvmUtil.java

    import java.util.Arrays;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Utility class for JVM-related operations.
     * This class provides methods for handling JVM options and version detection.
     */
    public final class JvmUtil {
        private static final Pattern VERSION_PREFIX_PATTERN = Pattern.compile("([0-9]+)(\\-?):(.*)");
    
        private JvmUtil() {
            // nothing
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
            assertEquals(originalPath, webApiRequest.getServletPath());
        }
    
        // Test edge cases for SAStruts.method detection
        public void test_getServletPath_withSAStrutsMethodSubstring_returnsSuperPath() {
            final String originalPath = "/original/path";
            final String customPath = "/api/v1/search";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                    u = StringUtil.EMPTY;
                }
            }
            return u;
        }
    
        /**
         * Decodes a URL as a name using appropriate character encoding.
         * Handles encoding detection from parent URLs and configuration settings.
         *
         * @param url the URL to decode
         * @param escapePlus whether to escape plus signs before decoding
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

     * manager that was used to create an [SSLSocketFactory].
     *
     * Not supported by choice on JDK9+ due to access checks.
     *
     * ### Android Cleartext Permit Detection
     *
     * Supported on Android 6.0+ via `NetworkSecurityPolicy`.
     */
    open class Platform {
      /** Prefix used on custom headers. */
      fun getPrefix() = "OkHttp"
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        }
    
        /**
         * Sets whether the user identification cookie should be marked as secure.
         *
         * @param cookieSecure true if the cookie should be secure (HTTPS only), false otherwise, or null for auto-detection
         */
        public void setCookieSecure(final Boolean cookieSecure) {
            this.cookieSecure = cookieSecure;
        }
    
        /**
         * Sets whether the user identification cookie should be HTTP-only.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

      /**
       * Prunes any leaked calls and then returns the number of remaining live calls on [connection].
       * Calls are leaked if the connection is tracking them but the application code has abandoned
       * them. Leak detection is imprecise and relies on garbage collection.
       */
      private fun pruneAndGetAllocationCount(
        connection: RealConnection,
        now: Long,
      ): Int {
        connection.assertLockHeld()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top