Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 194 for Sleeps (0.03 sec)

  1. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

       * response is ready.
       */
      @Test
      fun dispatchBlocksWaitingForEnqueue() {
        Thread {
          try {
            Thread.sleep(1000)
          } catch (ignored: InterruptedException) {
          }
          server.enqueue(
            MockResponse
              .Builder()
              .body("enqueued in the background")
              .build(),
          )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) {
                    try {
                        Thread.sleep(50);
                    } catch (InterruptedException e) {
                        Thread.currentThread().interrupt();
                        break;
                    }
                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/TestLocking.java

                        }
                    }
    
                    if (delay > 2) {
                        logger.debug("delay={}", delay);
                    }
                    Thread.sleep(delay);
                } while (delay > 2);
    
                synchronized (t) {
                    t.notifyAll();
                }
                //System.out.println("numComplete=" + t.numComplete + ",numThreads=" + t.numThreads);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

        assertThat(log.take()).isEqualTo("normal task running")
        assertThat(log).isEmpty()
      }
    
      @Test fun idleLatchAfterShutdown() {
        queue.schedule("task") {
          Thread.sleep(250)
          backend.shutdown()
          return@schedule -1L
        }
    
        assertThat(queue.idleLatch().await(500L, TimeUnit.MILLISECONDS)).isTrue()
        assertThat(queue.idleLatch().count).isEqualTo(0)
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                    setupMinioClient(bucketName, endpoint);
                    break;
                } catch (final Exception e) {
                    logger.warn("[{}] {}", i + i, e.getMessage());
                }
                ThreadUtil.sleep(1000L);
            }
        }
    
        private void setupMinioClient(String bucketName, String endpoint) throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbWatchHandleTest.java

                    synchronized (lock) {
                        watchCount++;
                        try {
                            // Simulate some processing time
                            Thread.sleep(10);
                        } catch (InterruptedException e) {
                            Thread.currentThread().interrupt();
                        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) {
                    try {
                        Thread.sleep(50);
                    } catch (InterruptedException e) {
                        Thread.currentThread().interrupt();
                        break;
                    }
                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Nov 11 13:40:14 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * IllegalArgumentException} if passed a {@code fromKey} less than an earlier {@code fromKey}.
       * However, this method doesn't throw an exception in that situation, but instead keeps the
       * original {@code fromKey}. Similarly, this method keeps the original {@code toKey}, instead of
       * throwing an exception, if passed a {@code toKey} greater than an earlier {@code toKey}.
       */
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

                            exceptionList = new ArrayList<>();
                        }
                        exceptionList.add(e);
                    }
    
                    ThreadUtil.sleep(retryInterval);
                    count++;
                }
                final String message = "Failed to access to " + request.getUrl()
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

          taskFaker.sleep(100.µs)
          log += "red:finishing@${taskFaker.nanoTime}"
        }
        assertThat(taskFaker.executeCallCount).isEqualTo(1)
    
        // Enqueueing the blue task doesn't start a thread because the red one is still starting.
        blueQueue.execute("blue task") {
          log += "blue:starting@${taskFaker.nanoTime}"
          taskFaker.sleep(100.µs)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top