Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Bickle (0.22 sec)

  1. android/guava-tests/test/com/google/common/collect/SetsTest.java

        Set<List<Integer>> degenerate = Sets.cartesianProduct();
        checkHashCode(degenerate);
    
        checkHashCode(Sets.cartesianProduct(set(1, 2)));
    
        int num = Integer.MAX_VALUE / 3 * 2; // tickle overflow-related problems
        checkHashCode(Sets.cartesianProduct(set(1, 2, num)));
    
        Set<Integer> mt = emptySet();
        checkHashCode(Sets.cartesianProduct(mt, mt));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  2. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        Integer lastItem = 0;
        for (Integer tmp : mmHeap) {
          lastItem = tmp;
        }
        assertEquals((Integer) 30, lastItem);
      }
    
      /**
       * This tests a special case where removeAt has to trickle an element first down one level from a
       * min to a max level, then up one level above the index of the removed element. It also tests
       * that skipMe in the iterator plays nicely with forgetMeNot.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

        Set<List<Integer>> degenerate = Sets.cartesianProduct();
        checkHashCode(degenerate);
    
        checkHashCode(Sets.cartesianProduct(set(1, 2)));
    
        int num = Integer.MAX_VALUE / 3 * 2; // tickle overflow-related problems
        checkHashCode(Sets.cartesianProduct(set(1, 2, num)));
    
        Set<Integer> mt = emptySet();
        checkHashCode(Sets.cartesianProduct(mt, mt));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/collect/SetContainsBenchmark.java

    /**
     * A microbenchmark that tests the performance of contains() on various Set implementations.
     *
     * @author Kevin Bourrillion
     */
    public class SetContainsBenchmark {
      // Start at 4.88 then multiply by 2*2^phi <evil cackle> - The goal is be uniform
      // yet visit a variety of "values-relative-to-the-next-power-of-2"
      @Param({"5", "30", "180", "1100", "6900", "43000", "260000"}) // "1600000", "9800000"
      private int size;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/collect/SetContainsBenchmark.java

    /**
     * A microbenchmark that tests the performance of contains() on various Set implementations.
     *
     * @author Kevin Bourrillion
     */
    public class SetContainsBenchmark {
      // Start at 4.88 then multiply by 2*2^phi <evil cackle> - The goal is be uniform
      // yet visit a variety of "values-relative-to-the-next-power-of-2"
      @Param({"5", "30", "180", "1100", "6900", "43000", "260000"}) // "1600000", "9800000"
      private int size;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        Integer lastItem = 0;
        for (Integer tmp : mmHeap) {
          lastItem = tmp;
        }
        assertEquals((Integer) 30, lastItem);
      }
    
      /**
       * This tests a special case where removeAt has to trickle an element first down one level from a
       * min to a max level, then up one level above the index of the removed element. It also tests
       * that skipMe in the iterator plays nicely with forgetMeNot.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          // 'actualLastElement' is now at 'lastElementAt', and the element that was at 'lastElementAt'
          // is now at the end of queue. If that's the element we wanted to remove in the first place,
          // don't try to (incorrectly) trickle it. Instead, just delete it and we're done.
          queue[size] = null;
          return null;
        }
        E toTrickle = elementData(size);
        queue[size] = null;
        MoveDesc<E> changes = fillHole(index, toTrickle);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top