Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for shend (0.29 sec)

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

      /**
       * Creates a TimeLimiter instance using the given executor service to execute method calls.
       *
       * <p><b>Warning:</b> using a bounded executor may be counterproductive! If the thread pool fills
       * up, any time callers spend waiting for a thread may count toward their time limit, and in this
       * case the call may even time out before the target method is ever invoked.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     *
     * <pre>{@code
     * final RateLimiter rateLimiter = RateLimiter.create(5000.0); // rate = 5000 permits per second
     * void submitPacket(byte[] packet) {
     *   rateLimiter.acquire(packet.length);
     *   networkService.send(packet);
     * }
     * }</pre>
     *
     * <p>It is important to note that the number of permits requested <i>never</i> affects the
     * throttling of the request itself (an invocation to {@code acquire(1)} and an invocation to {@code
    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)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        private final String toString;
    
        protected Stimulus(String toString) {
          this.toString = toString;
        }
    
        /**
         * Send this stimulus to both iterators and return normally only if both produce the same
         * response.
         */
        abstract void executeAndCompare(ListIterator<E> reference, T target);
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    it was very provoking to find that the hedgehog had unrolled
    itself, and was in the act of crawling away:  besides all this,
    there was generally a ridge or furrow in the way wherever she
    wanted to send the hedgehog to, and, as the doubled-up soldiers
    were always getting up and walking off to other parts of the
    ground, Alice soon came to the conclusion that it was a very
    difficult game indeed.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *       the integral of our function, between X permits and X-K permits, assuming we want to
       *       spend K saved permits.
       * </ol>
       *
       * <p>In summary, the time it takes to move to the left (spend K permits), is equal to the area of
       * the function of width == K.
       *
       * <p>Assuming we have saturated demand, the time to go from maxPermits to thresholdPermits is
    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)
  6. android/guava/src/com/google/common/hash/Funnel.java

    import com.google.common.annotations.Beta;
    import com.google.errorprone.annotations.DoNotMock;
    import java.io.Serializable;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An object which can send data from an object of type {@code T} into a {@code PrimitiveSink}.
     * Implementations for common types can be found in {@link Funnels}.
     *
     * <p>Note that serialization of {@linkplain BloomFilter bloom filters} requires the proper
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        private final String toString;
    
        protected Stimulus(String toString) {
          this.toString = toString;
        }
    
        /**
         * Send this stimulus to both iterators and return normally only if both produce the same
         * response.
         */
        abstract void executeAndCompare(ListIterator<E> reference, T target);
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

              readCount.set(0);
            } finally {
              unlock();
            }
          }
        }
    
        void runUnlockedCleanup() {
          // locked cleanup may generate notifications we can send unlocked
          if (!isHeldByCurrentThread()) {
            map.processPendingNotifications();
          }
        }
      }
    
      static class LoadingValueReference<K, V> implements ValueReference<K, V> {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

              readCount.set(0);
            } finally {
              unlock();
            }
          }
        }
    
        void runUnlockedCleanup() {
          // locked cleanup may generate notifications we can send unlocked
          if (!isHeldByCurrentThread()) {
            map.processPendingNotifications();
          }
        }
      }
    
      static class LoadingValueReference<K, V> implements ValueReference<K, V> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    it was very provoking to find that the hedgehog had unrolled
    itself, and was in the act of crawling away:  besides all this,
    there was generally a ridge or furrow in the way wherever she
    wanted to send the hedgehog to, and, as the doubled-up soldiers
    were always getting up and walking off to other parts of the
    ground, Alice soon came to the conclusion that it was a very
    difficult game indeed.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top