Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 341 for duplicates (0.17 sec)

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

      public void testElementSetClear() {
        getMultiset().elementSet().clear();
        assertEmpty(getMultiset());
      }
    
      /**
       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getElementSetDuplicateInitializingMethods() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

            }
            return o1.equals(o2);
        }
    
        // ----------------------------------------------------------------------------
        /**
         * used to eliminate exact duplicates in the edge list
         */
        @Override
        @SuppressWarnings("checkstyle:equalshashcode")
        public boolean equals(Object o) {
            if (o instanceof MetadataGraphEdge) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

            ListTestSuiteBuilder.using(new ImmutableSetAsListGenerator())
                .named("ImmutableSet.asList")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTestSuite(ImmutableSetTest.class);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .named("ImmutableRangeSet.asSet[DiscreteDomain.integers[]]")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.ALLOWS_NULL_QUERIES,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.NON_STANDARD_TOSTRING,
                    CollectionFeature.SERIALIZABLE)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

                        return (Map) builder.build();
                      }
                    })
                .named("ImmutableClassToInstanceMap")
                .withFeatures(
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
                    MapFeature.RESTRICTS_KEYS,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionSize.ANY,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. 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() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

         * any of the algorithm name is not supported. The returned collection has equal count of elements as passed in
         * collection of names, and if names contains duplicated elements, the returned list of algorithms will have
         * duplicates as well.
         *
         * @throws ChecksumAlgorithmServiceException if any asked algorithm name is not supported.
         * @throws NullPointerException if passed in list of names is {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        }
    
        @Override
        public Set<E> create(Object... elements) {
          Object[] duplicated = new Object[elements.length * 2];
          for (int i = 0; i < elements.length; i++) {
            duplicated[i] = elements[i];
            duplicated[i + elements.length] = elements[i];
          }
          return ((Multiset<E>) gen.create(duplicated)).elementSet();
        }
    
        @Override
        public E[] createArray(int length) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/node/v1/generated.proto

      // be rejected in admission.
      // +optional
      // +mapType=atomic
      map<string, string> nodeSelector = 1;
    
      // tolerations are appended (excluding duplicates) to pods running with this
      // RuntimeClass during admission, effectively unioning the set of nodes
      // tolerated by the pod and the RuntimeClass.
      // +optional
      // +listType=atomic
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

    import java.util.ArrayDeque
    import java.util.Deque
    import javax.net.ssl.SSLPeerUnverifiedException
    
    /**
     * A certificate chain cleaner that uses a set of trusted root certificates to build the trusted
     * chain. This class duplicates the clean chain building performed during the TLS handshake. We
     * prefer other mechanisms where they exist, such as with
     * [okhttp3.internal.platform.AndroidPlatform.AndroidCertificateChainCleaner].
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top