Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 388 for Implementation (0.23 sec)

  1. guava/src/com/google/common/base/SmallCharMatcher.java

      private static final double DESIRED_LOAD_FACTOR = 0.5;
    
      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/PatternCompiler.java

       */
      @RestrictedApi(
          explanation = "PatternCompiler is an implementation detail of com.google.common.base",
          allowedOnPath = ".*/com/google/common/base/.*")
      CommonPattern compile(String pattern);
    
      /**
       * Returns {@code true} if the regex implementation behaves like Perl -- notably, by supporting
       * possessive quantifiers but also being susceptible to catastrophic backtracking.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/PatternCompiler.java

       */
      @RestrictedApi(
          explanation = "PatternCompiler is an implementation detail of com.google.common.base",
          allowedOnPath = ".*/com/google/common/base/.*")
      CommonPattern compile(String pattern);
    
      /**
       * Returns {@code true} if the regex implementation behaves like Perl -- notably, by supporting
       * possessive quantifiers but also being susceptible to catastrophic backtracking.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Platform.java

    final class Platform {
    
      /** Returns the platform preferred implementation of a map based on a hash table. */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return Maps.newHashMapWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered map based on a hash
       * table.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

      }
    
      private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName)
          throws Exception {
        // Make sure we are actually running with the expected helper implementation
        Class<?> abstractFutureClass = classLoader.loadClass(AggregateFutureState.class.getName());
        Field helperField = abstractFutureClass.getDeclaredField("ATOMIC_HELPER");
        helperField.setAccessible(true);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

    import java.util.TreeSet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A wrapper around {@code TreeSet} that aggressively checks to see if elements are mutually
     * comparable. This implementation passes the navigable set test suites.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public final class SafeTreeSet<E> implements Serializable, NavigableSet<E> {
      @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code BiMap}
     * implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class BiMapTestSuiteBuilder<K, V>
        extends PerCollectionSizeTestSuiteBuilder<
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractIterator.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * This class provides a skeletal implementation of the {@code Iterator} interface, to make this
     * interface easier to implement for certain types of data sources.
     *
     * <p>{@code Iterator} requires its implementations to support querying the end-of-data status
     * without changing the iterator's state, using the {@link #hasNext} method. But many data sources,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 18 02:04:10 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableTable.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * An implementation of {@link ImmutableTable} holding an arbitrary number of cells.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Platform.java

    final class Platform {
      /** Returns the platform preferred implementation of a map based on a hash table. */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return CompactHashMap.createWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered map based on a hash
       * table.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top