Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 276 for duplicates (0.3 sec)

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

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SetMultimapPutTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
      // Tests for non-duplicate values are in MultimapPutTester
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutDuplicateValuePreservesSize() {
        assertFalse(multimap().put(k0(), v0()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. docs/sts/client_grants/__init__.py

                return None
    
        def _create_credentials_fetcher(self):
            method = self.METHOD
    
            def fetch_credentials():
                # HTTP headers are case insensitive filter out
                # all duplicate headers and pick one.
                headers = {}
                headers['content-type'] = 'application/x-www-form-urlencoded'
                headers['authorization'] = urllib3.make_headers(
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 4.6K 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. src/main/java/jcifs/smb/NtStatus.java

        int NT_STATUS_PIPE_LISTENING = 0xC00000b3;
        /** The file that was specified is a directory */
        int NT_STATUS_FILE_IS_A_DIRECTORY = 0xC00000ba;
        /** A duplicate name exists on the network */
        int NT_STATUS_DUPLICATE_NAME = 0xC00000bd;
        /** The specified network name is no longer available */
        int NT_STATUS_NETWORK_NAME_DELETED = 0xC00000c9;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

         */
        @Nonnull
        Optional<Boolean> infer();
    
        /**
         * Should fix Maven 4 compatibility issues in POMs.
         * This includes fixing unsupported combine attributes, duplicate dependencies,
         * unsupported expressions, and other Maven 4 validation issues.
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

            for (Field field : fields) {
                if (field.getType() == int.class) {
                    int value = field.getInt(null);
                    assertTrue(values.add(value), "Duplicate value found for field: " + field.getName());
                }
            }
        }
    
        @Test
        @DisplayName("Test constant values follow bit flag pattern")
        void testConstantsBitFlagPattern() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. 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)
  10. cmd/endpoint_test.go

    		{[]string{"d1", "d2", "d3", "d1"}, fmt.Errorf("duplicate endpoints found")},
    		{[]string{"d1", "d2", "d3", "./d1"}, fmt.Errorf("duplicate endpoints found")},
    		{[]string{"http://localhost/d1", "http://localhost/d2", "http://localhost/d1", "http://localhost/d4"}, fmt.Errorf("duplicate endpoints found")},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top