- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 74 for newSet (0.13 seconds)
-
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
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 25.6K bytes - Click Count (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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 15.7K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
* newest entry exceeds the maximum weight all on its own. * * @param newest the most recently added entry */ @GuardedBy("this") void evictEntries(ReferenceEntry<K, V> newest) { if (!map.evictsBySize()) { return; } drainRecencyQueue();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 19:35:11 GMT 2025 - 148.9K bytes - Click Count (0) -
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(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 89.9K bytes - Click Count (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 {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (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();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 15.7K bytes - Click Count (0) -
internal/logger/target/http/http.go
// which are used to migrate log entries between old and new targets. func CreateOrAdjustGlobalBuffer(currentTgt *Target, newTgt *Target) { logChLock.Lock() defer logChLock.Unlock() requiredCap := currentTgt.config.QueueSize + (currentTgt.config.BatchSize * int(currentTgt.maxWorkers)) currentCap := 0 name := newTgt.Name() currentBuff, ok := logChBuffers[name] if !ok { logChBuffers[name] = make(chan any, requiredCap)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
docs/debugging/inspect/export.go
} return versions, buf, nil } // decodeVersions will decode a number of versions from a buffer // and perform a callback for each version in order, newest first. // Any non-nil error is returned. func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (e error) { var tHdr, tMeta []byte // Zero copy bytes for i := 0; i < versions; i++ {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (1) -
internal/logger/targets.go
currentTgt, ok := oldTargets[i].(*http.Target) if !ok { continue } var newTgt *http.Target for ii := range tgts { if currentTgt.Name() == tgts[ii].Name() { newTgt = tgts[ii] currentTgt.AssignMigrateTarget(newTgt) http.CreateOrAdjustGlobalBuffer(currentTgt, newTgt) break } } } for _, t := range tgts { err := t.Init(ctx) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6K bytes - Click Count (0)