Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for maintainer (0.15 sec)

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

     * permits per second. Permits will be distributed smoothly, with the delay between individual
     * permits being adjusted to ensure that the configured rate is maintained.
     *
     * <p>It is possible to configure a {@code RateLimiter} to have a warmup period during which time
     * the permits issued each second steadily increases until it hits the stable rate.
     *
    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)
  2. android/guava/src/com/google/common/collect/LinkedListMultimap.java

    @ElementTypesAreNonnullByDefault
    public class LinkedListMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimap<K, V> implements ListMultimap<K, V>, Serializable {
      /*
       * Order is maintained using a linked list containing all key-value pairs. In
       * addition, a series of disjoint linked lists of "siblings", each containing
       * the values for a specific key, is used to implement {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeResolver.java

        try {
          return type.cast(arg);
        } catch (ClassCastException e) {
          throw new IllegalArgumentException(arg + " is not a " + type.getSimpleName());
        }
      }
    
      /** A TypeTable maintains mapping from {@link TypeVariable} to types. */
      private static class TypeTable {
        private final ImmutableMap<TypeVariableKey, Type> map;
    
        TypeTable() {
          this.map = ImmutableMap.of();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

         * multimap and its {@link Multimap#asMap()} view are {@link ImmutableSortedSet} instances.
         * However, serialization does not preserve that property, though it does maintain the key and
         * value ordering.
         *
         * @since 8.0
         */
        // TODO: Make serialization behavior consistent.
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeMultiset.java

    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A multiset which maintains the ordering of its elements, according to either their natural order
     * or an explicit {@link Comparator}. In all cases, this implementation uses {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

              /*
               * We want to do this in long math for speed, but want to avoid overflow. We adapt the
               * technique previously used by BigIntegerMath: maintain separate numerator and
               * denominator accumulators, multiplying the fraction into result when near overflow.
               */
              for (int i = 2; i <= k; i++, n--) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * example, we could compute the appropriate throttle time for an incoming request, and make the
       * calling thread wait for that time.
       *
       * The simplest way to maintain a rate of QPS is to keep the timestamp of the last granted
       * request, and ensure that (1/QPS) seconds have elapsed since then. For example, for a rate of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Striped64.java

     * so.
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class Striped64 extends Number {
      /*
       * This class maintains a lazily-initialized table of atomically
       * updated variables, plus an extra "base" field. The table size
       * is a power of two. Indexing uses masked per-thread hash codes.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      /**
       * Creates a new, empty {@code ConcurrentHashMultiset} using {@code countMap} as the internal
       * backing map.
       *
       * <p>This instance will assume ownership of {@code countMap}, and other code should not maintain
       * references to the map or modify it in any way.
       *
       * <p>The returned multiset is serializable if the input map is.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

              //            (__)\       )\/\
              //                ||----w |
              //                ||     ||
              // We need to clear the interrupted bit prior to calling park and maintain it in case we
              // wake up spuriously.
              restoreInterruptedBit = Thread.interrupted() || restoreInterruptedBit;
              LockSupport.park(blocker);
            }
          } else {
            Thread.yield();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top