Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 419 for duplicates (0.2 sec)

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

      }
    
      @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testLastIndexOf_duplicate() {
        E[] array = createSamplesArray();
        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "lastIndexOf(duplicate) should return index of last occurrence",
            getNumElements() / 2,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java

      }
    
      @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testLastIndexOf_duplicate() {
        E[] array = createSamplesArray();
        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "lastIndexOf(duplicate) should return index of last occurrence",
            getNumElements() / 2,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

        // TODO(cpovirk): Consider using Object[] anyway.
        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 =
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  4. .mailmap

    # Generate CONTRIBUTORS.md: contributors.sh
    
    # Tip for finding duplicates (besides scanning the output of CONTRIBUTORS.md for name
    # duplicates that aren't also email duplicates): scan the output of:
    #   git log --format='%aE - %aN' | sort -uf
    #
    # For explanation on this file format: man git-shortlog
    
    Anand Babu (AB) Periasamy <******@****.***> Anand Babu (AB) Periasamy <******@****.***>
    Anand Babu (AB) Periasamy <******@****.***> <******@****.***>
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 18:39:42 GMT 2019
    - 835 bytes
    - Viewed (0)
  5. 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
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  6. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.REJECTS_DUPLICATES_AT_CREATION;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.REJECTS_DUPLICATES_AT_CREATION;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedBiMapTest.java

                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    MapFeature.GENERAL_PURPOSE,
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION)
                .createTestSuite());
        suite.addTest(
            BiMapTestSuiteBuilder.using(new SynchronizedHashBiMapGenerator())
                .named("synchronizedBiMap[HashBiMap]")
                .withFeatures(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  10. internal/hash/checksum.go

    		var res *Checksum
    		for _, header := range trailing {
    			var duplicates bool
    			switch {
    			case strings.EqualFold(header, ChecksumCRC32C.Key()):
    				duplicates = res != nil
    				res = NewChecksumWithType(ChecksumCRC32C|ChecksumTrailing, "")
    			case strings.EqualFold(header, ChecksumCRC32.Key()):
    				duplicates = res != nil
    				res = NewChecksumWithType(ChecksumCRC32|ChecksumTrailing, "")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top