Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for Chow (0.19 sec)

  1. android/guava/src/com/google/common/io/PatternFilenameFilter.java

    import java.util.regex.Pattern;
    import java.util.regex.PatternSyntaxException;
    
    /**
     * File name filter that only accepts files matching a regular expression. This class is thread-safe
     * and immutable.
     *
     * @author Apple Chow
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class PatternFilenameFilter implements FilenameFilter {
    
      private final Pattern pattern;
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    way I want to go!  Let me see:  I'll give them a new pair of
    boots every Christmas.'
    
      And she went on planning to herself how she would manage it.
    `They must go by the carrier,' she thought; `and how funny it'll
    seem, sending presents to one's own feet!  And how odd the
    directions will look!
    
                ALICE'S RIGHT FOOT, ESQ.
                    HEARTHRUG,
                        NEAR THE FENDER,
    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)
  3. CONTRIBUTING.md

    How to contribute
    =================
    
    Thank you so much for wanting to contribute to Guava! Here are a few important
    things you should know about contributing:
    
    1.  API changes require discussion, use cases, etc. Code comes later.
    2.  Pull requests are great for small fixes for bugs, documentation, etc.
    3.  Pull requests are not merged directly into the master branch.
    4.  Code contributions require signing a Google CLA.
    
    API changes
    -----------
    
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     *   <li>algorithm: the algorithm to hash with (e.g. MD5, SHA1, etc.).
     *   <li>hashMethod: how to hash the data (using the Hashing API or the MessageDigest API).
     * </ul>
     *
     * @author Kurt Alfred Kluever
     */
    public class MessageDigestAlgorithmBenchmark {
      @Param({"10", "1000", "100000", "1000000"})
      int size;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EnumHashBiMap.java

        super(new EnumMap<K, V>(keyType), new HashMap<V, K>());
        // TODO: cpovirk - Pre-size the HashMap based on the number of enum values?
        this.keyTypeOrObjectUnderJ2cl = keyType;
      }
    
      // Overriding these 3 methods to show that values may be null (but not keys)
    
      @Override
      K checkKey(K key) {
        return checkNotNull(key);
      }
    
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       under all environments. We could fight this by fully qualifying the annotation, but the
     *       result will be verbose and attention-grabbing.
     *   <li>We need to be careful about how we suppress {@code suite()} methods in {@code common.io}.
     *       The generated suite for {@code FooTest} ends up containing {@code FooTest} itself plus some
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * code would be responsible for populating a "real" {@code T} (which might still be the value
       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
       * without having to add {@code @SuppressWarnings}, the code can call this method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/SmallCharMatcher.java

      private boolean checkFilter(int c) {
        return 1 == (1 & (filter >> c));
      }
    
      // This is all essentially copied from ImmutableSet, but we have to duplicate because
      // 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
    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)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        try {
          ImmutableDoubleArray.builder(-1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      /**
       * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell
       * out of it for a while and see what happens.
       */
      public void testBuilder_bruteForce() {
        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hasher.java

     *
     * <p><b>Warning:</b> Chunks of data that are put into the {@link Hasher} are not delimited. The
     * resulting {@link HashCode} is dependent only on the bytes inserted, and the order in which they
     * were inserted, not how those bytes were chunked into discrete put() operations. For example, the
     * following three expressions all generate colliding hash codes:
     *
     * <pre>{@code
     * newHasher().putByte(b1).putByte(b2).putByte(b3).hash()
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
Back to top