Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 136 for duplicateIds (0.06 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

       */
    
      /*
       * These generators also rely on consecutive integer inputs (not necessarily in order, but no
       * holes).
       */
    
      // SetCreationTester has some tests that pass in duplicates. Dedup them.
      private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) {
        SortedSet<E> set = newTreeSet();
        for (E element : elements) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

            if (!(parser.getName().equals(tagName) || parser.getName().equals(alias))) {
                return false;
            }
            if (!parsed.add(tagName)) {
                throw new XmlPullParserException("Duplicated tag: '" + tagName + "'", parser, null);
            }
            return true;
        } // -- boolean checkFieldWithDuplicate( XmlPullParser, String, String, java.util.Set )
    
        /**
         * Method checkUnknownAttribute.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Map<Integer, String> expected = new LinkedHashMap<>();
        for (int i = 0; i < 1000; i++) {
          // Truncate to even key, so we have put(0, "0") then put(0, "1"). Half the entries are
          // duplicates.
          Integer key = i & ~1;
          String value = String.valueOf(i);
          builder.put(key, value);
          expected.put(key, value);
        }
        ImmutableMap<Integer, String> map = builder.buildKeepingLast();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  4. callbacks.go

    		// show warning message the callback name already exists
    		if idx := getRIndex(names, c.name); idx > -1 && !c.replace && !c.remove && !cs[idx].remove {
    			c.processor.db.Logger.Warn(context.Background(), "duplicated callback `%s` from %s\n", c.name, utils.FileWithLineNum())
    		}
    		names = append(names, c.name)
    	}
    
    	sortCallback = func(c *callback) error {
    		if c.before != "" { // if defined before callback
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Aug 26 06:24:29 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            }
            if (elements.length > 0) {
              multiset1.add(elements[0]);
            }
            if (elements.length > 1) {
              /*
               * When a test requests a multiset with duplicates, our plan of
               * "add an extra item 0 to A and an extra item 1 to B" really means
               * "add an extra item 0 to A and B," which isn't what we want.
               */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  6. 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.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableList.java

       * order. The sorting algorithm used is stable, so elements that compare as equal will stay in the
       * order in which they appear in the input.
       *
       * <p>If your data has no duplicates, or you wish to deduplicate elements, use {@code
       * ImmutableSortedSet.copyOf(elements)}; if you want a {@code List} you can use its {@code
       * asList()} view.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/LinkedListMultimap.java

      }
    
      /**
       * {@inheritDoc}
       *
       * <p>The iterator generated by the returned collection traverses the values in the order they
       * were added to the multimap. Because the values may have duplicates and follow the insertion
       * ordering, this method returns a {@link List}, instead of the {@link Collection} specified in
       * the {@link ListMultimap} interface.
       */
      @Override
      public List<V> values() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            assertTrue(data.getChildUrlSet().contains(child2));
        }
    
        public void test_childUrlSetNoDuplicates() {
            // Test that child URL set does not allow duplicates
            ResponseData data = new ResponseData();
    
            RequestData child = new RequestData();
            child.setMethod(Method.GET);
            child.setUrl("https://example.com/page1");
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                lifecycle.allPhases().forEach(phase -> {
                    if (!set.add(phase.name())) {
                        throw new IllegalArgumentException(
                                "Found duplicated phase '" + phase.name() + "' in '" + lifecycle.id() + "' lifecycle");
                    }
                });
            }
        }
    
        @Override
        public Iterator<Lifecycle> iterator() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
Back to Top