Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Visser (0.18 sec)

  1. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     * Other contributors include Andrew Wright, Jeffrey Hayes,
     * Pat Fisher, Mike Judd.
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/JSR166TestCase.java?revision=1.90
     * (We have made some trivial local modifications (commented out
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheStats.java

       * value can result in multiple misses, all returning the results of a single cache load
       * operation.
       */
      public long missCount() {
        return missCount;
      }
    
      /**
       * Returns the ratio of cache requests which were misses. This is defined as {@code missCount /
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheStats.java

       * value can result in multiple misses, all returning the results of a single cache load
       * operation.
       */
      public long missCount() {
        return missCount;
      }
    
      /**
       * Returns the ratio of cache requests which were misses. This is defined as {@code missCount /
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        for (int i = 0; i < valuesInExpectedOrder.size(); i++) {
          T t = valuesInExpectedOrder.get(i);
    
          for (int j = 0; j < i; j++) {
            T lesser = valuesInExpectedOrder.get(j);
            assertTrue(lesser + ".compareTo(" + t + ')', lesser.compareTo(t) < 0);
            assertFalse(lesser.equals(t));
          }
    
          assertEquals(t + ".compareTo(" + t + ')', 0, t.compareTo(t));
          assertTrue(t.equals(t));
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * compares, using {@link #compare(int, int)}), the first pair of values that follow any common
       * prefix, or when one array is a prefix of the other, treats the shorter array as the lesser. For
       * example, {@code [] < [1] < [1, 2] < [2] < [1 << 31]}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedBytes.java

       * compares, using {@link #compare(byte, byte)}), the first pair of values that follow any common
       * prefix, or when one array is a prefix of the other, treats the shorter array as the lesser. For
       * example, {@code [] < [0x01] < [0x01, 0x7F] < [0x01, 0x80] < [0x02]}. Values are treated as
       * unsigned.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Floats.java

       * compares, using {@link #compare(float, float)}), the first pair of values that follow any
       * common prefix, or when one array is a prefix of the other, treats the shorter array as the
       * lesser. For example, {@code [] < [1.0f] < [1.0f, 2.0f] < [2.0f]}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          case 2:
            return 1; // The lone element in the maxHeap is the maximum.
          default:
            // The max element must sit on the first level of the maxHeap. It is
            // actually the *lesser* of the two from the maxHeap's perspective.
            return (maxHeap.compareElements(1, 2) <= 0) ? 1 : 2;
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * the public domain, as explained at http://creativecommons.org/publicdomain/zero/1.0/
       *
       * Other contributors include Andrew Wright, Jeffrey Hayes, Pat Fisher, Mike Judd.
       */
    
      /**
       * An implementation of {@link ExecutorService#invokeAny} for {@link ListeningExecutorService}
       * implementations.
       */
      @SuppressWarnings({
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

      @Param("2.5")
      double concentration;
    
      Random random = new Random();
    
      LoadingCache<Integer, Integer> cache;
    
      int max;
    
      static AtomicLong requests = new AtomicLong(0);
      static AtomicLong misses = new AtomicLong(0);
    
      @BeforeExperiment
      void setUp() {
        // random integers will be generated in this range, then raised to the
        // power of (1/concentration) and floor()ed
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
Back to top