Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 97 for Cancelled (0.04 sec)

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

       *       Futures#getUnchecked}.
       * </ul>
       *
       * @throws ExecutionException if the computation threw an exception
       * @throws CancellationException if the computation was cancelled
       */
      @CanIgnoreReturnValue
      @ParametricNullness
      public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
          throws ExecutionException {
        boolean interrupted = false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      private static final int MAX_BUSY_WAIT_SPINS = 1000;
    
      @Override
      public final void run() {
        /*
         * Set runner thread before checking isDone(). If we were to check isDone() first, the task
         * might be cancelled before we set the runner thread. That would make it impossible to
         * interrupt, yet it will still run, since interruptTask will leave the runner value null,
         * allowing the CAS below to succeed.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

               * the lock) until after it's scheduled and the runningTask field is set.
               */
              if (requireNonNull(runningTask).isCancelled()) {
                // task may have been cancelled while blocked on the lock.
                return;
              }
              AbstractScheduledService.this.runOneIteration();
            } catch (Throwable t) {
              restoreInterruptIfIsInterruptedException(t);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      public void testToString_cancelled() throws Exception {
        assertThat(immediateCancelledFuture().toString()).matches("[^\\[]+\\[status=CANCELLED\\]");
      }
    
      public void testToString_failed() {
        assertThat(immediateFailedFuture(new RuntimeException("foo")).toString())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbWatchHandleTest.java

            assertEquals(fileNotifyInfo3, result2.get(1));
    
            assertTrue(result3.isEmpty());
    
            verify(watchHandle, times(3)).watch();
        }
    
        /**
         * Test watch() returning null (cancelled scenario)
         */
        @Test
        void testWatchReturnsNull() throws CIFSException {
            // Setup mock behavior
            when(watchHandle.watch()).thenReturn(null);
    
            // Execute
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        step2Waiter.awaitReturned();
        step4Waiter.awaitStarted();
    
        // Step 1 is not cancelled because it was done.
        assertWithMessage("step1.statusFuture().isCancelled()")
            .that(step1.statusFuture().isCancelled())
            .isFalse();
        // But its closeable is closed.
        assertClosed(closeable1);
    
        // Step 2 is cancelled because it wasn't complete.
        assertWithMessage("step2.statusFuture().isCancelled()")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * - And this future *has* failed: This method is called only from handleException (through
           *   getOrInitSeenExceptions). handleException tried to call setException and failed, so
           *   either this Future was cancelled (which we ruled out with the isCancelled check above),
           *   or it had already failed. (It couldn't have completed *successfully* or even had
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      public void testToString_cancelled() throws Exception {
        assertThat(immediateCancelledFuture().toString()).matches("[^\\[]+\\[status=CANCELLED\\]");
      }
    
      public void testToString_failed() {
        assertThat(immediateFailedFuture(new RuntimeException("foo")).toString())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.27.md

    - Two changes to the `/debug/api_priority_and_fairness/dump_priority_levels` endpoint of API Priority and Fairness: added total number of dispatched, timed-out, rejected and cancelled requests; output now sorted by `PriorityLevelName`. ([#112393](https://github.com/kubernetes/kubernetes/pull/112393), [@borgerli](https://github.com/borgerli))
    - Unlocked the `CSIMigrationvSphere` feature gate.
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jul 17 07:48:22 UTC 2024
    - 466.3K bytes
    - Viewed (2)
  10. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

              ConnectResult(this, nextPlan = connectTcpNextPlan, throwable = tcpConnectThrowable)
            }
            canceled -> {
              events += "plan $id TCP connect canceled"
              ConnectResult(this, nextPlan = connectTcpNextPlan, throwable = IOException("canceled"))
            }
            connectTcpNextPlan != null -> {
              events += "plan $id needs follow-up"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top