Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 108 for lead (0.03 seconds)

  1. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

         * Initializes the ThreadLocal Kryo instances with appropriate configuration.
         * The Kryo instances are configured to require class registration for security,
         * preventing deserialization of arbitrary classes that could lead to RCE vulnerabilities.
         * Only explicitly registered classes can be serialized/deserialized.
         * </p>
         */
        public DataSerializer() {
            kryoThreadLocal = ThreadLocal.withInitial(() -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
  2. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    "dumb", so it can be reused in multiple contexts and doesn't contain any special information about how conventions are calculated or what they could be.  In the wild, we've seen some objects set conventions in the object's constructor (3), but this can lead to unexpected assumptions or coupling between plugins.
    
    For external plugins, it's difficult for an object to be used outside the application of a plugin, so following best practices is relatively straightforward.  For core plugins in gradle/gradle,...
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

        }
    
        private void addHighlightJsToHead(Document document) {
            Element head = document.head();
    
            head.appendElement("link")
                .attr("rel", "stylesheet")
                .attr("href", "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/stackoverflow-light.min.css");
    
            head.appendElement("script")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 03 01:59:51 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

         * Parses mapping rules in the format: input1,input2,... => output
         *
         * @param updater the mapping updater to use for writing changes, or null for read-only reload
         * @param in the input stream to read the mapping data from
         */
        protected void reload(final MappingUpdater updater, final InputStream in) {
            final Pattern parsePattern = Pattern.compile("(.*?)\\s*+=>\\s*+(.*?)\\s*+$");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

                    return List.of("Store1", "Store2");
                }
            };
    
            // First load
            testFactory.getDataStoreNames();
            assertEquals(1, loadCount[0]);
    
            // Simulate cache expiry
            testFactory.lastLoadedTime = System.currentTimeMillis() - 70000L;
    
            // Multiple threads try to read simultaneously
            final int threadCount = 5;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // Load data first
            protwordsFile.reload(null);
    
            // Test with offset out of bounds
            PagingList<ProtwordsItem> list = protwordsFile.selectList(100, 10);
            assertEquals(0, list.size());
            assertTrue(list.isEmpty());
        }
    
        @Test
        public void test_selectList_negativeOffset() {
            // Load data first
            protwordsFile.reload(null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        @Test
        public void test_get_existingItem() {
            // Load test data
            loadTestData();
    
            OptionalEntity<StopwordsItem> result = stopwordsFile.get(1);
            assertTrue(result.isPresent());
            assertEquals("the", result.get().getInput());
        }
    
        @Test
        public void test_get_nonExistingItem() {
            // Load test data
            loadTestData();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            testData.add(createRelatedContent("test", "Test Content", ""));
            mockBhv.setTestData(testData);
    
            relatedContentHelper.init();
    
            // Verify that load was called and data is processed
            String[] results = relatedContentHelper.getRelatedContents("test");
            assertEquals(1, results.length);
            assertEquals("Test Content", results[0]);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            try (final InputStream in = new FileInputStream(tempFile)) {
                configParser.parse(new InputSource(in));
            } catch (final IOException e) {
                logger.warn("Failed to read GSA XML file: fileName={}, error={}", fileName, e.getMessage(), e);
                deleteTempFile(tempFile);
                return;
            }
    
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            // Test with single permission
            testUser.setPermissions(new String[] { "read" });
            String[] permissions = fessUserBean.getPermissions();
            assertEquals(1, permissions.length);
            assertEquals("read", permissions[0]);
    
            // Test with multiple permissions
            testUser.setPermissions(new String[] { "read", "write", "delete" });
            permissions = fessUserBean.getPermissions();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
Back to Top