- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for mutation (1.92 sec)
-
src/test/java/jcifs/spnego/SpnegoTokenTest.java
// Document current behavior: no defensive copy (reference exposed) data[0] = 9; assertEquals(9, t.getMechanismToken()[0], "no defensive copy; reflects external mutation"); } @Test @DisplayName("Setter and getter for mechanismListMIC work") void setGetMechanismListMIC() { TestSpnegoToken t = new TestSpnegoToken();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
data[0] = 99; assertFalse(original.equals(copy), "After mutation, original should not equal previous clone"); // Ensure arrays are independent: mutate clone's buffer via getter copy.get()[1] = 77; assertNotEquals(original.toString(), copy.toString(), "Mutating clone should not affect original"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
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/internal/smb2/lock/Smb2LeaseBreakResponse.java
* Gets the lease flags from the break response * @return the lease flags */ public int getLeaseFlags() { return flags; } /** * Gets the lease duration from the break response * @return the lease duration */ public long getLeaseDuration() { return leaseDuration; } @Override protected int writeBytesWireFormat(byte[] dst, int dstIndex) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapVideo.java
} /** * Gets the duration of the video in seconds. * @return the duration */ public String getDuration() { return duration; } /** * Sets the duration of the video in seconds. * @param duration the duration to set */ public void setDuration(final String duration) { this.duration = duration; } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:34:36 UTC 2025 - 8.9K 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/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
long startTime = System.nanoTime(); int bytesRead = rdmaConnection.read(buffer, remoteAddress, remoteKey, length); long duration = System.nanoTime() - startTime; statistics.recordReadSuccess(bytesRead, duration); return bytesRead; } catch (IOException e) { statistics.recordReadError(); throw e; } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.9K bytes - Viewed (0)