Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for allowlist (0.57 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        SettableFuture<String> future2 = SettableFuture.create();
        ListenableFuture<List<String>> compound = allAsList(future1, future2);
        // There was a bug where the event listener for the combined future would
        // result in the sub-futures being cancelled without being interrupted.
        ListenableFuture<List<String>> otherCompound = allAsList(future1, future2);
    
        assertTrue(compound.cancel(true));
        assertTrue(future1.isCancelled());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        SettableFuture<String> future2 = SettableFuture.create();
        ListenableFuture<List<String>> compound = allAsList(future1, future2);
        // There was a bug where the event listener for the combined future would
        // result in the sub-futures being cancelled without being interrupted.
        ListenableFuture<List<String>> otherCompound = allAsList(future1, future2);
    
        assertTrue(compound.cancel(true));
        assertTrue(future1.isCancelled());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Futures.allAsList;
    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Futures.allAsList;
    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/CollectionFuture.java

      void releaseResources(ReleaseResourcesReason reason) {
        super.releaseResources(reason);
        this.values = null;
      }
    
      abstract C combine(List<@Nullable Present<V>> values);
    
      /** Used for {@link Futures#allAsList} and {@link Futures#successfulAsList}. */
      static final class ListFuture<V extends @Nullable Object>
          extends CollectionFuture<V, List<@Nullable V>> {
        ListFuture(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

      void releaseResources(ReleaseResourcesReason reason) {
        super.releaseResources(reason);
        this.values = null;
      }
    
      abstract C combine(List<@Nullable Present<V>> values);
    
      /** Used for {@link Futures#allAsList} and {@link Futures#successfulAsList}. */
      static final class ListFuture<V extends @Nullable Object>
          extends CollectionFuture<V, List<@Nullable V>> {
        ListFuture(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Futures.java

       * @since 10.0
       */
      @SafeVarargs
      public static <V extends @Nullable Object> ListenableFuture<List<V>> allAsList(
          ListenableFuture<? extends V>... futures) {
        ListenableFuture<List<@Nullable V>> nullable =
            new ListFuture<V>(ImmutableList.copyOf(futures), true);
        // allAsList ensures that it fills the output list with V instances.
        @SuppressWarnings("nullness")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 64.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       * @since 10.0
       */
      @SafeVarargs
      public static <V extends @Nullable Object> ListenableFuture<List<V>> allAsList(
          ListenableFuture<? extends V>... futures) {
        ListenableFuture<List<@Nullable V>> nullable =
            new ListFuture<V>(ImmutableList.copyOf(futures), true);
        // allAsList ensures that it fills the output list with V instances.
        @SuppressWarnings("nullness")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/parser.go

    // The stopset is only considered if we are inside a function (p.fnest > 0).
    // The followlist is the list of valid tokens that can follow a production;
    // if it is empty, exactly one (non-EOF) token is consumed to ensure progress.
    func (p *parser) advance(followlist ...token) {
    	if trace {
    		p.print(fmt.Sprintf("advance %s", followlist))
    	}
    
    	// compute follow set
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top