- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 247 for attempt (0.04 sec)
-
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
} /** * Perform a single reconnection attempt * @param info the handle information * @param attempt the current attempt number (0-based) * @param originalCause the original exception that triggered reconnection * @return a future that completes with success or failure */ private CompletableFuture<HandleInfo> attemptReconnect(HandleInfo info, int attempt, Exception originalCause) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
* proxy server can issue an auth challenge and then close the connection. * * @return the next plan to attempt, or null if no further attempt should be made either because * we've successfully connected or because no further attempts should be made. */ @Throws(IOException::class) internal fun connectTunnel(): ConnectResult { val nextTunnelRequest = createTunnel()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 19.3K bytes - Viewed (2) -
src/main/java/jcifs/smb/SmbOperationException.java
logError(); } /** * Create exception for retry attempt * * @param original the original exception * @param attemptNumber the current attempt number * @return new exception with updated attempt information */ public static SmbOperationException forRetry(SmbOperationException original, int attemptNumber) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
// Wait before retry (except first attempt) if (attempt > 0) { Thread.sleep(retryDelay * attempt); } // Create reconnect context DurableHandleReconnect reconnectCtx = new DurableHandleReconnect(info.fileId); // Attempt to reopen with reconnect context
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
internal/rest/client.go
// Protect against integer overflow panic("unit cannot exceed one hour") } return func(attempt uint) time.Duration { if attempt > 16 { // Protect against integer overflow attempt = 16 } // sleep = random_between(unit, min(cap, base * 2 ** attempt)) sleep := min(unit*time.Duration(1<<attempt), maxSleep) sleep -= time.Duration(r.Float64() * float64(sleep-unit)) return sleep } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
String ip = "192.168.1.3"; // Make attempts from same IP with different users for (int i = 1; i <= 5; i++) { assertTrue(rateLimiter.checkAttempt("user" + i, ip), "Attempt " + i + " should be allowed"); rateLimiter.recordFailure("user" + i, ip); } // 6th attempt from same IP should be blockedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
val reuseCallConnection = planReuseCallConnection() if (reuseCallConnection != null) return reuseCallConnection // Attempt to get a connection from the pool. val pooled1 = planReusePooledConnection() if (pooled1 != null) return pooled1 // Attempt a deferred plan before new routes. if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 12K bytes - Viewed (0)