Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 492 for cancel (0.05 seconds)

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

          super.addListener(listener, executor);
        }
    
        @CanIgnoreReturnValue
        @Override
        public final boolean cancel(boolean mayInterruptIfRunning) {
          return super.cancel(mayInterruptIfRunning);
        }
      }
    
      FluentFuture() {}
    
      /**
       * Converts the given {@code ListenableFuture} to an equivalent {@code FluentFuture}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  2. .ci/jobs.t/elastic+elasticsearch+pull-request+docs-check.yml

              allow-whitelist-orgs-as-admins: true
              trigger-phrase: '.*run\W+elasticsearch-ci/docs-check.*'
              github-hooks: true
              status-context: elasticsearch-ci/docs-check
              cancel-builds-on-update: true
              included-regions:
                - ^docs/.*
              black-list-labels:
                - '>test-mute'
        builders:
          - inject:
              properties-file: '.ci/java-versions.properties'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 20:27:05 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        } catch (TimeoutException expected) {
        } finally {
          latch.countDown();
        }
      }
    
      /**
       * Tests that a canceled future throws a cancellation exception.
       *
       * <p>This method checks the cancel, isCancelled, and isDone methods.
       */
      public void testCanceledFutureThrowsCancellation() throws Exception {
    
        assertFalse(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)
  4. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          // code should be unreachable with correctly implemented Futures.
          // Cancel this future and return.
          // At this point, inputFuture is cancelled and outputFuture doesn't exist, so the value of
          // mayInterruptIfRunning is irrelevant.
          cancel(false);
          return;
        } catch (ExecutionException e) {
          // Set the cause of the exception as this future's exception.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. fastapi/security/open_id_connect_url.py

                bool,
                Doc(
                    """
                    By default, if no HTTP Authorization header is provided, required for
                    OpenID Connect authentication, it will automatically cancel the request
                    and send the client an error.
    
                    If `auto_error` is set to `False`, when the HTTP Authorization header
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. .ci/jobs.t/elastic+elasticsearch+pull-request+rest-compatibility.yml

              allow-whitelist-orgs-as-admins: true
              trigger-phrase: '.*run\W+elasticsearch-ci/rest-compatibility.*'
              github-hooks: true
              status-context: elasticsearch-ci/rest-compatibility
              cancel-builds-on-update: true
              white-list-target-branches:
                - master
              excluded-regions:
                - ^docs/.*
              black-list-labels:
                - '>test-mute'
        builders:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 20:27:05 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  7. .ci/jobs.t/elastic+elasticsearch+pull-request+part-1-fips.yml

              allow-whitelist-orgs-as-admins: true
              trigger-phrase: '.*run\W+elasticsearch-ci/part-1-fips.*'
              github-hooks: true
              status-context: elasticsearch-ci/part-1-fips
              cancel-builds-on-update: true
              black-list-target-branches:
                - 6.8
              excluded-regions:
                - ^docs/.*
              white-list-labels:
                - 'Team:Security'
              black-list-labels:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 16 01:16:48 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  8. .ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-windows-nojdk.yml

              trigger-phrase: '.*run\W+elasticsearch-ci/packaging-tests-windows.*'
              github-hooks: true
              status-context: elasticsearch-ci/packaging-tests-windows
              cancel-builds-on-update: true
              # We've removed the no-jdk distribution on master as well
              black-list-target-branches:
                - master
                - 6.8
              excluded-regions:
                - ^docs/.*
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 19:49:58 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        System.clearProperty("guava.concurrent.generate_cancellation_cause");
      }
    
      public void testCancel_notDoneNoInterrupt() throws Exception {
        Future<?> future = newFutureInstance();
        assertTrue(future.cancel(false));
        assertTrue(future.isCancelled());
        assertTrue(future.isDone());
        assertThat(tryInternalFastPathGetFailure(future)).isNull();
        CancellationException e = assertThrows(CancellationException.class, future::get);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        System.clearProperty("guava.concurrent.generate_cancellation_cause");
      }
    
      public void testCancel_notDoneNoInterrupt() throws Exception {
        Future<?> future = newFutureInstance();
        assertTrue(future.cancel(false));
        assertTrue(future.isCancelled());
        assertTrue(future.isDone());
        assertThat(tryInternalFastPathGetFailure(future)).isNull();
        CancellationException e = assertThrows(CancellationException.class, future::get);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.3K bytes
    - Click Count (0)
Back to Top