Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 339 for Attempts (0.05 sec)

  1. cmd/batch-expire.go

    					} else {
    						stopFn(exp, err)
    						success = true
    						break
    					}
    				}
    				ri.trackMultipleObjectVersions(exp, success)
    			}
    
    			// DeleteMultiple objects
    			toDelCopy := make([]ObjectToDelete, len(toDel))
    			for attempts := 1; attempts <= retryAttempts; attempts++ {
    				select {
    				case <-ctx.Done():
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     *
     *  3. Attempt plans from prior connect attempts for this call. These occur as either follow-ups to
     *     failed connect attempts (such as trying the next [ConnectionSpec]), or as attempts that lost
     *     a race in fast follow-up.
     *
     *  4. If there's no existing connection, make a list of routes (which may require blocking DNS
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

        @BeforeEach
        public void setUp() {
            // Create rate limiter with test-friendly settings
            rateLimiter = new AuthenticationRateLimiter(3, // max attempts per account
                    5, // max attempts per IP
                    20, // max global attempts per minute
                    Duration.ofSeconds(2), // short lockout for testing
                    Duration.ofMinutes(1) // cleanup interval
            );
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                } catch (Exception recoveryError) {
                    log.warn("RDMA recovery attempt {} failed: {}", retryCount, recoveryError.getMessage());
    
                    // If this was the last attempt, log the full error
                    if (retryCount >= maxRetries) {
                        log.error("All RDMA recovery attempts failed", recoveryError);
                    }
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        }
        assertEquals(expected, actual);
      }
    
      public void testCorrectOrdering_smallHeapsPollFirst() {
        for (int size = 2; size < 16; size++) {
          for (int attempts = 0; attempts < size * (size - 1); attempts++) {
            ArrayList<Integer> elements = createOrderedList(size);
            List<Integer> expected = ImmutableList.copyOf(elements);
            MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        }
    
        /**
         * Create rate limiter with custom settings
         *
         * @param maxAttemptsPerAccount max failed attempts per account before lockout
         * @param maxAttemptsPerIp max attempts from single IP
         * @param maxGlobalAttemptsPerMinute max global attempts per minute
         * @param lockoutDuration duration to lock out account/IP
         * @param cleanupInterval interval for cleaning up old entries
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SmbCircuitBreaker.java

                }
    
                totalRequests.incrementAndGet();
    
                // Check half-open attempt limit
                if (currentState == State.HALF_OPEN) {
                    int attempts = halfOpenAttempts.incrementAndGet();
                    if (attempts > halfOpenMaxAttempts) {
                        log.warn("[{}] Exceeded max attempts in HALF_OPEN state, reopening circuit", name);
                        transitionTo(State.OPEN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

                        originalCause));
            }
    
            return CompletableFuture.supplyAsync(() -> {
                try {
                    // Wait before retry (except first attempt)
                    if (attempt > 0) {
                        long delay = retryDelay * (1L << attempt); // Exponential backoff
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    	if err != nil {
    		return err
    	}
    
    	wk, err := workers.New(workerSize)
    	if err != nil {
    		// invalid worker size.
    		return err
    	}
    
    	retry := false
    	for attempts := 1; attempts <= retryAttempts; attempts++ {
    		attempts := attempts
    		// one of source/target is s3, skip delete marker and all versions under the same object name.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            // When/Then - Should retry for attempts 1 and 2
            assertTrue(exception.shouldRetry(1));
            assertTrue(exception.shouldRetry(2));
            assertFalse(exception.shouldRetry(3)); // Max attempts reached
    
            // Verify exponential backoff
            assertEquals(1000, exception.getRetryDelayMs(1));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top