Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 871 for futures (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/en/mkdocs.yml

      - help-fastapi.md
      - contributing.md
      - project-generation.md
      - external-links.md
      - newsletter.md
      - management-tasks.md
    - About:
      - about/index.md
      - alternatives.md
      - history-design-future.md
      - benchmarks.md
      - management.md
    - release-notes.md
    markdown_extensions:
      material.extensions.preview:
        targets:
          include:
          - '*'
      abbr: null
      attr_list: null
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java

      }
    
      @Override
      public final <T extends @Nullable Object> Future<T> submit(Callable<T> task) {
        return delegate.submit(wrapTask(checkNotNull(task)));
      }
    
      @Override
      public final Future<?> submit(Runnable task) {
        return delegate.submit(wrapTask(task));
      }
    
      @Override
      public final <T extends @Nullable Object> Future<T> submit(
          Runnable task, @ParametricNullness T result) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/TrustedInputFutureTest.java

      @Override
      AbstractFuture<@Nullable Integer> newDelegate() {
        AbstractFuture<@Nullable Integer> future = new TrustedFuture<@Nullable Integer>() {};
        assertTrue(future instanceof TrustedFuture); // sanity check
        return future;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/UntrustedInputFutureTest.java

      @Override
      AbstractFuture<@Nullable Integer> newDelegate() {
        AbstractFuture<@Nullable Integer> future = new AbstractFuture<@Nullable Integer>() {};
        assertFalse(future instanceof TrustedFuture); // sanity check
        return future;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFutureState.java

        Listener old = listeners;
        listeners = update;
        return old;
      }
    
      static boolean casValue(AbstractFutureState<?> future, @Nullable Object expect, Object update) {
        if (future.value == expect) {
          future.value = update;
          return true;
        }
        return false;
      }
    
      final @Nullable Object value() {
        return value;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 21 02:38:37 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutures.java

       *       return value of this method as its cause
       * </ul>
       */
      public static
          Throwable
          tryInternalFastPathGetFailure(InternalFutureFailureAccess future) {
        return future.tryInternalFastPathGetFailure();
      }
    
      private InternalFutures() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        SettableFuture<Integer> future = SettableFuture.create();
        assertTrue(future.set(42));
        // Later attempts to set the future should return false.
        assertFalse(future.set(23));
        assertFalse(future.setException(new Exception("bar")));
        assertFalse(future.setFuture(SettableFuture.create()));
        // Check that the future has been set properly.
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
        assertTrue(latch.await(5, SECONDS));
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
        assertEquals(expectedValue, future.get());
      }
    
      public void testCancelledFuture() throws InterruptedException, ExecutionException {
        assertTrue(future.isDone());
        assertTrue(future.isCancelled());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        assertFalse(future.isCancelled());
    
        ExecutorService executor = newSingleThreadExecutor();
    
        try {
          Future<Boolean> getResult = executor.submit(() -> future.get());
    
          // Release the future value.
          latch.countDown();
    
          assertTrue(getResult.get(10, SECONDS));
        } finally {
          executor.shutdownNow();
        }
    
        assertTrue(future.isDone());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

              return future = super.scheduleWithFixedDelay(command, initialDelay, delay, unit);
            }
          };
    
      public void testServiceStartStop() throws Exception {
        NullService service = new NullService();
        service.startAsync().awaitRunning();
        assertFalse(future.isDone());
        service.stopAsync().awaitTerminated();
        assertTrue(future.isCancelled());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
Back to Top