Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 174 for Delay (0.02 seconds)

  1. 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,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertEquals(1.0, noRetryPolicy.getBackoffMultiplier());
            assertFalse(noRetryPolicy.isExponentialBackoff());
        }
    
        @Test
        @DisplayName("Should limit retry delay to maximum")
        void testMaxDelayLimit() {
            // Given
            SmbOperationException.RetryPolicy policy = new SmbOperationException.RetryPolicy(10, 1000, 5000, 2.0, true);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java

            requestBody.put("depth", 0);
            requestBody.put("max_access_count", 1L); // Already minimal
            requestBody.put("num_of_thread", 1);
            requestBody.put("interval_time", 0); // No delay between requests
            requestBody.put("boost", 100);
            requestBody.put("available", true);
            requestBody.put("sort_order", 0);
            createWebConfig(requestBody);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  4. 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.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 11.1K bytes
    - Click Count (1)
  5. 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)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. 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), NANOSECONDS, executorService);
      }
    
      /**
       * Schedules {@code callable} on the specified {@code executor}, returning a {@code Future}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        }
    
        static TestCondition createAndSignalAfter(long delay, TimeUnit unit) {
          TestCondition testCondition = create();
    
          ScheduledExecutorService scheduledPool = newScheduledThreadPool(1);
          // If signal() fails somehow, we should see a failed test, even without looking at the Future.
          Future<?> unused = scheduledPool.schedule(testCondition::signal, delay, unit);
    
          return testCondition;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                                    localFailures = 0; // Reset on success
                                }
    
                                Thread.sleep(5); // Small delay to spread out requests
                            }
                            successfulThreads.incrementAndGet();
                        } catch (Exception e) {
                            exceptionCount.incrementAndGet();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            requestBody.put("depth", 0);
            requestBody.put("max_access_count", 2L); // Minimal: 1 success + 1 failure
            requestBody.put("num_of_thread", 1);
            requestBody.put("interval_time", 0); // No delay
            requestBody.put("boost", 100);
            requestBody.put("available", true);
            requestBody.put("sort_order", 0);
            createWebConfig(requestBody);
        }
    
        private static void createJob() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  10. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top