Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 117 for Howard (5.41 sec)

  1. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

    import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens
     * when maximumSize is reached, etc.
     *
     * @author mike nonemacher
     */
    public class CacheEvictionTest extends TestCase {
      static final int MAX_SIZE = 100;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/LongMath.java

        long rem = p - q * div; // equals p % q
    
        if (rem == 0) {
          return div;
        }
    
        /*
         * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to
         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
         * signum is 1 if p and q are both nonnegative or both negative, and -1 otherwise.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                return new ForwardingRunnable(runnable) {
                  @Override
                  public void run() {}
                };
              }
            },
            "run()",
            "Failed to forward");
      }
    
      public void testRedundantForwarding() {
        assertFailure(
            Runnable.class,
            new Function<Runnable, Runnable>() {
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

      public void testPowerSetEquals_independentOfOrder() {
        ImmutableSet<Integer> elements = ImmutableSet.of(1, 2, 3, 4);
        Set<Set<Integer>> forward = powerSet(elements);
        Set<Set<Integer>> reverse = powerSet(ImmutableSet.copyOf(elements.asList().reverse()));
        new EqualsTester().addEqualityGroup(forward, reverse).testEquals();
      }
    
      /**
       * Test that a hash code miscomputed by "input.hashCode() * tooFarValue / 2" is correct under our
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Ascii.java

      /**
       * Space: A normally non-printing graphic character used to separate words. It is also a format
       * effector which controls the movement of the printing position, one printing position forward.
       * (Applicable also to display devices.)
       *
       * @since 8.0
       */
      public static final byte SP = 32;
    
      /**
       * Alternate name for {@link #SP}.
       *
       * @since 8.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ImmutableSetMultimap}.
     *
     * @author Mike Ward
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableSetMultimapTest extends TestCase {
      private static final class ImmutableSetMultimapGenerator extends TestStringSetMultimapGenerator {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

     * Undefined behavior and bugs will result.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Mike Ward
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableSetMultimap<K, V> extends ImmutableMultimap<K, V>
        implements SetMultimap<K, V> {
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    away!'
    
      There was a long silence after this, and Alice could only hear
    whispers now and then; such as, `Sure, I don't like it, yer
    honour, at all, at all!'  `Do as I tell you, you coward!' and at
    last she spread out her hand again, and made another snatch in
    the air.  This time there were TWO little shrieks, and more
    sounds of broken glass.  `What a number of cucumber-frames there
    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)
  9. android/guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java

        assertSame(Boolean.TRUE, forward.apply("key"));
      }
    
      public void testInvalidate() {
        forward.invalidate("key");
        verify(mock).invalidate("key");
      }
    
      public void testRefresh() throws ExecutionException {
        forward.refresh("key");
        verify(mock).refresh("key");
      }
    
      public void testInvalidateAll() {
        forward.invalidateAll();
        verify(mock).invalidateAll();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingCollection.java

       * #clear} to forward to this implementation.
       *
       * @since 7.0
       */
      protected void standardClear() {
        Iterators.clear(iterator());
      }
    
      /**
       * A sensible definition of {@link #isEmpty} as {@code !iterator().hasNext}. If you override
       * {@link #isEmpty}, you may wish to override {@link #isEmpty} to forward to this implementation.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 8.2K bytes
    - Viewed (0)
Back to top