Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for leastOf (0.03 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

         */
        public void addFailure(final Throwable t) {
            failures.add(t);
        }
    
        /**
         * Checks if there are any failures recorded.
         *
         * @return true if there is at least one failure, false otherwise
         */
        public boolean hasFailure() {
            return !failures.isEmpty();
        }
    
        /**
         * Returns the list of failures.
         *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            assertTrue(urlFilter.match("https://any.com/any/path"));
    
            urlFilter.clear();
            urlFilter.init(sessionId);
    
            urlFilter.addInclude(".+"); // Match at least one character
            assertTrue(urlFilter.match("https://example.com/"));
            assertFalse(urlFilter.match(""));
        }
    
        /**
         * Test memory efficiency with large number of patterns
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            // Should be same instance for singleton
            assertSame(component1, component2);
            // The first creation should increment the counter
            assertTrue("Instance count should be at least 1", SingletonTestComponent.getInstanceCount() >= 1);
        }
    
        /**
         * Test wrap method
         */
        public void test_wrap_basic() {
            TestComponent component = new TestComponent();
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            Map<String, Object> result = item.toEmptyMap();
            assertEquals(emptySource, result);
        }
    
        @Test
        public void testUserBoostMinimum() {
            // Test that user boost is at least 1
            String[] text = { "test" };
            String[][] readings = { { "test" } };
    
            // Test with boost less than 1
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            // Verify all rules were added (can't check exact count due to thread-safe implementation)
            ResponseData responseData = new ResponseData();
            assertNotNull(threadSafeManager.getRule(responseData)); // At least one rule should match
        }
    
        /**
         * Test concurrent rule removals
         */
        public void test_concurrentRemoveRule() throws Exception {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
Back to top