Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 106 for Povirk (0.19 sec)

  1. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        new ClassSanityTester().forAllPublicStaticMethods(Functions.class).testNulls();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function
      // (I suspect that this and the other similar failures happen with ArbitraryInstances proxies.)
      public void testEqualsAndSerializable() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

              }
            };
        try {
          Hashing.hmacMd5(badKey);
          fail();
        } catch (IllegalArgumentException expected) {
        } catch (NullPointerException toleratedOnAndroid) {
          // TODO(cpovirk): In an ideal world, we'd check here that we're running on Android.
        }
      }
    
      public void testEmptyInputs() throws Exception {
        String knownOutput = "8cbf764cbe2e4623d99a41354adfd390";
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Converter.java

       * methods to accept null. We could avoid having unchecked casts in Converter.java itself if we
       * could perform a cast to LegacyConverter, but we can't because it's an internal-only class.
       *
       * TODO(cpovirk): So make it part of the open-source build, albeit package-private there?
       *
       * So we use uncheckedCastNullableTToT here. This is a weird usage of that method: The method is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/base/Converter.java

       * methods to accept null. We could avoid having unchecked casts in Converter.java itself if we
       * could perform a cast to LegacyConverter, but we can't because it's an internal-only class.
       *
       * TODO(cpovirk): So make it part of the open-source build, albeit package-private there?
       *
       * So we use uncheckedCastNullableTToT here. This is a weird usage of that method: The method is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

    import java.util.stream.Collector;
    import jsinterop.annotations.JsMethod;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulated version of {@link com.google.common.collect.ImmutableList}. TODO(cpovirk): more doc
     *
     * @author Hayward Chan
     */
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableList<E> extends ImmutableCollection<E>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

          checkNonNegative(--successorCount);
    
          if (orderedNodeConnections != null) {
            orderedNodeConnections.remove(new NodeConnection.Succ<>((N) node));
          }
        }
    
        /*
         * TODO(cpovirk): `return (V) removedValue` once our checker permits that.
         *
         * (We promoted a class of warnings into errors because sometimes they indicate real problems.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Test suite for {@link CacheBuilder}. TODO(cpovirk): merge into CacheBuilderTest?
     *
     * @author Jon Donovan
     */
    @GwtCompatible
    public class CacheBuilderGwtTest extends TestCase {
    
      private FakeTicker fakeTicker;
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 15K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TopKSelector.java

       * bufferSize ≥ k, then we can ignore any elements greater than this value.
       */
      @CheckForNull private T threshold;
    
      @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing Object[] instead of T[].
      private TopKSelector(Comparator<? super T> comparator, int k) {
        this.comparator = checkNotNull(comparator, "comparator");
        this.k = k;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

              }
            };
        try {
          Hashing.hmacMd5(badKey);
          fail();
        } catch (IllegalArgumentException expected) {
        } catch (NullPointerException toleratedOnAndroid) {
          // TODO(cpovirk): In an ideal world, we'd check here that we're running on Android.
        }
      }
    
      public void testEmptyInputs() throws Exception {
        String knownOutput = "8cbf764cbe2e4623d99a41354adfd390";
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/SuppliersTest.java

            .forAllPublicStaticMethods(Suppliers.class)
            .testNulls();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function
      @SuppressWarnings("Java7ApiChecker") // includes test of Java 8+ API
      public void testSuppliersSerializable() throws Exception {
        new ClassSanityTester()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
Back to top