Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for exceeded (0.24 sec)

  1. guava-tests/test/com/google/common/hash/HashTestUtils.java

            same |= ~(hash1 ^ hash2);
            // test whether the hash values have different output bits
            diff |= (hash1 ^ hash2);
    
            count++;
            // check whether we've exceeded the probabilistically
            // likely number of trials to have proven no funneling
            if (count > maxCount) {
              Assert.fail(
                  "input bit("
                      + i
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

            same |= ~(hash1 ^ hash2);
            // test whether the hash values have different output bits
            diff |= (hash1 ^ hash2);
    
            count++;
            // check whether we've exceeded the probabilistically
            // likely number of trials to have proven no funneling
            if (count > maxCount) {
              Assert.fail(
                  "input bit("
                      + i
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

     *
     * {@code CacheBuilder} builds caches with any combination of the following features:
     *
     * <ul>
     *   <li>automatic loading of entries into the cache
     *   <li>least-recently-used eviction when a maximum size is exceeded (note that the cache is
     *       divided into segments, each of which does LRU internally)
     *   <li>time-based expiration of entries, measured since last access or last write
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * {@code CacheBuilder} builds caches with any combination of the following features:
     *
     * <ul>
     *   <li>automatic loading of entries into the cache
     *   <li>least-recently-used eviction when a maximum size is exceeded (note that the cache is
     *       divided into segments, each of which does LRU internally)
     *   <li>time-based expiration of entries, measured since last access or last write
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *
     * <p>If not all classes on the classpath should be covered, {@link #ignoreClasses} can be used to
     * exclude certain classes. As a special case, classes with an underscore in the name (like {@code
     * AutoValue_Foo}) can be excluded using <code>ignoreClasses({@link #UNDERSCORE_IN_NAME})</code>.
     *
     * <p>{@link #setDefault} allows subclasses to specify default values for types.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Invokable.java

       * of a non-static inner class, unlike {@link Constructor#getParameterTypes}, the hidden {@code
       * this} parameter of the enclosing class is excluded from the returned parameters.
       */
      @IgnoreJRERequirement
      public final ImmutableList<Parameter> getParameters() {
        Type[] parameterTypes = getGenericParameterTypes();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashingTest.java

        Random r = new Random(9);
        for (int i = 0; i < ITERS; i++) {
          countRemaps(r.nextLong(), map);
        }
        for (int shard = 2; shard <= MAX_SHARDS; shard++) {
          // Rough: don't exceed 1.2x the expected number of remaps by more than 20
          assertTrue(map.get(shard) <= 1.2 * ITERS / shard + 20);
        }
      }
    
      private void countRemaps(long h, AtomicLongMap<Integer> map) {
        int last = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * </pre>
       */
      private static class ExampleStackTrace extends IllegalStateException {
    
        static final StackTraceElement[] EMPTY_STACK_TRACE = new StackTraceElement[0];
    
        static final ImmutableSet<String> EXCLUDED_CLASS_NAMES =
            ImmutableSet.of(
                CycleDetectingLockFactory.class.getName(),
                ExampleStackTrace.class.getName(),
                LockGraphNode.class.getName());
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        // Should we pepper more of these calls throughout the above? Where?
        CacheTesting.checkValidState(cache);
      }
    
      /**
       * Tests that when a single entry exceeds the segment's max weight, the new entry is immediately
       * evicted and nothing else.
       */
      public void testEviction_maxWeight_entryTooBig() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * permitsPerSecond} are issued during any given second, with sustained requests being smoothly
       * spread over each second. When the incoming request rate exceeds {@code permitsPerSecond} the
       * rate limiter will release one permit every {@code (1.0 / permitsPerSecond)} seconds. When the
       * rate limiter is unused, bursts of up to {@code permitsPerSecond} permits will be allowed, with
    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)
Back to top