- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for newSet (0.03 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
assertEquals(2, crawlerContext.getRobotsTxtUrlSet().size()); // Set new set Set<String> newSet = new HashSet<>(); newSet.add("http://new.com/robots.txt"); crawlerContext.setRobotsTxtUrlSet(newSet); assertSame(newSet, crawlerContext.getRobotsTxtUrlSet()); assertEquals(1, crawlerContext.getRobotsTxtUrlSet().size()); // Set null
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
android/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 Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertThat(cache.asMap().put(newKey, entry.getValue())).isNull(); // this getUnchecked() call shouldn't be a cache miss; verified below assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(newValue); assertThat(cache.getUnchecked(newKey)).isEqualTo(entry.getValue()); // don't let the new entry get GCed
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertThat(cache.asMap().put(newKey, entry.getValue())).isNull(); // this getUnchecked() call shouldn't be a cache miss; verified below assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(newValue); assertThat(cache.getUnchecked(newKey)).isEqualTo(entry.getValue()); // don't let the new entry get GCed
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
// [x509_extensions] // subjectAltName=DNS:localhost.localdomain,DNS:localhost,IP:127.0.0.1 // // $ openssl req -x509 -nodes -days 36500 -subj '/CN=localhost' -config ./cert.cnf \ // -newkey rsa:512 -out cert.pem val certificate = certificate( """ -----BEGIN CERTIFICATE----- MIIBWDCCAQKgAwIBAgIJANS1EtICX2AZMA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNVRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 40.4K bytes - Viewed (0) -
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) -
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) -
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)