- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for duplicateIds (0.09 sec)
-
tests/test_dependency_duplicates.py
): return [item, sub_item] @app.post("/with-duplicates") async def with_duplicates(item: Item, item2: Item = Depends(duplicate_dependency)): return [item, item2] @app.post("/no-duplicates") async def no_duplicates(item: Item, item2: Item = Depends(dependency)): return [item, item2] @app.post("/with-duplicates-sub") async def no_duplicates_sub(Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java
return false; // This is the first occurrence } }) .toList(); // Remove duplicates while preserving formatting duplicates.forEach(DomUtils::removeElement); return !duplicates.isEmpty(); } private String createDependencyKey(Element dependency) { String groupId = dependency.childText(MavenPomElements.Elements.GROUP_ID);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 22.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
} /** * Gets the maximum number of duplicated paths to attempt. * * @return the maximum duplicated path count */ public int getMaxDuplicatedPath() { return maxDuplicatedPath; } /** * Sets the maximum number of duplicated paths to attempt. * * @param maxDuplicatedPath the maximum duplicated path count to set */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
} @Override public Set<E> create(Object... elements) { Object[] duplicated = new Object[elements.length * 2]; for (int i = 0; i < elements.length; i++) { duplicated[i] = elements[i]; duplicated[i + elements.length] = elements[i]; } return ((Multiset<E>) gen.create(duplicated)).elementSet(); } @Override public E[] createArray(int length) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
} @Override public Set<E> create(Object... elements) { Object[] duplicated = new Object[elements.length * 2]; for (int i = 0; i < elements.length; i++) { duplicated[i] = elements[i]; duplicated[i + elements.length] = elements[i]; } return ((Multiset<E>) gen.create(duplicated)).elementSet(); } @Override public E[] createArray(int length) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
@SuppressWarnings("unchecked") E[] array = (E[]) elements.toArray(); /* * For a Set, we guess that it contains no duplicates. That's just a guess for purpose of * sizing; if the Set uses different equality semantics, it might contain duplicates according * to equals(), and we will deduplicate those properly, albeit at some cost in allocations. */ int expectedSize =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
} } @Override public List<String> convert(final String text, final String field, final String... lang) throws IOException { // Use LinkedHashSet to maintain insertion order while eliminating duplicates final Set<String> resultSet = new LinkedHashSet<>(); resultSet.add(text); // Start with the original text as the first input List<String> currentInputs = new ArrayList<>();Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:28:21 UTC 2025 - 3.3K bytes - Viewed (1) -
impl/maven-core/src/test/java/org/apache/maven/graph/DefaultProjectDependencyGraphTest.java
assertEquals(cProject, sortedProjects.get(1)); assertTrue(graph.getDownstreamProjects(aProject, false).contains(cProject)); } // Test verifying that getDownstreamProjects does not contain duplicates. // This is a regression test for https://github.com/apache/maven/issues/2487. // // The graph is: // aProject -> bProject // | -> dProject // | -> eProject
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 10.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java
assertEquals("https://example.com/sitemap2.xml", sitemaps[1]); } public void test_addSitemapNoDuplicates() { // Test that addSitemap doesn't add duplicates RobotsTxt robotsTxt = new RobotsTxt(); robotsTxt.addSitemap("https://example.com/sitemap.xml"); robotsTxt.addSitemap("https://example.com/sitemap.xml");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java
assertEquals( "multiset.count(wrongType) didn't return 0", 0, getMultiset().count(WrongType.VALUE)); } /** * Returns {@link Method} instances for the read tests that assume multisets support duplicates so * that the test of {@code Multisets.forSet()} can suppress them. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getCountDuplicateInitializingMethods() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.6K bytes - Viewed (0)