Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 76 for quickly (0.04 seconds)

  1. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            }
    
            try {
                dataIndexHelper.crawl("test-session-force-stop");
                assertTrue("Should exit quickly when force stopped", true);
            } catch (Exception e) {
                assertTrue("Force stop should handle exceptions quickly", true);
            }
        }
    
        @Test
        public void test_crawl_with_short_intervals() {
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            verify(mockContext, atLeastOnce()).getConfig();
        }
    
        @Test
        @DisplayName("Should handle invalid NetBIOS name quickly")
        @Timeout(value = 1, unit = TimeUnit.SECONDS) // Very short timeout
        void testGetNbtByNameInvalid() {
            // When/Then - Should fail quickly with invalid characters
            assertThrows(Exception.class, () -> {
                nameServiceClient.getNbtByName("INVALID@#$%NAME");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            assertTrue(end - start < 50); // Should return quickly
    
            // Test with rule that has no delay
            helper.addIntervalRule("01:30", "15:15", "*", 0);
            start = System.currentTimeMillis();
            helper.delayByRules();
            end = System.currentTimeMillis();
            assertTrue(end - start < 50); // Should return quickly
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/EmptyIteratorTest.java

        }
    
        @Test
        @DisplayName("EmptyIterator should be lightweight and efficient")
        void testPerformanceCharacteristics() {
            // When - create many instances quickly
            long startTime = System.currentTimeMillis();
    
            for (int i = 0; i < 10000; i++) {
                EmptyIterator iterator = new EmptyIterator();
                iterator.hasNext();
                iterator.next();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java

            }
            long duration = System.nanoTime() - startTime;
    
            // Should complete quickly (relaxed threshold for CI environments)
            // Note: Set-based O(1) lookup should be much faster than O(n) array iteration
            assertTrue("Set-based lookup should complete quickly (duration: " + duration / 1_000_000 + "ms)", duration < 1_000_000_000); // 1 second (relaxed from 100ms for CI)
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                assertNotNull(jobProcess2);
                // Since echo command completes quickly, processes might already be finished
                // So we just verify that processes were created without errors
    
                Set<String> sessionIds = processHelper.getRunningSessionIdSet();
                // Since echo commands complete quickly, we may not catch them running
                // Just verify no exceptions occurred
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  7. docs/en/docs/management-tasks.md

        * You can normally quickly detect it by going to the "Files changed" tab in the PR and checking if the updated file(s) starts with `docs/en/docs`. The original version of the docs is always in English, so in `docs/en/docs`.
    * `lang-all`: Translations
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            // Resolve quickly to avoid default 1 minute timeout
            Thread th = new Thread(() -> {
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
            // Use default timeout (should work since we resolve quickly)
            SuggestResponse response = deferred.promise().getResponse();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                assertFalse(auth1.equals(auth3));
    
                // Test empty vs password
                assertFalse(auth2.equals(auth3));
    
                // These operations should complete quickly and consistently
                long startTime = System.nanoTime();
                for (int i = 0; i < 1000; i++) {
                    auth1.equals(auth2);
                    auth1.equals(auth3);
                    auth2.equals(auth3);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Joiner.java

       */
      public String join(Iterable<?> parts) {
        /*
         * If we can quickly determine how many elements there are likely to be, then we can use the
         * fastest possible implementation, which delegates to the array overload of String.join.
         *
         * In theory, we can quickly determine the size of any Collection. However, thanks to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
Back to Top