Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 529 for can (0.14 sec)

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

      // of dependencies.
    
      // Represents how tightly we can pack things, as a maximum.
      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.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

    import java.lang.reflect.Method;
    import java.util.Hashtable;
    import java.util.Map;
    import junit.framework.AssertionFailedError;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#merge}. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/UrlEscapers.java

              + "!$'()*,;&=" // The subdelim characters (excluding '+').
              + "@:"; // The gendelim characters permitted in paths.
    
      /**
       * Returns an {@link Escaper} instance that escapes strings so they can be safely included in <a
       * href="https://goo.gl/MplK6I">URL form parameter names and values</a>. Escaping is performed
       * with the UTF-8 character encoding. The caller is responsible for <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LoadingCache.java

     * are stored in the cache until either evicted or manually invalidated. The common way to build
     * instances is using {@link CacheBuilder}.
     *
     * <p>Implementations of this interface are expected to be thread-safe, and can be safely accessed
     * by multiple concurrent threads.
     *
     * <p>When evaluated as a {@link Function}, a cache yields the same result as invoking {@link
     * #getUnchecked}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/LongAddable.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.hash;
    
    
    /**
     * Abstract interface for objects that can concurrently add longs.
     *
     * @author Louis Wasserman
     */
    @ElementTypesAreNonnullByDefault
    interface LongAddable {
      void increment();
    
      void add(long x);
    
      long sum();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 850 bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

    import java.util.Map;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code putAll} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestSubjectGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * To be implemented by test generators that can produce test subjects without requiring any
     * parameters.
     *
     * @param <T> the type created by this generator.
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractTableTest.java

          assertEquals(ImmutableMap.of(5, 'x'), row);
        }
      }
    
      @SuppressWarnings("unchecked") // C can only be @Nullable Character or Character
      protected @NonNull C cellValue(Character character) {
        return (C) character;
      }
    
      // Only safe wrt. ClassCastException. Not null-safe (can be used to test expected Table NPEs)
      @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/EnumBiMap.java

       * could use null, but that messes with our nullness checking, including under J2KT. We could
       * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more
       * trouble than just using Object.class.)
       *
       * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapSizeTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractMapTester;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code size()} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.3K bytes
    - Viewed (0)
Back to top