Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Povirk (0.13 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

     *
     * @param <E> the type of element returned by the iterator
     * @param <I> the type of the iterator ({@link Iterator} or {@link ListIterator})
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractIteratorTester<E extends @Nullable Object, I extends Iterator<E>> {
      private Stimulus<E, ? super I>[] stimuli;
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-06-11 16:13
    - 20.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

     *
     * @param <E> the type of element returned by the iterator
     * @param <I> the type of the iterator ({@link Iterator} or {@link ListIterator})
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractIteratorTester<E extends @Nullable Object, I extends Iterator<E>> {
      private Stimulus<E, ? super I>[] stimuli;
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-06-11 16:13
    - 21.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#sets">{@code Sets}</a>.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @author Chris Povirk
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Sets {
      private Sets() {}
    
      /**
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-06-02 13:36
    - 77.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

         */
        assertTrue(
            "Expected elapsed millis to be >= " + expectedMillis + " but was " + elapsedMillis,
            elapsedMillis + 5 >= expectedMillis);
      }
    
      // TODO(cpovirk): Split this into separate CountDownLatch and IncrementableCountDownLatch classes.
    
      /** Manages a {@link BlockingQueue} and associated timings for a {@code put} call. */
      private static final class TimedPutQueue {
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-06-10 16:06
    - 31.7K bytes
    - Viewed (0)
  5. android/pom.xml

                <signature>
                  <groupId>com.toasttab.android</groupId>
                  <artifactId>gummy-bears-api-21</artifactId>
                  <version>0.8.0</version>
                  <!-- TODO(cpovirk): In principle, it would make sense to *also* test compatibility with JDK 1.8, since guava-android also has JRE users. -->
                </signature>
                <ignores>
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-06-03 20:33
    - 19.4K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        fail();
      }
    
      public static class BadNullsFactory {
        public static Object bad(@SuppressWarnings("unused") String a) {
          return new BadNulls();
        }
      }
    
      @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException... ClassSanityTesterTest$AnInterface
      public void testSerializableOnReturnValues_good() throws Exception {
        tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testSerializable();
      }
    
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-06-11 16:13
    - 36.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * always contains not just the current thread's exception but also the initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptions;
        if (seenExceptionsLocal == null) {
          // TODO(cpovirk): Should we use a simpler (presumably cheaper) data structure?
          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-05-28 20:40
    - 8.4K bytes
    - Viewed (0)
  8. pom.xml

                <configuration>
                  <compilerArgs combine.children="append">
                    <!-- https://errorprone.info/docs/installation#maven -->
                    <!-- TODO(cpovirk): Enable NullArgumentForNonNullParameter for
                         prod code. It's disabled automatically for "test code"
                         (which is good: our tests have intentional violations), but
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-06-03 20:33
    - 19K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * always contains not just the current thread's exception but also the initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptions;
        if (seenExceptionsLocal == null) {
          // TODO(cpovirk): Should we use a simpler (presumably cheaper) data structure?
          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-05-28 20:40
    - 8.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

         */
        clearInterrupt();
        aggregateFutureLogger.removeHandler(aggregateFutureLogHandler);
        super.tearDown();
      }
    
      /*
       * TODO(cpovirk): Use FutureSubject once it's part of core Truth. But be wary of using it when I'm
       * really testing a Future implementation (e.g., in the case of immediate*Future()). But it's OK
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-05-29 16:29
    - 144.1K bytes
    - Viewed (0)
Back to top