- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for duplicates (0.05 sec)
-
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.6K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-data-types.md
* `frozenset`: * In requests and responses, treated the same as a `set`: * In requests, a list will be read, eliminating duplicates and converting it to a `set`. * In responses, the `set` will be converted to a `list`. * The generated schema will specify that the `set` values are unique (using JSON Schema's `uniqueItems`). * `bytes`:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.7K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
Then we can declare `tags` as a set of strings: {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *} With this, even if you receive a request with duplicate data, it will be converted to a set of unique items. And whenever you output that data, even if the source had duplicates, it will be output as a set of unique items. And it will be annotated / documented accordingly too. ## Nested Models { #nested-models }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java
Map<String, String> queryMap = facetQueryView.getQueryMap(); // Should not duplicate existing pdf query assertEquals("filetype:pdf", queryMap.get("existing_pdf")); // Should add doc since it's not present assertEquals("filetype:doc", queryMap.get("DOC")); // Check no duplicate queries added to FacetInfo List<String> addedQueries = testFacetInfo.getAddedQueries();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
cmd/postpolicyform_test.go
success: false, }, // no duplicates, shall be parsed properly. {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
assertNotNull(invalidKeywords); assertEquals(0, invalidKeywords.size()); } @Test public void testGetKeywordsWithDuplicates() { // Test that duplicates are removed String query = "test test query"; String[] fields = { "content" }; List<String> keywords = SuggestUtil.getKeywords(query, fields); assertNotNull(keywords);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
SuggestItem.Kind[] result = SuggestItem.concatKinds(kinds1, kinds2); assertNotNull(result); assertEquals(2, result.length); // Should not have duplicates assertTrue(Arrays.asList(result).contains(SuggestItem.Kind.QUERY)); assertTrue(Arrays.asList(result).contains(SuggestItem.Kind.DOCUMENT)); } @Test public void testEmptySource() {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
cmd/handler-utils.go
if v == nil { bugLogIf(ctx, errInvalidArgument) return errInvalidArgument } nv := make(textproto.MIMEHeader, len(v)) for k, kv := range v { // Canonicalize all headers, to remove any duplicates. nv[http.CanonicalHeaderKey(k)] = kv } // Save all supported headers. for _, supportedHeader := range supportedHeaders { value, ok := nv[http.CanonicalHeaderKey(supportedHeader)] if ok {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.3K bytes - Viewed (1) -
cmd/xl-storage-format-v2.go
break } } if requestedVersions > 0 && requestedVersions == nVersions { merged = append(merged, versions[0]...) break } } // Sanity check. Enable if duplicates show up. if false { found := make(map[[16]byte]struct{}) for _, ver := range merged { if _, ok := found[ver.header.VersionID]; ok { panic("found dupe") }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 65.6K bytes - Viewed (1) -
cmd/iam.go
for _, user := range q.Users { lookupRes, actualGroups, _ := sys.LDAPConfig.GetValidatedDNWithGroups(user) if lookupRes != nil { groupSet := set.CreateStringSet(actualGroups...) // duplicates can be overwritten, fetched groups should be identical. cleanQ.Users[lookupRes.NormDN] = groupSet } // Search for non-normalized DN as well for backward compatibility. if _, ok := cleanQ.Users[user]; !ok {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0)