Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 175 for duplicate_ (0.21 sec)

  1. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      SUPPORTS_REMOVE,
      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
      /**
       * Indicates that the constructor or factory method of a map, usually an immutable map, throws an
       * {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all
       * but one.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
      GENERAL_PURPOSE(SUPPORTS_PUT, SUPPORTS_REMOVE);
    
      private final Set<Feature<? super Map>> implied;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

            return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator();
          }
        }.test();
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume multisets support duplicates so that
       * the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getIteratorDuplicateInitializingMethods() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.Objects;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@code Multimap} that does not allow duplicate key-value entries and that
     * returns collections whose iterators follow the ordering in which the data was added to the
     * multimap.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        testers.add(SetHashCodeTester.class);
        testers.add(SetEqualsTester.class);
        testers.add(SetRemoveTester.class);
        // SetRemoveAllTester doesn't exist because, Sets not permitting
        // duplicate elements, there are no tests for Set.removeAll() that aren't
        // covered by CollectionRemoveAllTester.
        return testers;
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
       * binomial(biggestBinomials[k], k) fits in a long, but not
       * binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/MathBenchmarking.java

      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
       * binomial(biggestBinomials[k], k) fits in a long, but not
       * binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            return fessConfig.getCrawlerDocumentMaxSymbolTermSizeAsInteger();
        }
    
        /**
         * Checks if duplicate term removal is enabled in configuration.
         *
         * @return true if duplicate terms should be removed, false otherwise
         */
        protected boolean isDuplicateTermRemoved() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

       * given collection in the order returned by the collection's iterator.
       *
       * @param collection the elements that the set should contain
       * @return a new {@code CompactLinkedHashSet} containing those elements (minus duplicates)
       */
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> create(
          Collection<? extends E> collection) {
        CompactLinkedHashSet<E> set = createWithExpectedSize(collection.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

            return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator();
          }
        }.test();
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume multisets support duplicates so that
       * the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getIteratorDuplicateInitializingMethods() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

        for (Field field : httpHeadersFields()) {
          assertEquals(
              upperToHttpHeaderName(field.getName(), specialCases, uppercaseAcronyms), field.get(null));
        }
      }
    
      // Tests that there are no duplicate HTTP header names
      public void testNoDuplicateFields() throws Exception {
        ImmutableList.Builder<String> httpHeaders = ImmutableList.builder();
        for (Field field : httpHeadersFields()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top