Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 89 for Helmer (0.14 sec)

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

    import com.google.common.collect.Sets;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Helper class for creating {@link CacheBuilder} instances with all combinations of several sets of
     * parameters.
     *
     * @author mike nonemacher
     */
    class CacheBuilderFactory {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        E[] elements = createSamplesArray();
        E duplicate = elements[(elements.length / 2) - 1];
        elements[(elements.length / 2) + 1] = duplicate;
        return new ArrayWithDuplicate<>(elements, duplicate);
      }
    
      // Helper methods to improve readability of derived classes
    
      protected int getNumElements() {
        return getSubjectGenerator().getCollectionSize().getNumElements();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
     * test with reference to the same "lock-like object", and then their interactions with that object
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        return "z";
      }
    
      @Override
      protected String getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return "26";
      }
    
      /** Helper assertion comparing two maps */
      private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) {
        assertEquals(expected, map);
        assertEquals(expected.hashCode(), map.hashCode());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import java.util.SortedMap;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    
    /**
     * Helper classes for various benchmarks.
     *
     * @author Christopher Swenson
     */
    final class BenchmarkHelpers {
      /** So far, this is the best way to test various implementations of {@link Set} subclasses. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import java.util.SortedMap;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    
    /**
     * Helper classes for various benchmarks.
     *
     * @author Christopher Swenson
     */
    final class BenchmarkHelpers {
      /** So far, this is the best way to test various implementations of {@link Set} subclasses. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CharMatcher.java

            @Override
            public String toString() {
              return description;
            }
          };
        }
      }
    
      /**
       * Helper method for {@link #precomputedInternal} that doesn't test if the negation is cheaper.
       */
      @GwtIncompatible // SmallCharMatcher
      private static CharMatcher precomputedPositive(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

          throws Exception {
        // Make sure we are actually running with the expected helper implementation
        Class<?> abstractFutureClass = classLoader.loadClass(AbstractFuture.class.getName());
        Field helperField = abstractFutureClass.getDeclaredField("ATOMIC_HELPER");
        helperField.setAccessible(true);
        assertEquals(expectedHelperClassName, helperField.get(null).getClass().getSimpleName());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ListenableScheduledFuture.java

    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.ScheduledFuture;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Helper interface to implement both {@link ListenableFuture} and {@link ScheduledFuture}.
     *
     * @author Anthony Zana
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 14 15:53:12 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java

     */
    
    package com.google.common.collect.testing.google;
    
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    
    /**
     * Helper methods/assertions for use with {@code com.google.common.collect} types.
     *
     * @author Colin Decker
     */
    @GwtCompatible
    final class GoogleHelpers {
    
      private GoogleHelpers() {}
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 23 04:28:13 GMT 2015
    - 1.1K bytes
    - Viewed (0)
Back to top