Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 94 for newSet (0.03 sec)

  1. 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)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java

         * artifact, closer to the entry point, is selected
         */
        @Configuration(name = "closer-first", value = "true")
        private boolean closerFirst = true;
    
        /**
         * newer artifact is selected
         */
        @Configuration(name = "newer-first", value = "true")
        private boolean newerFirst = true;
    
        @Override
        public MetadataGraphEdge apply(MetadataGraphEdge e1, MetadataGraphEdge e2) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 15:01:35 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. internal/lru/lru.go

    	}
    }
    
    // deleteExpired deletes expired records from the oldest bucket, waiting for the newest entry
    // in it to expire first.
    func (c *LRU[K, V]) deleteExpired() {
    	c.mu.Lock()
    	bucketIdx := c.nextCleanupBucket
    	timeToExpire := time.Until(c.buckets[bucketIdx].newestEntry)
    	// wait for newest entry to expire before cleanup without holding lock
    	if timeToExpire > 0 {
    		c.mu.Unlock()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java

    @Deprecated
    class NewestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        NewestConflictResolverTest() throws Exception {
            super("newest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top