Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for newSet (0.15 sec)

  1. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

                    (byte) 0xF8, (byte) 0xF7, (byte) 0xF6, (byte) 0xF5, (byte) 0xF4, (byte) 0xF3, (byte) 0xF2, (byte) 0xF1, (byte) 0xF0 };
            Smb2LeaseKey newKey = new Smb2LeaseKey(newKeyBytes);
    
            leaseContext.setLeaseKey(newKey);
            assertEquals(newKey, leaseContext.getLeaseKey());
        }
    
        @Test
        @DisplayName("Should set and get lease state")
        void testLeaseStateAccessors() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

              StrongKeyStrongValueSegment<K, V> segment,
              StrongKeyStrongValueEntry<K, V> entry,
              @Nullable StrongKeyStrongValueEntry<K, V> newNext) {
            StrongKeyStrongValueEntry<K, V> newEntry =
                newEntry(segment, entry.key, entry.hash, newNext);
            newEntry.value = entry.value;
            return newEntry;
          }
    
          @Override
          public void setValue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

                    // Try to add new param
                    paramMap.put("newKey", "newValue");
                    return paramMap.size();
                }
            });
    
            // Execute first time
            Object result1 = scriptExecutor.execute("modifyEngine", "script1");
            assertEquals(2, result1); // executor + newKey
    
            // Execute second time - params should be fresh
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. docs/pl/docs/help-fastapi.md

    Na GitHubie szablon poprowadzi Cię do napisania odpowiedniego pytania, dzięki czemu łatwiej uzyskasz dobrą odpowiedź, a nawet rozwiążesz problem samodzielnie, zanim zapytasz. Ponadto na GitHubie mogę się upewnić, że zawsze odpowiadam na wszystko, nawet jeśli zajmuje to trochę czasu. Osobiście nie mogę tego zrobić z systemami czatu. 😅
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SecureKeyManager.java

                int newVersion = currentVersion + 1;
    
                // Derive new key from current key
                String rotationLabel = String.format("KeyRotation-v%d", newVersion);
                byte[] newKey = deriveKey(currentKey, rotationLabel, String.valueOf(System.currentTimeMillis()).getBytes(), currentKey.length);
    
                // Archive old key (keep last version for rollback)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top