Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 814 for 5000 (0.02 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

         * @return the extracted body text
         * @throws ExtractException if extraction fails
         */
        protected String getBodyText(final MimeMessage message) {
            final StringBuilder buf = new StringBuilder(1000);
            try {
                final Object content = message.getContent();
                if (content instanceof final Multipart multipart) {
                    final int count = multipart.getCount();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            }
    
            logger.info("Crawler is running");
            count = 0;
            isRunning = true;
            while (count < 300 && isRunning) { // Wait until the crawler terminates
                ThreadUtil.sleep(1000);
                count++;
                final Map<String, Object> scheduler = getSchedulerItem(namePrefix);
                assertTrue(scheduler.containsKey("running"));
                isRunning = (Boolean) scheduler.get("running");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

            // Some number of tests will report here, but not fail due to this delay.
            println("Delaying to avoid flakes")
            Thread.sleep(500L)
            println("After delay: " + connectionPool.connectionCount())
          }
    
          connectionPool.evictAll()
          assertEquals(0, connectionPool.connectionCount()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        assertThat(recordedRequest.url.encodedQuery).isEqualTo(
          "ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ",
        )
    
        assertThat(cacheEvents()).containsExactly("CacheMiss")
    
        Thread.sleep(2000)
        server.enqueue(
          dnsResponse(
            "0000818000010003000000000567726170680866616365626f6f6b03636f6d0000010001c00c000500010" +
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

            private final Map<String, Object> dataMap = new HashMap<>();
    
            private String fieldName;
    
            private final StringBuilder buffer = new StringBuilder(1000);
    
            @Override
            public void startDocument() {
                dataMap.clear();
            }
    
            @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

        }
    
        public void test_constructor_withLongMessage() {
            // Test constructor with long message
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("Long message content ");
            }
            String longMessage = sb.toString();
    
            CommandExecutionException exception = new CommandExecutionException(longMessage);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            for (Thread thread : threads) {
                thread.start();
            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join(5000); // 5 second timeout
            }
    
            // Verify no errors occurred during concurrent execution
            assertFalse(hasError.get());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

        }
    
        public void test_execute_longScript() {
            // Test with long script
            StringBuilder longScript = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longScript.append("line ").append(i).append("\n");
            }
            Object result = jobExecutor.execute("test", longScript.toString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

      private NetworkForTest<Integer, String> networkForTest;
      private static final Integer N1 = 1;
      private static final Integer N2 = 2;
      private static final Integer NODE_NOT_IN_GRAPH = 1000;
      private static final String E11 = "1-1";
      private static final String E11_A = "1-1a";
      private static final String E12 = "1-2";
      private static final String E12_A = "1-2a";
      private static final String E21 = "2-1";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                RuntimeCIFSException exception = new RuntimeCIFSException("");
                assertEquals("", exception.getMessage());
            });
    
            // Test long message
            String longMessage = createTestString(1000);
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException(longMessage);
                assertEquals(longMessage, exception.getMessage());
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top