Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 304 for sleeps (0.04 sec)

  1. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                // adds two nanoseconds to the ticker
                ticker.advance(1L);
                Thread.sleep(10);
                ticker.advance(1L);
                return null;
              }
            });
    
        assertEquals(numberOfThreads * 2, ticker.read());
      }
    
      @GwtIncompatible // concurrency
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. .github/workflows/scorecard.yml

          id-token: write
          # Uncomment the permissions below if installing in a private repository.
          # contents: read
          # actions: read
    
        steps:
          - name: "Checkout code"
            uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
            with:
              persist-credentials: false
    
          - name: "Run analysis"
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 01 19:32:55 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/FinalizableReferenceQueue.java

       *
       * Even if no other references to classes from the application class loader remain, the Finalizer
       * thread keeps an indirect strong reference to the queue in ReferenceMap, which keeps the
       * Finalizer running, and as a result, the application class loader can never be reclaimed.
       *
       * This means that dynamically loaded web applications and OSGi bundles can't be unloaded.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt

    import java.util.concurrent.TimeUnit.SECONDS
    import okhttp3.MediaType
    import okhttp3.RequestBody
    import okio.BufferedSink
    import org.junit.jupiter.api.Assertions.assertTrue
    
    /** A duplex request body that keeps the provided sinks so they can be written to later.  */
    class AsyncRequestBody : RequestBody() {
      private val requestBodySinks: BlockingQueue<BufferedSink> = LinkedBlockingQueue()
    
      override fun contentType(): MediaType? = null
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            // Make the cache entry expired
            DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath);
            entry.setMaxAge(1); // 1ms to expire immediately
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                // Ignore
            }
    
            // When lease is lost, cache entry should be removed
            when(baseLeaseManager.getLease(leaseKey)).thenReturn(null);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. .github/workflows/docs.yml

        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'documentation')
    
        steps:
          - name: Checkout
            uses: actions/checkout@v6
    
          - name: Configure JDK
            uses: actions/setup-java@v5
            with:
              distribution: 'zulu'
              java-version: 17
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 12 23:30:30 UTC 2025
    - 987 bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            FtpClient client = new FtpClient() {
                @Override
                protected ResponseData getResponseData(final String uri, final boolean includeContent) {
                    try {
                        Thread.sleep(2000);
                    } catch (InterruptedException e) {
                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            IOException error = new IOException("Connection failed");
            failover.handleFailure(failedChannel, error);
    
            // Wait a bit for recovery attempt
            Thread.sleep(100);
    
            verify(mockChannelManager).createTransport(failedChannel.getLocalInterface(), failedChannel.getRemoteInterface());
        }
    
        @Test
        void testMultipleFailuresExceedRetryLimit() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

                @Override
                public void run() {
                    try {
                        statusSetLatch.countDown();
                        // Poll for status change instead of fixed sleep
                        long startTime = System.currentTimeMillis();
                        while (System.currentTimeMillis() - startTime < 500) {
                            if (CrawlerStatus.DONE == crawlerContext.getStatus()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                        crawlerStatusList.set(startedCrawlerNum, Constants.RUNNING);
                        startedCrawlerNum++;
                        activeCrawlerNum++;
                        ThreadUtil.sleep(crawlingExecutionInterval);
                        continue;
                    }
    
                    // check status
                    for (int i = 0; i < startedCrawlerNum; i++) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25K bytes
    - Viewed (0)
Back to top