Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 250 for cpovirk (0.03 sec)

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

        assertThat(logHandler.getStoredLogRecords().isEmpty()).isTrue();
      }
    
      private void checkLogged(Throwable t) {
        assertThat(popLoggedThrowable()).isSameInstanceAs(t);
      }
    
      /*
       * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may
       * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use
       * builder.build() and then cast?
       */
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeMultiset.java

            current.pred = null;
            current.succ = null;
    
            current = next;
          }
          successor(header, header);
          rootReference.clear();
        } else {
          // TODO(cpovirk): Perhaps we can optimize in this case, too?
          Iterators.clear(entryIterator());
        }
      }
    
      private Entry<E> wrapEntry(AvlNode<E> baseEntry) {
        return new Multisets.AbstractEntry<E>() {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          boolean isNullable(Invokable<?, ?> invokable) {
            return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(invokable)
                || containsNullable(invokable.getAnnotatedReturnType().getAnnotations());
            // TODO(cpovirk): Should we also check isNullableTypeVariable?
          }
    
          @Override
          boolean isNullable(Parameter param) {
            return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(param)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        FROM_DECLARATION_AND_TYPE_USE_ANNOTATIONS {
          @Override
          boolean isNullable(Invokable<?, ?> invokable) {
            return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(invokable)
            ;
            // TODO(cpovirk): Should we also check isNullableTypeVariable?
          }
    
          @Override
          boolean isNullable(Parameter param) {
            return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(param)
            ;
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      private static File fullpath(String path) {
        return new File(new File(path).toURI());
      }
    
      private static URL makeJarUrlWithName(String name) throws IOException {
        /*
         * TODO: cpovirk - Use java.nio.file.Files.createTempDirectory instead of
         * c.g.c.io.Files.createTempDir?
         */
        File fullPath = new File(Files.createTempDir(), name);
        File jarFile = pickAnyJarFile();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        new ClassSanityTester().forAllPublicStaticMethods(Predicates.class).testNulls();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function
      public void testEqualsAndSerializable() throws Exception {
        new ClassSanityTester().forAllPublicStaticMethods(Predicates.class).testEqualsAndSerializable();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      private static void shouldPass(Object instance) {
        shouldPass(instance, Visibility.PACKAGE);
        shouldPass(instance, Visibility.PROTECTED);
        shouldPass(instance, Visibility.PUBLIC);
      }
    
      // TODO(cpovirk): eliminate surprising Object/Class overloading of shouldFail
    
      private static void shouldFail(Object instance, Visibility visibility) {
        try {
          new NullPointerTester().testInstanceMethods(instance, visibility);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeMultiset.java

            current.pred = null;
            current.succ = null;
    
            current = next;
          }
          successor(header, header);
          rootReference.clear();
        } else {
          // TODO(cpovirk): Perhaps we can optimize in this case, too?
          Iterators.clear(entryIterator());
        }
      }
    
      private Entry<E> wrapEntry(AvlNode<E> baseEntry) {
        return new Multisets.AbstractEntry<E>() {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit tests for {@code Ordering}.
     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    @NullMarked
    public class OrderingTest extends TestCase {
      // TODO(cpovirk): some of these are inexplicably slow (20-30s) under GWT
    
      private final Ordering<Number> numberOrdering = new NumberOrdering();
    
      public void testAllEqual() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/OrderingTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit tests for {@code Ordering}.
     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    @NullMarked
    public class OrderingTest extends TestCase {
      // TODO(cpovirk): some of these are inexplicably slow (20-30s) under GWT
    
      private final Ordering<Number> numberOrdering = new NumberOrdering();
    
      public void testAllEqual() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
Back to top