Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for shew (0.15 sec)

  1. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

        FilenameFilter filter = new PatternFilenameFilter("a+");
        assertTrue(filter.accept(dir, "a"));
        assertTrue(filter.accept(dir, "aaaa"));
        assertFalse(filter.accept(dir, "b"));
    
        // Show that dir is ignored
        assertTrue(filter.accept(null, "a"));
      }
    
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. 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 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      After a while, finding that nothing more happened, she decided
    on going into the garden at once; but, alas for poor Alice!
    when she got to the door, she found she had forgotten the
    little golden key, and when she went back to the table for it,
    she found she could not possibly reach it:  she could see it
    quite plainly through the glass, and she tried her best to climb
    up one of the legs of the table, but it was too slippery;
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  4. guava-gwt/pom.xml

              <show>package</show>
            </configuration>
          </plugin>
          <!-- Disable "normal" testing, which doesn't work for GWT tests. -->
          <plugin>
            <artifactId>maven-surefire-plugin</artifactId>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Invokable.java

         * constructor's. This is an arbitrary rule since no existing language spec mandates one way or
         * the other. From the declaration syntax, the class type parameter appears first, but the call
         * syntax may show up in opposite order such as {@code new <A>Foo<B>()}.
         */
        @Override
        public final TypeVariable<?>[] getTypeParameters() {
          TypeVariable<?>[] declaredByClass = getDeclaringClass().getTypeParameters();
    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)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        public Container(T data) {}
      }
    
      public <T extends Container<String>> void testConstructor_parameterTypes()
          throws NoSuchMethodException {
        @SuppressWarnings("rawtypes") // Reflection API skew
        Constructor<Container> constructor = Container.class.getConstructor(Object.class);
        Invokable<T, ?> invokable = new TypeToken<T>(getClass()) {}.constructor(constructor);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      After a while, finding that nothing more happened, she decided
    on going into the garden at once; but, alas for poor Alice!
    when she got to the door, she found she had forgotten the
    little golden key, and when she went back to the table for it,
    she found she could not possibly reach it:  she could see it
    quite plainly through the glass, and she tried her best to climb
    up one of the legs of the table, but it was too slippery;
    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)
  8. 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)
  9. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    
    /**
     * Tests relating to cache expiration: make sure entries expire at the right times, make sure
     * expired entries don't show up, etc.
     *
     * @author mike nonemacher
     */
    @SuppressWarnings("deprecation") // tests of deprecated method
    public class CacheExpirationTest extends TestCase {
    
      private static final long EXPIRING_TIME = 1000;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * weak references.
     *
     * <p><strong>Performance</strong>
     *
     * <p>The extra bookkeeping done by cycle detecting locks comes at some cost to performance.
     * Benchmarks (as of December 2011) show that:
     *
     * <ul>
     *   <li>for an unnested {@code lock()} and {@code unlock()}, a cycle detecting lock takes 38ns as
     *       opposed to the 24ns taken by a plain lock.
    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)
Back to top