Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for detector (0.06 sec)

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

                    return l;
                }
            }
            return null;
        }
    
        /**
         * Sets the language detector.
         *
         * @param detector The language detector.
         */
        public void setDetector(final LanguageDetector detector) {
            this.detector = detector;
        }
    
        /**
         * Creates a script for updating a document with language information.
         *
    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. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            doc.put("content", "xyz");
    
            // Without a real detector, this will throw NullPointerException
            try {
                languageHelper.updateDocument(doc);
                fail("Should throw NullPointerException without detector");
            } catch (NullPointerException e) {
                // Expected since we don't have a detector
            }
        }
    
        public void test_updateDocument_emptyDoc() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *       to check for a cycle that reaches the lock to be acquired. If no cycle is detected, a new
     *       "safe" edge is created.
     *   <li>If a cycle is detected, an "unsafe" (cyclic) edge is created to represent a potential
     *       deadlock situation, and the appropriate Policy is executed.
     * </ul>
     *
     * <p>Note that detection of potential deadlock does not necessarily indicate that deadlock will
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            request.setAttribute(API_FORMAT_TYPE, formatType);
            return formatType;
        }
    
        /**
         * Detects the format type from the request parameters.
         * @param request The HTTP servlet request.
         * @return The detected format type.
         */
        protected FormatType detectFormatType(final HttpServletRequest request) {
            String value = request.getParameter("type");
    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/helper/UserAgentHelper.java

         * The method analyzes the User-Agent header to categorize the browser type
         * and caches the result in the request attribute for subsequent calls.
         *
         * @return the detected user agent type, or OTHER if no specific type is detected
         */
        public UserAgentType getUserAgentType() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

          }
          maxRunBeforeFallback = maxRunBeforeFallback(newTableSize);
          expandTableThreshold = (int) (DESIRED_LOAD_FACTOR * newTableSize);
        }
    
        /**
         * We attempt to detect deliberate hash flooding attempts. If one is detected, we fall back to a
         * wrapper around j.u.HashSet, which has built-in flooding protection. MAX_RUN_MULTIPLIER was
         * determined experimentally to match our desired probability of false positives.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashMap.java

       *       collections intelligently fall back to a binary search tree if hash table collisions are
       *       detected. Rather than going to all the trouble of reimplementing this ourselves, we
       *       simply switch over to use the JDK implementation wholesale if probable hash flooding is
       *       detected, sacrificing the compactness guarantee in very rare cases in exchange for much
       *       more reliable worst-case behavior.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/graph/Graphs.java

        NodeAndRemainingSuccessors(N node) {
          this.node = node;
        }
      }
    
      /**
       * Determines whether an edge has already been used during traversal. In the directed case a cycle
       * is always detected before reusing an edge, so no special logic is required. In the undirected
       * case, we must take care not to "backtrack" over an edge (i.e. going from A to B and then going
       * from B to A).
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Graphs.java

        NodeAndRemainingSuccessors(N node) {
          this.node = node;
        }
      }
    
      /**
       * Determines whether an edge has already been used during traversal. In the directed case a cycle
       * is always detected before reusing an edge, so no special logic is required. In the undirected
       * case, we must take care not to "backtrack" over an edge (i.e. going from A to B and then going
       * from B to A).
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top