- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 115 for duplicateIds (0.8 sec)
-
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) -
android/guava/src/com/google/common/collect/AbstractListMultimap.java
return wrapList(key, (List<V>) collection, null); } // Following Javadoc copied from ListMultimap. /** * {@inheritDoc} * * <p>Because the values for a given key may have duplicates and follow the insertion ordering, * this method returns a {@link List}, instead of the {@link Collection} specified in the {@link * Multimap} interface. */ @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 4.6K 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) -
errors.go
ErrPreloadNotAllowed = errors.New("preload is not allowed when count is used") // ErrDuplicatedKey occurs when there is a unique key constraint violation ErrDuplicatedKey = errors.New("duplicated key not allowed") // ErrForeignKeyViolated occurs when there is a foreign key constraint violation ErrForeignKeyViolated = errors.New("violates foreign key constraint")
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Apr 26 02:53:17 UTC 2024 - 2.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java
* we are trying to build. we assume a closed set.</li> * <li>do a topo sort on the graph that remains.</li> * </ul> * @throws DuplicateProjectException if any projects are duplicated by id */ // MAVENAPI FIXME: the DAG used is NOT only used to represent the dependency relation, // but also for <parent>, <build><plugin>, <reports>. We need multiple DAG'sRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.3K bytes - Viewed (0) -
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) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 6.6K 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)