Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for overkill (0.04 sec)

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

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *   <li>hasNext()
     *   <li>hasNext();
     *   <li>remove();
     *   <li>next();
     * </ol>
     *
     * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be
     * thought of as overkill; however, it's difficult to determine which proper subset of this massive
     * set would be sufficient to expose any possible bug. Brute force is simpler.
     *
     * <p>To use this class the concrete subclass must implement the {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *   <li>hasNext()
     *   <li>hasNext();
     *   <li>remove();
     *   <li>next();
     * </ol>
     *
     * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be
     * thought of as overkill; however, it's difficult to determine which proper subset of this massive
     * set would be sufficient to expose any possible bug. Brute force is simpler.
     *
     * <p>To use this class the concrete subclass must implement the {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/Striped64.java

       * accessed directly by subclasses.
       *
       * Table entries are of class Cell; a variant of AtomicLong padded
       * to reduce cache contention on most processors. Padding is
       * overkill for most Atomics because they are usually irregularly
       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Lists.java

          this.function = checkNotNull(function);
        }
    
        /**
         * The default implementation inherited is based on iteration and removal of each element which
         * can be overkill. That's why we forward this call directly to the backing list.
         */
        @Override
        protected void removeRange(int fromIndex, int toIndex) {
          fromList.subList(fromIndex, toIndex).clear();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/IntsTest.java

            .isEqualTo(0xFFEEDDCC);
      }
    
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Ints.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          int num = r.nextInt();
          assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num);
    
          r.nextBytes(b);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

      // below by testing their text-processing methods.
    
      // The organization of this test class is unusual, as it's not done by
      // method, but by overall "scenario". Also, the variety of actual tests we
      // do borders on absurd overkill. Better safe than sorry, though?
    
      @GwtIncompatible // java.util.BitSet
      public void testSetBits() {
        doTestSetBits(CharMatcher.any());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

                    })
                .named("MinMaxPriorityQueue")
                .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
        return suite;
      }
    
      // Overkill alert!  Test all combinations of 0-2 options during creation.
    
      public void testCreation_simple() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create();
        assertEquals(11, queue.capacity());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/CharMatcherTest.java

      // below by testing their text-processing methods.
    
      // The organization of this test class is unusual, as it's not done by
      // method, but by overall "scenario". Also, the variety of actual tests we
      // do borders on absurd overkill. Better safe than sorry, though?
    
      @GwtIncompatible // java.util.BitSet
      public void testSetBits() {
        doTestSetBits(CharMatcher.any());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
Back to top