- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 77 for newSet (0.03 sec)
-
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
// Create new lease Smb2LeaseKey newKey = new Smb2LeaseKey(); LeaseEntry newEntry = new LeaseEntry(newKey, path, requestedState); leases.put(newKey, newEntry); pathToLease.put(path, newKey); log.debug("Created new lease for path: {} with key: {}", path, newKey); return newKey; } finally { lock.writeLock().unlock();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
assertTrue(keyManager.hasSessionKey(sessionId + ".v0"), "Archived key should exist"); // New key should be different byte[] newKey = keyManager.getRawKey(sessionId); assertNotNull(newKey, "New key should exist"); assertFalse(Arrays.equals(testKey, newKey), "New key should be different from old key"); } @Test public void testMultipleKeyRotations() throws GeneralSecurityException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt
init { val newAuthParams = mutableMapOf<String?, String>() for ((key, value) in authParams) { val newKey = key?.lowercase(US) newAuthParams[newKey] = value } this.authParams = newAuthParams.unmodifiable() } /** Returns a copy of this charset that expects a credential encoded with [charset]. */Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 15:01:35 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
byte[] decrypted1 = context.decryptMessage(encrypted1); assertArrayEquals(plaintext1, decrypted1); // When - Rotate keys byte[] newKey = new byte[16]; new SecureRandom().nextBytes(newKey); context.rotateKeys(newKey, newKey); // Use same key for test // Then - Can encrypt/decrypt with new keys byte[] plaintext2 = "After key rotation".getBytes();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
* the position of the new key if it was previously present. */ private void replaceKeyInEntry(int entry, @ParametricNullness K newKey, boolean force) { checkArgument(entry != ABSENT); int newKeyHash = Hashing.smearedHash(newKey); int newKeyIndex = findEntryByKey(newKey, newKeyHash); int newPredecessor = lastInInsertionOrder; int newSuccessor = ENDPOINT; if (newKeyIndex != ABSENT) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 14:46:34 UTC 2025 - 37.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
int newNext = getNext(entry, mask); if (lastEntryIndex == -1) { // we need to update the root link from table[] tableSet(table, tableIndex, newNext); } else { // we need to update the link from the chain entries[lastEntryIndex] = maskCombine(entries[lastEntryIndex], newNext, mask); } return entryIndex;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
} // Create new lease Smb2LeaseKey newKey = new Smb2LeaseKey(); LeaseEntry newEntry = new LeaseEntry(newKey, path, requestedState); leases.put(newKey, newEntry); pathToLease.put(path, newKey); return newKey; } finally { lock.writeLock().unlock(); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
return (int) entry; } /** Returns a new entry value by changing the "next" index of an existing entry */ private static long swapNext(long entry, int newNext) { return (HASH_MASK & entry) | (NEXT_MASK & newNext); } void ensureCapacity(int minCapacity) { if (minCapacity > entries.length) { resizeEntries(minCapacity); } if (minCapacity >= threshold) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 14.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingConcurrentMap.java
* default} methods. Specifically, it forwards calls only for methods that existed <a * href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentMap.html">before * {@code default} methods were introduced</a>. For newer methods, like {@code forEach}, it inherits * their default implementations. When those implementations invoke methods, they invoke methods on * the {@code ForwardingConcurrentMap}. * * @author Charles Fry * @since 2.0
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 16:58:16 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingListIterator.java
* default} methods. Specifically, it forwards calls only for methods that existed <a * href="https://docs.oracle.com/javase/7/docs/api/java/util/ListIterator.html">before {@code * default} methods were introduced</a>. For newer methods, like {@code forEachRemaining}, it * inherits their default implementations. When those implementations invoke methods, they invoke * methods on the {@code ForwardingListIterator}. * * @author Mike Bostock
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.5K bytes - Viewed (0)