Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for exceeded (0.19 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

        return new MinimalCollection<>(type, true, contents);
      }
    
      private final E[] contents;
      private final Class<? super @NonNull E> type;
      private final boolean allowNulls;
    
      // Package-private so that it can be extended.
      MinimalCollection(Class<? super @NonNull E> type, boolean allowNulls, E... contents) {
        // TODO: consider making it shuffle the contents to test iteration order.
        this.contents = Platform.clone(contents);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Hashing.java

        // Round down to the nearest power of 2.
        expectedEntries = Math.max(expectedEntries, 2);
        int tableSize = Integer.highestOneBit(expectedEntries);
        // Check to make sure that we will not exceed the maximum load factor.
        if (expectedEntries > (int) (loadFactor * tableSize)) {
          tableSize <<= 1;
          return (tableSize > 0) ? tableSize : MAX_TABLE_SIZE;
        }
        return tableSize;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Hashing.java

        // Round down to the nearest power of 2.
        expectedEntries = Math.max(expectedEntries, 2);
        int tableSize = Integer.highestOneBit(expectedEntries);
        // Check to make sure that we will not exceed the maximum load factor.
        if (expectedEntries > (int) (loadFactor * tableSize)) {
          tableSize <<= 1;
          return (tableSize > 0) ? tableSize : MAX_TABLE_SIZE;
        }
        return tableSize;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests that the {@code ClassLoader} of {@link FinalizableReferenceQueue} can be unloaded. These
     * tests are separate from {@link FinalizableReferenceQueueTest} so that they can be excluded from
     * coverage runs, as the coverage system interferes with them.
     *
     * @author Eamonn McManus
     */
    
    
    public class FinalizableReferenceQueueClassLoaderUnloadingTest extends TestCase {
    
      /*
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <p>When {@code post} is called, all registered subscribers for an event are run in sequence, so
     * subscribers should be reasonably quick. If an event may trigger an extended process (such as a
     * database load), spawn a thread or queue it for later. (For a convenient way to do this, use an
     * {@link AsyncEventBus}.)
     *
     * <h2>Subscriber Methods</h2>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * that the {@link ServiceManager} functions properly even when it is managing no services.
       *
       * <p>The use of this class is considered an implementation detail of ServiceManager and as such
       * it is excluded from {@link #servicesByState}, {@link #startupTimes}, {@link #toString} and all
       * logging statements.
       */
      private static final class NoOpService extends AbstractService {
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilter.java

      }
    
      /**
       * Returns an estimate for the total number of distinct elements that have been added to this
       * Bloom filter. This approximation is reasonably accurate if it does not exceed the value of
       * {@code expectedInsertions} that was used when constructing the filter.
       *
       * @since 22.0
       */
      public long approximateElementCount() {
        long bitSize = bits.bitSize();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

       * are thus excluded from consideration. Since it refers to elements in UNDER of the same type,
       * the type is actually not important here. The map is simply used for consistency reasons.
       */
      public static final ImmutableMap<String, PublicSuffixType> EXCLUDED =
          TrieParser.parseTrie(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
  9. 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)
  10. 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)
Back to top