Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for maximum (0.27 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

        @Override
        protected void parseLong(CacheBuilderSpec spec, long value) {
          checkArgument(
              spec.maximumSize == null, "maximum size was already set to %s", spec.maximumSize);
          checkArgument(
              spec.maximumWeight == null, "maximum weight was already set to %s", spec.maximumWeight);
          spec.maximumSize = value;
        }
      }
    
      /** Parse maximumWeight */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * @param interfaceType the interface you wish the returned proxy to implement
       * @param timeoutDuration with timeoutUnit, the maximum length of time that callers are willing to
       *     wait on each method call to the proxy
       * @param timeoutUnit with timeoutDuration, the maximum length of time that callers are willing to
       *     wait on each method call to the proxy
       * @return a time-limiting proxy
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/DiscreteDomain.java

       *     {@link java.math.BigInteger}
       */
      @CanIgnoreReturnValue
      public C minValue() {
        throw new NoSuchElementException();
      }
    
      /**
       * Returns the maximum value of type {@code C}, if it has one. The maximum value is the unique
       * value for which {@link Comparable#compareTo(Object)} never returns a negative value for any
       * input of type {@code C}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

    import com.google.common.util.concurrent.UncheckedExecutionException;
    import junit.framework.TestCase;
    
    /**
     * {@link LoadingCache} tests for caches with a maximum size of zero.
     *
     * @author mike nonemacher
     */
    public class NullCacheTest extends TestCase {
      QueuingRemovalListener<Object, Object> listener;
    
      @Override
      protected void setUp() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Comparators.java

        return (comparator.compare(a, b) <= 0) ? a : b;
      }
    
      /**
       * Returns the maximum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code maximum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

       */
      private List<Entry<Object, Object>> warmUp(
          LoadingCache<Object, Object> cache, int minimum, int maximum) {
    
        List<Entry<Object, Object>> entries = Lists.newArrayList();
        for (int i = minimum; i < maximum; i++) {
          Object key = i;
          Object value = cache.getUnchecked(key);
          entries.add(entryOf(key, value));
        }
        return entries;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilderSpec.java

        @Override
        protected void parseLong(CacheBuilderSpec spec, long value) {
          checkArgument(
              spec.maximumSize == null, "maximum size was already set to %s", spec.maximumSize);
          checkArgument(
              spec.maximumWeight == null, "maximum weight was already set to %s", spec.maximumWeight);
          spec.maximumSize = value;
        }
      }
    
      /** Parse maximumWeight */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * thus paying for the cost of the expensive task.
     *
     * @author Dimitris Andreou
     * @since 13.0
     */
    // TODO(user): switch to nano precision. A natural unit of cost is "bytes", and a micro precision
    // would mean a maximum rate of "1MB/s", which might be small in some cases.
    @Beta
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class RateLimiter {
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

      }
    
      /**
       * {@link Collection#toArray(Object[])} says: "Note that {@code toArray(new Object[0])} is
       * identical in function to {@code toArray()}."
       *
       * <p>For maximum effect, the collection under test should be created from an element array of a
       * type other than {@code Object[]}.
       */
      public void testToArray_isPlainObjectArray() {
        Object[] array = collection.toArray();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

      }
    
      /**
       * {@link Collection#toArray(Object[])} says: "Note that {@code toArray(new Object[0])} is
       * identical in function to {@code toArray()}."
       *
       * <p>For maximum effect, the collection under test should be created from an element array of a
       * type other than {@code Object[]}.
       */
      public void testToArray_isPlainObjectArray() {
        Object[] array = collection.toArray();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.9K bytes
    - Viewed (0)
Back to top