- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 197 for ms (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
val elapsedNanos = System.nanoTime() - startNanos org.junit.jupiter.api.Assertions.assertTrue( elapsedNanos < TimeUnit.SECONDS.toNanos(5), "Timeout should have taken ~100ms but was " + elapsedNanos / 1e6 + " ms", ) } @Test fun chainWithReadTimeout() { val interceptor1 = Interceptor { chainA: Interceptor.Chain -> assertThat(chainA.readTimeoutMillis()).isEqualTo(5000)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 28.2K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
*/ public void setRateLimit(long windowMs, int maxEvents) { this.rateLimitWindow = windowMs; this.maxEventsPerWindow = maxEvents; log.info("Rate limiting set to {} events per {} ms", maxEvents, windowMs); } /** * Internal audit entry class */ private static class AuditEntry { Instant timestamp; EventType eventType; Severity severity;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
len += pad8(bufferIndex); } else if (compound && this.nextCommand == 0 && this.readSize > 0) { // Apply compound response handling as per MS-SMB2 3.2.5.1.9 - correct for both compound and single responses // 3.2.5.1.9 Handling Compounded Responses // The final response in the compounded response chain will have NextCommand equal to 0,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
* @param failureThreshold number of failures before opening * @param successThreshold number of successes in half-open before closing * @param resetTimeoutMillis time to wait before attempting reset (ms) * @param halfOpenMaxAttempts max attempts in half-open state */ public SmbCircuitBreaker(String name, int failureThreshold, int successThreshold, long resetTimeoutMillis, long halfOpenMaxAttempts) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
// Check if key rotation is needed (including the current message) if (needsKeyRotation(message.length)) { log.warn("Encryption keys need rotation - will exceed usage limits (bytes: {} + {}, time: {} ms)", bytesEncrypted.get(), message.length, System.currentTimeMillis() - encryptionStartTime); // Perform automatic key rotation if session key is available if (sessionKey != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
} if (failedPing != -1) { failWebSocket( e = SocketTimeoutException( "sent ping but didn't receive pong within " + "${pingIntervalMillis}ms (after ${failedPing - 1} successful ping/pongs)", ), isWriter = true, ) return } try { writer.writePing(ByteString.EMPTY) } catch (e: IOException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
java.util.concurrent.TimeUnit.MILLISECONDS); log.info("Key rotation configured with interval: {} ms", intervalMillis); } } /** * Rotate a specific session key * * @param sessionId the session ID * @return the new key version number
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
docs/pt/docs/advanced/settings.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Wed Jan 15 20:17:23 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* @since 2.2 */ int getLeaseVersion(); /** * Property {@code jcifs.smb.client.leaseBreakTimeout} (int, default 60) * * @return lease break timeout in seconds (per MS-SMB2 spec) * @since 2.2 */ int getLeaseBreakTimeout(); /** * * * Property {@code jcifs.netbios.lmhosts} (string) * * @return lmhosts file to use
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
((SmbComTransactionResponse) resp).nextElement(); } } /* Verification fails (w/ W2K3 server at least) if status is not 0. This * suggests MS doesn't compute the signature (correctly) for error responses * (perhaps for DOS reasons). */ if (digest != null && resp.errorCode == 0) { digest.verify(BUF, 4, resp);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0)