Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for Duplicates (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. internal/hash/checksum.go

    		var res *Checksum
    		for _, header := range trailing {
    			var duplicates bool
    			for _, t := range BaseChecksumTypes {
    				if strings.EqualFold(t.Key(), header) {
    					duplicates = res != nil
    					res = NewChecksumWithType(t|ChecksumTrailing, "")
    				}
    			}
    			if duplicates {
    				return nil, ErrInvalidChecksum
    			}
    		}
    		if res != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

         * q-quantile.
         *
         * @param indexes the quantile indexes, each of which must be in the inclusive range [0, q] for
         *     q-quantiles; the order of the indexes is unimportant, duplicates will be ignored, and the
         *     set will be snapshotted when this method is called
         * @throws IllegalArgumentException if {@code indexes} is empty
         */
        public ScaleAndIndexes indexes(int... indexes) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        }
      }
    
      // TODO: test adding element of wrong type
    
      /**
       * Returns {@link Method} instances for the {@code setCount()} tests that assume multisets support
       * duplicates so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getSetCountDuplicateInitializingMethods() {
        return asList(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java

        public void test_duplicateUrlsInSitemap() {
            // Test handling of duplicate URLs in sitemap
            ResponseData responseData = new ResponseData();
            byte[] content = "<sitemap></sitemap>".getBytes();
            responseData.setResponseBody(content);
    
            SitemapUrl sitemap1 = new SitemapUrl();
            sitemap1.setLoc("https://example.com/duplicate");
    
            SitemapUrl sitemap2 = new SitemapUrl();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * elements.
     *
     * <p>The collections created by {@link #createCollection()} may or may not allow duplicates. If the
     * collection, such as a {@link Set}, does not support duplicates, an added key-value pair will
     * replace an existing pair with the same key and value, if such a pair is present. With collections
     * like {@link List} that allow duplicates, the collection will keep the existing key-value pairs
     * while adding a new pair.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  10. cmd/postpolicyform_test.go

    			success: false,
    		},
    		// no duplicates, shall be parsed properly.
    		{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top