Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for cpovirk (0.03 sec)

  1. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      @CanIgnoreReturnValue
      @ParametricNullness
      static <V extends @Nullable Object, X extends Exception> V getChecked(
          Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X {
        // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator
        bestGetCheckedTypeValidator().validateClass(exceptionClass);
        try {
          return future.get(timeout, unit);
        } catch (InterruptedException e) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. guava-bom/pom.xml

      <developers>
        <!-- Sonatype requires that we list someone here. Guava has many contributors: https://github.com/google/guava/graphs/contributors -->
        <developer>
          <id>cpovirk</id>
          <name>Chris Povirk</name>
          <email>cpovirk@google.com</email>
        </developer>
      </developers>
    
      <scm>
        <connection>scm:git:https://github.com/google/guava.git</connection>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 19:50:42 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      @CanIgnoreReturnValue
      @ParametricNullness
      static <V extends @Nullable Object, X extends Exception> V getChecked(
          Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X {
        // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator
        bestGetCheckedTypeValidator().validateClass(exceptionClass);
        try {
          return future.get(timeout, unit);
        } catch (InterruptedException e) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. android/guava-bom/pom.xml

      <developers>
        <!-- Sonatype requires that we list someone here. Guava has many contributors: https://github.com/google/guava/graphs/contributors -->
        <developer>
          <id>cpovirk</id>
          <name>Chris Povirk</name>
          <email>cpovirk@google.com</email>
        </developer>
      </developers>
    
      <scm>
        <connection>scm:git:https://github.com/google/guava.git</connection>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 19:50:42 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

          return key;
        }
      }
    
      /*
       * TODO(cpovirk): eliminate duplication between these tests and those in LegacyMapMakerTests and
       * anywhere else
       */
    
      public void testInitialCapacity_negative() {
        MapMaker maker = new MapMaker();
        assertThrows(IllegalArgumentException.class, () -> maker.initialCapacity(-1));
      }
    
      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                   * case we ever switch to JUnit 4:
                   */
                  fail();
                }
              }
            });
      }
    
      // TODO(cpovirk): promote to Uninterruptibles, and add untimed version
      private static void joinUninterruptibly(Thread thread, long timeout, TimeUnit unit) {
        boolean interrupted = false;
        try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

     * identical to the original.
     *
     * @author Chris Povirk
     */
    /*
     * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a
     * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
     */
    @GwtCompatible
    @NullUnmarked
    final class LenientSerializableTester {
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/IntMathTest.java

      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
      public void testMaxLog10ForLeadingZeros() {
        for (int i = 0; i < Integer.SIZE; i++) {
          assertEquals(
              BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Integer.SIZE - i), FLOOR),
              IntMath.maxLog10ForLeadingZeros[i]);
        }
      }
    
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedHashMultiset.java

        super(distinctElements);
      }
    
      @Override
      ObjectCountHashMap<E> newBackingMap(int distinctElements) {
        return new ObjectCountLinkedHashMap<>(distinctElements);
      }
    
      // TODO(cpovirk): Should we have a serialVersionUID here?
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

     */
    
    package com.google.common.collect;
    
    import java.util.Collection;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulated version of {@link ImmutableList}. TODO(cpovirk): more doc
     *
     * @author Hayward Chan
     */
    abstract class ForwardingImmutableList<E> extends ImmutableList<E> {
    
      ForwardingImmutableList() {}
    
      abstract List<E> delegateList();
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top