- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 648 for addIds (0.05 sec)
-
tests/lru_test.go
} } func TestLRU_Add_NewKey_AddsEntry(t *testing.T) { lru := lru.NewLRU[string, int](10, nil, time.Hour) lru.Add("key1", 1) if value, ok := lru.Get("key1"); !ok || value != 1 { t.Errorf("Expected key1 to be added with value 1, got %v", value) } } func TestLRU_Add_ExceedsSize_RemovesOldest(t *testing.T) { lru := lru.NewLRU[string, int](2, nil, time.Hour) lru.Add("key1", 1) lru.Add("key2", 2) lru.Add("key3", 3)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
} else { prevInInsertionOrder[next] = prev; } } /** * Updates the K-to-V hash table to include the entry at the specified index, which is assumed to * have not yet been added. */ private void insertIntoTableKToV(int entry, int keyHash) { checkArgument(entry != ABSENT); int keyBucket = bucket(keyHash); nextInBucketKToV[entry] = hashTableKToV[keyBucket];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
cmd/common-main.go
if net.ParseIP(endpoint) == nil { // Checking if the IP is a DNS entry. addrs, err := globalDNSCache.LookupHost(GlobalContext, endpoint) if err != nil { logger.FatalIf(err, "Unable to initialize MinIO server with [%s] invalid entry found in MINIO_PUBLIC_IPS", endpoint) } for _, addr := range addrs { domainIPs.Add(addr) } } domainIPs.Add(endpoint) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (3) -
src/test/java/jcifs/http/NtlmServletTest.java
* @throws ServletException */ @Test void testInit() throws ServletException { assertDoesNotThrow(() -> ntlmServlet.init(servletConfig)); // Further assertions can be added here to check the internal state of the servlet if fields were protected/public } /** * Test the init method when CIFSException occurs.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
resp.setContentLength(0); resp.flushBuffer(); return null; } } return ntlm; } // Added by cgross to work with weblogic 6.1. /** * Sets the filter configuration for WebLogic 6.1 compatibility. * * @param f the filter configuration to set */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java
// Search Execute // /** * Performs bulk document operations (index multiple documents). * Validates document fields and adds default values where necessary. * * @param body the bulk request body containing documents to process * @return JSON response with bulk operation results */ // PUT /api/admin/documents/bulk
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java
*/ public SearchResultBuilder partialResults(final boolean partialResults) { this.partialResults = partialResults; return this; } /** * Adds a document to the search result. * * @param doc The document to add to the result list * @return This builder instance for method chaining */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.8K bytes - Viewed (0) -
cmd/event-notification.go
return err } evnot.targetList = evnot.targetList.Init(runtime.GOMAXPROCS(0)) // TODO: make this configurable (y4m4) return nil } // AddRulesMap - adds rules map for bucket name. func (evnot *EventNotifier) AddRulesMap(bucketName string, rulesMap event.RulesMap) { evnot.Lock() defer evnot.Unlock() rulesMap = rulesMap.Clone()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
* negative */ int count(@CompatibleWith("E") @Nullable Object element); // Bulk Operations /** * Adds a number of occurrences of an element to this multiset. Note that if {@code occurrences == * 1}, this method has the identical effect to {@link #add(Object)}. This method is functionally
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 19.5K bytes - Viewed (0)