Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 252 for Povirk (0.1 sec)

  1. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for {@link MapIteratorCache} and {@link MapRetrievalCache}. */
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    @NullUnmarked
    public final class MapCacheTest {
      private final MapIteratorCache<String, String> mapCache;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
        return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
      }
    
      @Override
      @SuppressWarnings("unchecked") // TODO(cpovirk): Use a shared unsafeCompare method.
      ContiguousSet<C> subSetImpl(
          C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
        if (fromElement.compareTo(toElement) == 0 && !fromInclusive && !toInclusive) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

      }
    
      private <T> TypeToken<Iterable<T>> anyIterableType() {
        return new TypeToken<Iterable<T>>() {};
      }
    
      @SuppressWarnings("rawtypes") // TODO(cpovirk): Can we at least use Class<?> in some places?
      abstract static class TestTypeToInstanceMapGenerator
          implements TestMapGenerator<TypeToken, Object> {
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. util/gradle_integration_tests.sh

    GRADLE_TEMP="$(mktemp -d)"
    trap 'rm -rf "${GRADLE_TEMP}"' EXIT
    
    # The Gradle tests need the pom.xml only to read its version number.
    # (And the file needs to be two directory levels up from the Gradle build file.)
    # TODO(cpovirk): Find a better way to give them that information.
    cp pom.xml "${GRADLE_TEMP}"
    
    for version in 5.6.4 7.0.2; do
      # Enter a subshell so that we return to the current directory afterward.
      (
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jan 02 19:24:12 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        public static Object bad(@SuppressWarnings("unused") String a) {
          return new BadNulls();
        }
    
        private BadNullsFactory() {}
      }
    
      @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException... ClassSanityTesterTest$AnInterface
      public void testSerializableOnReturnValues_good() throws Exception {
        tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testSerializable();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          return insertionOrder;
        }
    
        @Override
        public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() {
          return mapGenerator;
        }
      }
    
      // TODO(cpovirk): could something like this be used elsewhere, e.g., ReserializedListGenerator?
      static class ForwardingTestMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
          implements TestMapGenerator<K, V> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Functions.java

          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hash(map, defaultValue);
        }
    
        @Override
        public String toString() {
          // TODO(cpovirk): maybe remove "defaultValue=" to make this look like the method call does
          return "Functions.forMap(" + map + ", defaultValue=" + defaultValue + ")";
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

     *
     * <p>See {@link TestingExecutors#sameThreadScheduledExecutor()} for a full list of constraints.
     *
     * @author John Sirois
     * @author Zach van Schouwen
     */
    @GwtIncompatible
    // TODO(cpovirk): Make this final (but that may break Mockito spy calls).
    class SameThreadScheduledExecutorService extends AbstractExecutorService
        implements ListeningScheduledExecutorService {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

     *
     * <p>See {@link TestingExecutors#sameThreadScheduledExecutor()} for a full list of constraints.
     *
     * @author John Sirois
     * @author Zach van Schouwen
     */
    @GwtIncompatible
    // TODO(cpovirk): Make this final (but that may break Mockito spy calls).
    class SameThreadScheduledExecutorService extends AbstractExecutorService
        implements ListeningScheduledExecutorService {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RangeMap.java

     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @DoNotMock("Use ImmutableRangeMap or TreeRangeMap")
    @GwtIncompatible
    public interface RangeMap<K extends Comparable, V> {
      /*
       * TODO(cpovirk): These docs sometimes say "map" and sometimes say "range map." Pick one, or at
       * least decide on a policy for when to use which.
       */
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top