Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 163 for Delay (0.01 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        boolean longWait = NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5;
        // Count how long it actually took to return; we'll accept any number between the expected delay
        // and the approximate actual delay, to be robust to variance in thread scheduling.
        char overWaitNanosFirstDigit =
            Long.toString(thread.timeSpentBlocked - MILLISECONDS.toNanos(longWait ? 5000 : 3000))
                .charAt(0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            assertEquals("MyBot", directive.getUserAgent());
            assertEquals(0, directive.getCrawlDelay());
        }
    
        public void test_directiveCrawlDelay() {
            // Test Directive crawl delay
            Directive directive = new Directive("MyBot");
    
            directive.setCrawlDelay(10);
            assertEquals(10, directive.getCrawlDelay());
    
            directive.setCrawlDelay(0);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                            log.debug("Change notification failed for: " + handle.getDirectoryPath(), e);
                            incrementFailureCount(handle);
                            // Exponential backoff with max 8 seconds delay (up to MAX_RETRY_DELAY)
                            try {
                                long retryDelay = Math.min(MAX_RETRY_DELAY,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.java

            } catch (PluginResolutionException e) {
                logger.debug("Ignoring unresolvable plugin version {}", version, e);
                return false;
            } catch (Exception e) {
                // ignore for now and delay failure to higher level processing
                return true;
            }
    
            try {
                pluginManager.checkPrerequisites(pluginDescriptor);
            } catch (PluginIncompatibleException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. cmd/prepare-storage.go

    		if m[err.Error()] > 2 {
    			peersLogAlwaysIf(ctx, fmt.Errorf("Following error has been printed %d times.. %w", m[err.Error()], err))
    			// Reduce the count to introduce further delay in printing
    			// but let it again print after the 2th attempt
    			m[err.Error()]--
    			m[err.Error()]--
    		}
    		m[err.Error()]++
    	}
    }()
    
    // Cleans up tmp directory of the local disk.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  6. internal/dsync/dsync_test.go

    	dm.refreshInterval = testDrwMutexUnlockCallTimeout
    	if !dm.GetLock(t.Context(), nil, id, source, Options{Timeout: 5 * time.Minute}) {
    		t.Fatal("GetLock() should be successful")
    	}
    
    	// Add delay to lock server responses to ensure that lock does not timeout
    	for i := range lockServers {
    		lockServers[i].setResponseDelay(5 * testDrwMutexUnlockCallTimeout)
    		defer lockServers[i].setResponseDelay(0)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

      // TODO(cpovirk): Return ListenableScheduledFuture?
      public static <O extends @Nullable Object> ListenableFuture<O> scheduleAsync(
          AsyncCallable<O> callable, Duration delay, ScheduledExecutorService executorService) {
        return scheduleAsync(callable, toNanosSaturated(delay), TimeUnit.NANOSECONDS, executorService);
      }
    
      /**
       * Schedules {@code callable} on the specified {@code executor}, returning a {@code Future}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  8. CHANGELOG.md

    Change Log
    ==========
    
    ## Version 4.x
    
    See [4.x Change log](https://square.github.io/okhttp/changelogs/changelog_4x/) for the stable version changelogs.
    
    ## Version 5.3.2
    
    _2025-11-18_
    
     *  Fix: Don't delay triggering timeouts. In Okio 3.16.0 we introduced a regression that caused
        timeouts to fire later than they were supposed to.
    
     *  Upgrade: [Okio 3.16.4][okio_3_16_4].
    
    
    ## Version 5.3.1
    
    _2025-11-16_
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  9. src/test/java/jcifs/util/SecureKeyManagerTest.java

            Thread.sleep(200);
    
            long laterAge = keyManager.getKeyAge(sessionId);
            assertTrue(laterAge >= 200, "Age should increase after delay");
        }
    
        @Test
        public void testKeyAgeNonExistent() {
            assertEquals(-1, keyManager.getKeyAge("non-existent"), "Non-existent key should return -1 for age");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

            crawlerContext.setStatus(CrawlerStatus.RUNNING);
            crawlerContext.maxThreadCheckCount = 1; // Will exit after 1 check
    
            crawlerThread.run();
    
            verify(intervalController, times(1)).delay(IntervalController.NO_URL_IN_QUEUE);
        }
    
        /**
         * Test isContinue with active threads still running.
         */
        public void test_isContinue_withActiveThreads() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.3K bytes
    - Viewed (0)
Back to top