Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 106 for Povirk (0.18 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

       */
      protected void shutDown() throws Exception {}
    
      /**
       * Returns the {@link Scheduler} object used to configure this service. This method will only be
       * called once.
       */
      // TODO(cpovirk): @ForOverride
      protected abstract Scheduler scheduler();
    
      /**
       * Returns the {@link ScheduledExecutorService} that will be used to execute the {@link #startUp},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Throwables.java

      @GwtIncompatible // invokeAccessibleNonThrowingMethod
      private static List<StackTraceElement> jlaStackTrace(Throwable t) {
        checkNotNull(t);
        /*
         * TODO(cpovirk): Consider optimizing iterator() to catch IOOBE instead of doing bounds checks.
         *
         * TODO(cpovirk): Consider the UnsignedBytes pattern if it performs faster and doesn't cause
         * AOSP grief.
         */
        return new AbstractList<StackTraceElement>() {
          /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Throwables.java

      @GwtIncompatible // invokeAccessibleNonThrowingMethod
      private static List<StackTraceElement> jlaStackTrace(Throwable t) {
        checkNotNull(t);
        /*
         * TODO(cpovirk): Consider optimizing iterator() to catch IOOBE instead of doing bounds checks.
         *
         * TODO(cpovirk): Consider the UnsignedBytes pattern if it performs faster and doesn't cause
         * AOSP grief.
         */
        return new AbstractList<StackTraceElement>() {
          /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

    import junit.framework.TestCase;
    
    /**
     * Class that contains nested abstract tests for filtered collection views, along with their
     * implementation helpers.
     *
     * @author Louis Wasserman
     */
    /*
     * TODO(cpovirk): Should all the tests for filtered collections run under GWT, too? Currently, they
     * don't.
     */
    public final class FilteredCollectionsTestUtil {
      private static final Predicate<Integer> EVEN =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CloserTest.java

    public class CloserTest extends TestCase {
    
      private TestSuppressor suppressor;
    
      @Override
      protected void setUp() throws Exception {
        suppressor = new TestSuppressor();
      }
    
      @AndroidIncompatible // TODO(cpovirk): Look up Build.VERSION.SDK_INT reflectively.
      public void testCreate() {
        assertThat(Closer.create().suppressor).isInstanceOf(Closer.SuppressingSuppressor.class);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CloserTest.java

    public class CloserTest extends TestCase {
    
      private TestSuppressor suppressor;
    
      @Override
      protected void setUp() throws Exception {
        suppressor = new TestSuppressor();
      }
    
      @AndroidIncompatible // TODO(cpovirk): Look up Build.VERSION.SDK_INT reflectively.
      public void testCreate() {
        assertThat(Closer.create().suppressor).isInstanceOf(Closer.SuppressingSuppressor.class);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/GeneralRange.java

        return !tooLow(t) && !tooHigh(t);
      }
    
      /**
       * Returns the intersection of the two ranges, or an empty range if their intersection is empty.
       */
      @SuppressWarnings("nullness") // TODO(cpovirk): Add casts as needed. Will be noisy and annoying...
      GeneralRange<T> intersect(GeneralRange<T> other) {
        checkNotNull(other);
        checkArgument(comparator.equals(other.comparator));
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

        assertNotSame(shadowClass, WillBeUnloadedException.class);
        getChecked(immediateFuture("foo"), shadowClass);
        return new WeakReference<>(shadowLoader);
      }
    
      /*
       * TODO(cpovirk): It would be great to run all these tests (including class unloading) in an
       * environment that forces Futures.getChecked to its fallback WeakSetValidator. One awful way of
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

            }
          } else {
            Thread.yield();
          }
          state = get();
        }
        if (restoreInterruptedBit) {
          currentThread.interrupt();
        }
        /*
         * TODO(cpovirk): Clear interrupt status here? We currently don't, which means that an interrupt
         * before, during, or after runInterruptibly() (unless it produced an InterruptedException
         * caught above) can linger and affect listeners.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                new TestStringSortedMapGenerator() {
                  @Override
                  protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                    /*
                     * TODO(cpovirk): it would be nice to create an input Map and use
                     * the copy constructor here and in the other tests
                     */
                    return populate(new TreeMap<String, String>(), entries);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top