Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 309 for positive (0.08 sec)

  1. guava/src/com/google/common/util/concurrent/RateLimiter.java

       * @throws IllegalArgumentException if {@code permitsPerSecond} is negative or zero
       */
      public final void setRate(double permitsPerSecond) {
        checkArgument(permitsPerSecond > 0.0, "rate must be positive");
        synchronized (mutex()) {
          doSetRate(permitsPerSecond, stopwatch.readMicros());
        }
      }
    
      abstract void doSetRate(double permitsPerSecond, long nowMicros);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Booleans.java

       * equivalent {@link Boolean#compare} method instead.
       *
       * @param a the first {@code boolean} to compare
       * @param b the second {@code boolean} to compare
       * @return a positive number if only {@code a} is {@code true}, a negative number if only {@code
       *     b} is true, or zero if {@code a == b}
       */
      @InlineMe(replacement = "Boolean.compare(a, b)")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Booleans.java

       * equivalent {@link Boolean#compare} method instead.
       *
       * @param a the first {@code boolean} to compare
       * @param b the second {@code boolean} to compare
       * @return a positive number if only {@code a} is {@code true}, a negative number if only {@code
       *     b} is true, or zero if {@code a == b}
       */
      @InlineMe(replacement = "Boolean.compare(a, b)")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

     * atomic unless otherwise noted.
     *
     * <p>Instances of this class are serializable if the keys are serializable.
     *
     * <p><b>Note:</b> If your values are always positive and less than 2^31, you may wish to use a
     * {@link com.google.common.collect.Multiset} such as {@link
     * com.google.common.collect.ConcurrentHashMultiset} instead.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        CacheTesting.checkValidState(cache);
      }
    
      /**
       * With an unlimited-size cache with maxWeight of 0, entries weighing 0 should still be cached.
       * Entries with positive weight should not be cached (nor dump existing cache).
       */
      public void testEviction_maxWeight_zero() {
        CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashSet.java

       */
      public static <E extends @Nullable Object> CompactHashSet<E> createWithExpectedSize(
          int expectedSize) {
        return new CompactHashSet<>(expectedSize);
      }
    
      /**
       * Maximum allowed false positive probability of detecting a hash flooding attack given random
       * input.
       */
      @VisibleForTesting(
          )
      static final double HASH_FLOODING_FPP = 0.001;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

     * atomic unless otherwise noted.
     *
     * <p>Instances of this class are serializable if the keys are serializable.
     *
     * <p><b>Note:</b> If your values are always positive and less than 2^31, you may wish to use a
     * {@link com.google.common.collect.Multiset} such as {@link
     * com.google.common.collect.ConcurrentHashMultiset} instead.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/HashCode.java

     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @ElementTypesAreNonnullByDefault
    public abstract class HashCode {
      HashCode() {}
    
      /** Returns the number of bits in this hash code; a positive multiple of 8. */
      public abstract int bits();
    
      /**
       * Returns the first four bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to an
       * {@code int} value in little-endian order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/HashCode.java

     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @ElementTypesAreNonnullByDefault
    public abstract class HashCode {
      HashCode() {}
    
      /** Returns the number of bits in this hash code; a positive multiple of 8. */
      public abstract int bits();
    
      /**
       * Returns the first four bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to an
       * {@code int} value in little-endian order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Chars.java

       *
       * @param a the first {@code char} to compare
       * @param b the second {@code char} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      @InlineMe(replacement = "Character.compare(a, b)")
      public static int compare(char a, char b) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top