- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 477 for duplicate (0.23 seconds)
-
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
valuesBuilder.add(requireNonNull(stream.readObject())); } ImmutableSet<Object> valueSet = valuesBuilder.build(); if (valueSet.size() != valueCount) { throw new InvalidObjectException("Duplicate key-value pairs exist for key " + key); } builder.put(key, valueSet); tmpSize += valueCount; } ImmutableMap<Object, ImmutableSet<Object>> tmpMap; try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* * @param services The services to manage * @throws IllegalArgumentException if not all services are {@linkplain State#NEW new} or if there * are any duplicate services. */ public ServiceManager(Iterable<? extends Service> services) { ImmutableList<Service> copy = ImmutableList.copyOf(services); if (copy.isEmpty()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 33.2K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
public <T> ClassSanityTester setDistinctValues(Class<T> type, T value1, T value2) { checkNotNull(type); checkNotNull(value1); checkNotNull(value2); checkArgument(!Objects.equals(value1, value2), "Duplicate value provided."); distinctValues.replaceValues(type, ImmutableList.of(value1, value2)); setDefault(type, value1); return this; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
cmd/metacache-entries.go
if best.name > last { select { case <-ctxDone: return ctx.Err() case out <- *best: last = best.name } } else if serverDebugLog { console.Debugln("mergeEntryChannels: discarding duplicate", best.name, "<=", last) } // Replace entry we just sent. if err := selectFrom(bestIdx); err != nil { return err } } } // merge will merge other into m.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 24.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertThat(stats.missCount()).isEqualTo(4); assertThat(stats.loadSuccessCount()).isEqualTo(4); assertThat(stats.loadExceptionCount()).isEqualTo(0); assertThat(stats.hitCount()).isEqualTo(3); // duplicate keys are ignored, and don't impact stats assertThat(cache.getAll(asList(4, 5))).containsExactly(4, 4, 5, 5); stats = cache.stats(); assertThat(stats.missCount()).isEqualTo(5);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental.h
// APIs for Counter without label. typedef struct TFE_MonitoringCounter0 TFE_MonitoringCounter0; // Returns a new Counter metric object. The caller should manage lifetime of // the object. Using duplicate metric name will crash the program with fatal // error. TF_CAPI_EXPORT extern TFE_MonitoringCounter0* TFE_MonitoringNewCounter0( const char* name, TF_Status* status, const char* description); // Deletes the Counter object.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/util/QueryResponseListTest.java
Map<String, Object> doc2 = new HashMap<>(); doc2.put("title", "Doc2"); documentList.add(doc1); documentList.add(doc2); documentList.add(doc1); // duplicate QueryResponseList qrList = new QueryResponseList(documentList, 0, 10, 0); assertEquals(0, qrList.indexOf(doc1)); assertEquals(1, qrList.indexOf(doc2));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 40.1K bytes - Click Count (0) -
docs/tr/docs/tutorial/body-nested-models.md
O zaman `tags`’i string’lerden oluşan bir set olarak tanımlayabiliriz: {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *} Böylece duplicate veri içeren bir request alsanız bile, bu veri benzersiz öğelerden oluşan bir set’e dönüştürülür. Ve bu veriyi ne zaman output etseniz, kaynakta duplicate olsa bile, benzersiz öğelerden oluşan bir set olarak output edilir. Ayrıca buna göre annotate / dokümante edilir.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 7.5K bytes - Click Count (0) -
cmd/api-response.go
} // Metadata metadata items implemented to ensure XML marshaling works. type Metadata struct { Items []struct { Key string Value string } } // Set add items, duplicate items get replaced. func (s *Metadata) Set(k, v string) { for i, item := range s.Items { if item.Key == k { s.Items[i] = struct { Key string Value string }{ Key: k,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 35K bytes - Click Count (0) -
tests/test_additional_responses_union_duplicate_anyof.py
""" Regression test: Ensure app-level responses with Union models and content/examples don't accumulate duplicate $ref entries in anyOf arrays. See https://github.com/fastapi/fastapi/pull/14463 """ from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel class ModelA(BaseModel): a: str class ModelB(BaseModel): b: str
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 4.3K bytes - Click Count (0)