- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for mutation (1.7 sec)
-
src/main/java/jcifs/util/SecureKeyManager.java
Thread t = new Thread(r, "SecureKeyManager-Rotation"); t.setDaemon(true); return t; }); private java.util.concurrent.ScheduledFuture<?> rotationTask; /** * Configure key rotation interval * * @param intervalMillis rotation interval in milliseconds */ public void configureKeyRotation(long intervalMillis) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertNotNull(encrypted2); // Verify rotation occurred by checking metrics assertTrue(context.getKeyRotationCount() > 0, "Key rotation should have occurred"); // Can still encrypt after rotation byte[] plaintext3 = "Message after rotation".getBytes(); byte[] encrypted3 = assertDoesNotThrow(() -> context.encryptMessage(plaintext3, 3L));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
// Store session key and preauth hash for key rotation private byte[] sessionKey; private byte[] preauthIntegrityHash; private int rotationCount = 0; // Key rotation tracking - use atomic for lock-free operations private final AtomicLong bytesEncrypted = new AtomicLong(0); private long encryptionStartTime = System.currentTimeMillis(); // Configurable key rotation limits with defaultsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
* @param maxGlobalAttemptsPerMinute max global attempts per minute * @param lockoutDuration duration to lock out account/IP * @param cleanupInterval interval for cleaning up old entries */ public AuthenticationRateLimiter(int maxAttemptsPerAccount, int maxAttemptsPerIp, int maxGlobalAttemptsPerMinute, Duration lockoutDuration, Duration cleanupInterval) { this.maxAttemptsPerAccount = maxAttemptsPerAccount;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
*/ public void recordRdmaSend(int bytes, long durationNanos) { rdmaSends.incrementAndGet(); bytesTransferred.addAndGet(bytes); totalSendTime.addAndGet(durationNanos); } /** * Record an RDMA receive operation * * @param bytes number of bytes received * @param durationNanos operation duration in nanoseconds */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
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 ); } @AfterEach public void tearDown() { if (rateLimiter != null) { rateLimiter.close(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java
/** Cache duration in minutes for XPathAPI instances. */ protected long cacheDuration = 10; // min /** * Creates a new HtmlXpathExtractor instance. */ public HtmlXpathExtractor() { super(); } /** * Initializes the XPathAPI cache with a specified cache duration. * This method is called to set up the cache for XPathAPI instances.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Oct 04 08:47:19 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
* This thread sleeps for the specified timeout duration and terminates the process if it hasn't finished. */ protected static class MonitorThread extends Thread { /** The process to monitor. */ private final Process process; /** The timeout duration in milliseconds. */ private final long timeout;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
}); } long endTime = System.currentTimeMillis(); long duration = endTime - startTime; // Then - should complete quickly (this is more of a performance indicator) assertTrue(duration < 1000, "Creating and using 10000 EmptyIterators should be fast (took " + duration + "ms)"); } @Test @DisplayName("EmptyIterator should work correctly in nested iteration")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
* * @return throughput in bps */ public long getThroughput() { long duration = System.currentTimeMillis() - establishedTime; if (duration == 0) return 0; return (bytesSent.get() + bytesReceived.get()) * 1000 / duration; } /** * Get number of pending operations * * @return number of pending operations */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0)