Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 104 for testMd5 (0.03 sec)

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

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for collection testers.
     *
     * @param <E> the element type of the collection to be tested.
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for collection testers.
     *
     * @param <E> the element type of the collection to be tested.
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

    import java.util.Collection;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Creates collections containing unhashable sample elements, to be tested.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestUnhashableCollectionGenerator<T extends Collection<UnhashableObject>>
        implements TestCollectionGenerator<UnhashableObject> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     *       have, of returning a new, independent iterator
     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        /*
         * We'll give ourselves a pass on testing all the possible ways of breaking the constraint,
         * because we know that newClassMap() is implemented using ConstrainedMap which is itself
         * well-tested. A purist would object to this, but what can I say, we're dirty cheaters.
         */
        map.put(Integer.class, new Integer(5));
        assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     *       have, of returning a new, independent iterator
     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          for (int i = 0; i < expected.length; i++) {
            assertEquals(expected[i], got[i]);
          }
        }
      }
    
      // Assumes that AbstractNonStreamingHashFunction works properly (must be tested elsewhere!)
      private static class Control extends AbstractNonStreamingHashFunction {
        @Override
        public HashCode hashBytes(byte[] input, int off, int len) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      @Param ExceptionType exceptionType;
    
      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
       * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate
       * whether our solution scales to use with multiple exception types and to whether it is affected
       * by other {@code ClassValue} users. Some of the benchmarked implementations don't use one or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/LruHashSet.java

            return map.isEmpty();
        }
    
        /**
         * Returns true if this set contains the specified element.
         *
         * @param o
         *            element whose presence in this set is to be tested.
         * @return true if this set contains the specified element.
         */
        @Override
        public boolean contains(final Object o) {
            return map.containsKey(o);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        // Then, run the actual tests under each alternative classloader:
    
        /*
         * Under Java 8, there is no need to test the no-VarHandle case here: It's already tested by the
         * main AbstractFutureTest, which uses the default AtomicHelper, which we verified above to be
         * UnsafeAtomicHelper.
         */
        if (!isJava8()) {
          runTestMethod(NO_VAR_HANDLE);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top