Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 804 for handlers (0.08 sec)

  1. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

        }
    
        // Test constructor
        public void test_constructor() {
            CorsHandler handler = new CorsHandler() {
                @Override
                public void process(String origin, ServletRequest request, ServletResponse response) {
                    // Test implementation
                }
            };
            assertNotNull(handler);
        }
    
        // Test process method with null origin
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

        }
    
        /**
         * Updater class for processing protwords items during dictionary updates.
         * This class handles the writing and committing of changes to the dictionary file.
         */
        protected class ProtwordsUpdater implements Closeable {
    
            /** Flag indicating if the update should be committed */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            // Test negative values - should throw NullPointerException in private method via BigInteger.valueOf
            try {
                MemoryUtil.byteCountToDisplaySize(-1L);
                // If no exception, verify it handles negative as expected
            } catch (Exception e) {
                // Expected for negative values
            }
    
            // Test boundary values
            assertEquals("1bytes", MemoryUtil.byteCountToDisplaySize(1L));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java

     * Implementations of this interface should provide the logic for reading
     * documents and converting them into a key-value structure.
     *
     * <p>This interface extends {@link java.io.Closeable}, so implementations
     * should also handle resource cleanup when the {@link #close()} method is called.</p>
     */
    public interface DocumentReader extends Closeable {
        /**
         * Reads a document and returns its contents as a map.
         *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/UserService.java

            return userBhv.selectEntity(cb -> {
                cb.query().setName_Equal(username);
            });
        }
    
        /**
         * Stores (inserts or updates) a user in the system.
         * Handles user authentication setup and database persistence.
         * If the surname is blank, it will be set to the user's name.
         *
         * @param user the user entity to store
         */
        public void store(final User user) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ComponentUtil.java

         */
        public static CrawlerStatsHelper getCrawlerStatsHelper() {
            return getComponent(CRAWLER_STATS_HELPER);
        }
    
        /**
         * Gets the CORS handler factory component.
         * @return The CORS handler factory.
         */
        public static CorsHandlerFactory getCorsHandlerFactory() {
            return getComponent(CORS_HANDLER_FACTORY);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ParseRequest.java

        this.radix = radix;
      }
    
      static ParseRequest fromString(String stringValue) {
        if (stringValue.length() == 0) {
          throw new NumberFormatException("empty string");
        }
    
        // Handle radix specifier if present
        String rawValue;
        int radix;
        char firstChar = stringValue.charAt(0);
        if (stringValue.startsWith("0x") || stringValue.startsWith("0X")) {
          rawValue = stringValue.substring(2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. docs/smb3-features/04-directory-leasing-design.md

            ChangeNotificationHandle handle = activeWatchers.remove(directoryPath);
            if (handle != null) {
                handle.active = false;
                // Cancel any pending notifications
                cancelNotification(handle);
            }
        }
        
        private void startAsyncNotification(ChangeNotificationHandle handle) {
            CompletableFuture.runAsync(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/custom-response.md

    /// info
    
    This requires installing `ujson` for example with `pip install ujson`.
    
    ///
    
    /// warning
    
    `ujson` is less careful than Python's built-in implementation in how it handles some edge-cases.
    
    ///
    
    {* ../../docs_src/custom_response/tutorial001.py hl[2,7] *}
    
    /// tip
    
    It's possible that `ORJSONResponse` might be a faster alternative.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertNotNull(item.getTimestamp());
            assertNotNull(item.getId());
        }
    
        @Test
        public void testConstructorWithNullArrays() {
            // Test constructor handles null arrays gracefully
            String[] text = { "text" };
            String[][] readings = { { "reading" } };
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top