Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. guava-gwt/pom.xml

                      <fileset dir="${project.build.directory}/guava-test-sources">
                        <contains text="@GwtCompatible"/>
                      </fileset>
                    </copy>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  4. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  5. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  6. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       *
       * @since 30.0
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static void awaitTerminationUninterruptibly(ExecutorService executor) {
        // TODO(cpovirk): We could optimize this to avoid calling nanoTime() at all.
        verify(awaitTerminationUninterruptibly(executor, Long.MAX_VALUE, NANOSECONDS));
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
Back to top