- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for cancelled (0.05 sec)
-
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
public boolean cancel(boolean mayInterruptIfRunning) { logger.get().log(FINER, "cancelling {0}", this); boolean cancelled = future.cancel(mayInterruptIfRunning); if (cancelled) { close(); } return cancelled; } private void close() { logger.get().log(FINER, "closing {0}", this); closeables.close(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 97.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* either from cancellation or because an input future has completed. If N futures are passed in, * and M delegates are cancelled, the remaining M input futures will be cancelled once N - M of * the input futures complete. If all the delegates are cancelled, all the input futures will be * too. * * @since 17.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
// before the cancelled future completes, it will synchronously complete both the newFuture // from the cancelled operation and its own. This can cause one runnable to queue two tasks, // breaking the invariant this method relies on to iteratively run the next task after the // previous one completes. if (get() == RunningState.CANCELLED) { delegate = null; sequencer = null;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 22.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ClosingFuture.java
public boolean cancel(boolean mayInterruptIfRunning) { logger.get().log(FINER, "cancelling {0}", this); boolean cancelled = future.cancel(mayInterruptIfRunning); if (cancelled) { close(); } return cancelled; } private void close() { logger.get().log(FINER, "closing {0}", this); closeables.close(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 98.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
assertTrue(ex.getMessage().contains("Did not receive response")); } // If the request is cancelled (NTSTATUS 0xC0000120), return null @Test @DisplayName("watch() returns null when request cancelled (NTSTATUS 0xC0000120)") void watch_sendCancelled_returnsNull() throws Exception { when(handle.isValid()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} manualExecutorTask[0].run(); for (Future<?> result : results) { if (!result.isCancelled()) { result.get(10, SECONDS); } // TODO(cpovirk): Verify that the cancelled futures are exactly ones that we expect. } assertThat(logHandler.getStoredLogRecords()).isEmpty(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 16.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* input future and that of the future returned by the chain function. That is, if the returned * {@code Future} is cancelled, it will attempt to cancel the other two, and if either of the * other two is cancelled, the returned {@code Future} will receive a callback in which it will * attempt to cancel itself. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
} catch (final SmbException e) { if (e.getNtStatus() == 0xC0000120) { // cancelled log.debug("Request was cancelled", e); return null; } throw e; } if (log.isTraceEnabled()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
.github/workflows/maven.yml
shell: bash run: mvn site -e -B -V -Preporting - name: Upload test artifacts uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 if: failure() || cancelled() with: name: ${{ github.run_number }}-full-build-artifact-${{ runner.os }}-${{ matrix.java }} path: '**/target/surefire-reports/*' integration-tests: needs: initial-build
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Aug 25 07:07:00 UTC 2025 - 8.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
} @Override public boolean isCancelled() { return delegate.isCancelled(); } } /** * A {@link Scheduler} that provides a convenient way for the {@link AbstractScheduledService} to * use a dynamically changing schedule. After every execution of the task, assuming it hasn't been * cancelled, the {@link #getNextSchedule} method will be called. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0)