Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 103 for science (0.04 seconds)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

             */
            public JvmClassesObj() {
                // Default constructor
            }
    
            /** Currently loaded classes */
            public long loaded;
            /** Total classes loaded since JVM start */
            public long total_loaded;
            /** Total classes unloaded */
            public long unloaded;
        }
    
        /**
         * Data transfer object representing process statistics.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            // With offset 3 and total 5 items, we should get 2 items
            assertEquals(2, result.size());
            assertEquals(1, result.getCurrentPageNumber()); // First page since we're getting actual results
            assertEquals(10, result.getPageSize());
            assertEquals(5, result.getAllRecordCount());
        }
    
        @Test
        public void test_selectList_withNullList() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            crawlingInfoHelper.documentExpires = currentTime + 5000;
    
            // For this test, we'll focus on the documentExpires fallback logic
            // since creating full CrawlingConfig mocks would require implementing many abstract methods
            Date result = crawlingInfoHelper.documentExpires != null ? new Date(crawlingInfoHelper.documentExpires) : null;
            assertNotNull(result);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

                    if (getInputs() == null) {
                        return super.getInputsValue();
                    }
                    return super.getInputsValue();
                }
            };
    
            // Since we can't easily set inputs to null, test with empty array
            String[] emptyInputs = {};
            CharMappingItem emptyItem = new CharMappingItem(1L, emptyInputs, "output");
            assertEquals("", emptyItem.getInputsValue());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

         */
        protected ConcurrentHashMap<String, Pair<String, Pattern>> clientRuleCache = new ConcurrentHashMap<>();
    
        /**
         * Determines whether the content at the given URL has been updated since the last crawl.
         * This method implements incremental crawling by comparing timestamps and checking document
         * expiration. It also handles special cases for different URL schemes (SMB, file, FTP).
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            assertTrue(result.contains("Session Id:"));
            assertNotNull(pythonJob.sessionId);
            assertTrue(pythonJob.sessionId.length() >= 10);
    
            // The test doesn't actually call the real process since ServletContext.getRealPath returns null in test
            // and causes an exception which is caught and added to result
            assertTrue(result.contains("Session Id:"));
        }
    
        // Test execute with custom session ID
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

     * This class contains various helper methods for formatting, parsing, and manipulating data
     * in Fess web templates, including date formatting, localization, file operations, and
     * query parameter handling.
     *
     * @since 1.0
     */
    public class FessFunctions {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(FessFunctions.class);
    
        /** Prefix for geographic query parameters */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  8. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

                // Check that sessionId was generated
                assertNotNull(options.sessionId);
                assertTrue(options.sessionId.matches("\\d{14}"));
            } catch (Exception e) {
                // Expected since we're not setting up the full container
            }
        }
    
        @Test
        public void test_process_withCustomSessionId() throws Exception {
            // Test that custom sessionId is sanitized
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            assertEquals("21T", crawlingConfigHelper.getDefaultConfig(ConfigType.DATA).get().getId());
        }
    
        @Test
        public void test_getId() {
            // Test getId method through reflection since it's protected
            try {
                java.lang.reflect.Method getIdMethod = CrawlingConfigHelper.class.getDeclaredMethod("getId", String.class);
                getIdMethod.setAccessible(true);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 35.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            }
        }
    
        // Test reload with IOException
        @Test
        public void test_reload_ioException() throws Exception {
            // This test verifies error handling during reload
            // Since we can't easily mock the IOException, we'll test with invalid data
            writeTestFile("invalid => "); // Invalid format
    
            try {
                charMappingFile.reload(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
Back to Top