Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for newSet (0.04 sec)

  1. guava/src/com/google/common/eventbus/SubscriberRegistry.java

          if (eventSubscribers == null) {
            CopyOnWriteArraySet<Subscriber> newSet = new CopyOnWriteArraySet<>();
            eventSubscribers =
                MoreObjects.firstNonNull(subscribers.putIfAbsent(eventType, newSet), newSet);
          }
    
          eventSubscribers.addAll(eventMethodsInListener);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(request.header("d")).isEqualTo("f")
        val requestHeaders = request.headers
        assertThat(LinkedHashSet(requestHeaders.values("D"))).isEqualTo(newSet("e", "f"))
        assertThat(LinkedHashSet(requestHeaders.values("d"))).isEqualTo(newSet("e", "f"))
        val response = getResponse(request)
        response.close()
        val recordedRequest = server.takeRequest()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/org/codelibs/fess/util/DocMapTest.java

            DocMap docMap = new DocMap(parentMap);
    
            assertNull(docMap.put("newKey", "newValue"));
            assertEquals("newValue", docMap.get("newKey"));
    
            assertEquals("newValue", docMap.put("newKey", "updatedValue"));
            assertEquals("updatedValue", docMap.get("newKey"));
    
            assertNull(docMap.get("nonexistent"));
        }
    
        public void test_remove() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. 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)
  6. cmd/object-api-listobjects_test.go

    			Objects: []ObjectInfo{
    				{Name: "newPrefix1"},
    				{Name: "newzen/zen/recurse/again/again/again/pics"},
    				{Name: "obj0"},
    				{Name: "obj1"},
    				{Name: "obj2"},
    			},
    		},
    		// ListObjectsResult-10.
    		// marker is set to "newPrefix1" in the testCase, (testCase 34).
    		10: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "newzen/zen/recurse/again/again/again/pics"},
    				{Name: "obj0"},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. cmd/encryption-v1.go

    		}
    		newKey, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{
    			Name:           newKeyID,
    			AssociatedData: kmsCtx,
    		})
    		if err != nil {
    			return err
    		}
    
    		sealedKey := objectKey.Seal(newKey.Plaintext, crypto.GenerateIV(rand.Reader), crypto.S3KMS.String(), bucket, object)
    		crypto.S3KMS.CreateMetadata(metadata, newKey.KeyID, newKey.Ciphertext, sealedKey, cryptoCtx)
    		return nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
Back to top