Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 48 for aurons (0.18 seconds)

  1. architecture/standards/0002-avoid-using-java-serialization.md

    # ADR-0002 - Avoid using Java serialization
    
    ## Status
    
    - ACCEPTED on 2023-12-01
    
    ## Context
    
    In Gradle we often need to serialize in-memory objects for caching, or to transmit them across process barriers, etc.
    Java serialization is one way to implement this, however, despite its simplicity of implementation, it has several drawbacks:
    
    - **Performance:**
    Java's built-in serialization mechanism is often slower compared to other serialization solutions.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 14:05:45 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

            assertNull(dataStore.convertValue(Constants.DEFAULT_SCRIPT, value, paramMap));
        }
    
        // ========== Thread Safety Tests ==========
    
        /**
         * Test that the volatile alive field is visible across threads.
         * One thread sets alive to false, other threads should see the change immediately.
         */
        @Test
        public void test_aliveField_volatileVisibility() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

        }
    
        @Test
        public void test_booleanMethodsReturnConsistentValues() {
            // Test that boolean methods return consistent values across multiple calls
            boolean firstNullsSuppressed = provider.isNullsSuppressed();
            boolean secondNullsSuppressed = provider.isNullsSuppressed();
            boolean thirdNullsSuppressed = provider.isNullsSuppressed();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                    turns.add(new int[] { idx, idx + 1 });
                    idx++;
                }
            }
    
            // Walk from newest turn to oldest, selecting contiguous newest turns that fit within budget
            int remaining = budgetChars;
            int firstIncludedTurn = turns.size();
            for (int t = turns.size() - 1; t >= 0; t--) {
                final int[] turn = turns.get(t);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    executorService.shutdownNow();
                }
            }
        }
    
        /**
         * Performs a search operation using rank fusion across available searchers.
         * If only one searcher is available, uses the main searcher. Otherwise, performs
         * concurrent searches across multiple searchers and fuses the results.
         *
         * @param query the search query string
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 25 02:13:14 GMT 2025
    - 28K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/pager/CharMappingPager.java

     * Provides pagination functionality for character mapping lists.
     */
    public class CharMappingPager implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /** Total number of records across all pages. */
        private int allRecordCount;
    
        /** Total number of pages available. */
        private int allPageCount;
    
        /** Flag indicating if a previous page exists. */
        private boolean existPrePage;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            } catch (Exception e) {
                fail("Should have caught LdapOperationException");
            }
        }
    
        @Test
        public void test_getMessage_consistency() {
            // Test message consistency across different scenarios
            String message1 = "LDAP bind failed";
            String message2 = "LDAP search failed";
            Exception cause = new Exception("Timeout");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

        /**
         * The mime type.
         */
        public String mimeType = "application/datastore";
    
        /**
         * The flag to check if the data store is alive.
         * Volatile to ensure visibility across threads.
         */
        protected volatile boolean alive = true;
    
        /**
         * Default constructor.
         */
        public AbstractDataStore() {
            // nothing
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            protected long delay;
    
            /** Array of days when this rule applies (1=Sunday, 7=Saturday) */
            protected int[] days;
    
            /** Flag indicating if the interval spans across midnight */
            protected boolean reverse;
    
            /**
             * Creates a new interval rule.
             *
             * @param from the start time in HH:MM format
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

        /**
         * Timestamp of the last time data store names were loaded from plugin files.
         * Used to implement a time-based cache refresh mechanism.
         * Volatile to ensure visibility across threads.
         */
        protected volatile long lastLoadedTime = 0;
    
        /**
         * Creates a new instance of DataStoreFactory.
         * This constructor initializes the factory for managing data store instances
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top