Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 419 for timedOut (0.05 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        val entryTime = System.nanoTime()
    
        for (queue in TaskRunner.INSTANCE.activeQueues()) {
          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
            TaskRunner.INSTANCE.withLock {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/CrawlJob.java

     *
     * <p>The job supports selective crawling by specifying configuration IDs for different
     * types of crawlers (web, file, data). It manages the crawler process lifecycle,
     * handles timeout scenarios, and ensures proper cleanup of resources.</p>
     *
     * <p>Key features:</p>
     * <ul>
     *   <li>Concurrent crawler process management with configurable limits</li>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Suppress("deprecation")
    @Timeout(30)
    @Tag("Slow")
    class MockWebServerTest {
      @RegisterExtension
      var platform = PlatformRule()
    
      private val server = MockWebServer()
    
      @BeforeEach
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            assertTrue(result.contains("IO error occurred during delete operation"));
        }
    
        public void test_execute_withTimeoutException() {
            // Create mock SearchEngineClient that throws timeout exception
            searchEngineClient = new SearchEngineClient() {
                @Override
                public long deleteByQuery(String index, QueryBuilder query) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. docs/contribute/concurrency.md

    The application-layer can also do blocking reads. If the application asks to read and there's nothing available, we need to hold that thread until either the bytes arrive, the stream is closed, or a timeout elapses. If we get bytes but there's nobody asking for them, we buffer them. We don't consider bytes as delivered for flow control until they're consumed by the application.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                }
                if (exitValue != 0) {
                    final StringBuilder out = new StringBuilder();
                    if (processTimeout) {
                        out.append("Process is terminated due to ").append(timeout).append(" second exceeded.\n");
                    }
                    out.append("Exit Code: ").append(exitValue).append("\nOutput:\n").append(it.getOutput());
                    throw new JobProcessingException(out.toString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          // SequentialExecutor by the time the barrier is satisfied
          barrier.await(1, SECONDS);
          executor.execute(barrierTask);
          // timeout means the second task wasn't even tried
          barrier.await(1, SECONDS);
        } finally {
          service.shutdown();
        }
      }
    
      public void testRejectedExecutionThrownWithMultipleCalls() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                        }
                    });
                }
    
                executor.shutdown();
                assertTrue(executor.awaitTermination(30, TimeUnit.SECONDS), "All threads should complete within timeout");
    
                // Analyze timing consistency across threads
                if (!timings.isEmpty()) {
                    double avgTime = timings.stream().mapToLong(Long::longValue).average().orElse(0.0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        }
    
        /**
         * Sets the scroll timeout for delete operations.
         *
         * @param scrollForDelete the scroll timeout string
         */
        public void setScrollForDelete(final String scrollForDelete) {
            this.scrollForDelete = scrollForDelete;
        }
    
        /**
         * Sets the scroll timeout for search operations.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            private static final long serialVersionUID = 1L;
    
            @Override
            public String getApiPingSearchEngineFields() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top