- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 435 for cancel (0.07 sec)
-
src/main/java/jcifs/dcerpc/DcerpcConstants.java
public static final int DCERPC_FIRST_FRAG = 0x01; /* First fragment */ public static final int DCERPC_LAST_FRAG = 0x02; /* Last fragment */ public static final int DCERPC_PENDING_CANCEL = 0x04; /* Cancel was pending at sender */ public static final int DCERPC_RESERVED_1 = 0x08; public static final int DCERPC_CONC_MPX = 0x10; /* supports concurrent multiplexing */ public static final int DCERPC_DID_NOT_EXECUTE = 0x20;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
}; future = service.schedule(runnable, 5, MINUTES); future.cancel(true); assertTrue(future.isCancelled()); delegateFuture = (ScheduledFuture<?>) delegateQueue.element(); assertTrue(delegateFuture.isCancelled()); delegateQueue.clear(); future = service.scheduleAtFixedRate(runnable, 5, 5, MINUTES); future.cancel(true); assertTrue(future.isCancelled());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 28.1K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
// // `cancellation_manager` must live until after `Join` finishes and pending // `is_async` operations finish. In addition to allowing the caller to cancel // the operation, its `StartCancel` method will be called if op execution // fails on any device in order to cancel the others. void StartExecute(TFE_Context* context, const char* operation_name, std::vector<TFE_TensorHandle*> inputs,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 25.9K bytes - Viewed (0) -
cmd/bootstrap-peer-server.go
mu.Lock() offlineEndpoints = append(offlineEndpoints, fmt.Errorf("%s is unreachable: %w", clnt, grid.ErrDisconnected)) mu.Unlock() return } ctx, cancel := context.WithTimeout(ctx, 2*time.Second) defer cancel() err := clnt.Verify(ctx, srcCfg) mu.Lock() if err != nil { bootstrapTraceMsg(fmt.Sprintf("bootstrapVerify: %v, endpoint: %s", err, clnt))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/prepare-storage.go
Path: pathJoin(healthCheckPathPrefix, healthCheckLivenessPath), } httpClient := &http.Client{ Transport: globalInternodeTransport, } ctx, cancel := context.WithTimeout(GlobalContext, timeout) defer cancel() req, err := http.NewRequestWithContext(ctx, http.MethodGet, serverURL.String(), nil) if err != nil { return err } // Indicate that the liveness check for a peer call
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 11.1K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
valueAndCloser.closeAsync(); } super.waitUntilClosed(closingFuture); } @Override void cancelFinalStepAndWait(ClosingFuture<TestCloseable> closingFuture) { assertThat(closingFuture.cancel(false)).isTrue(); ValueAndCloser<?> unused = finishToValueAndCloser(closingFuture); waitUntilClosed(closingFuture); futureCancelled.countDown(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
long r = 0; List<Facade<Integer>> list = new ArrayList<>(reps); for (int i = 0; i < reps; i++) { final Facade<Integer> localFuture = impl.newFacade(); list.add(localFuture); localFuture.cancel(false); } for (int i = 0; i < reps; i++) { Facade<Integer> facade = list.get(i); try { facade.get(); r++; } catch (CancellationException e) { r += 2; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CollectionFuture.java
/* * We access this field racily but safely. For discussion of a similar situation, see the comments * on the fields of TimeoutFuture. This field is slightly different from the fields discussed * there: cancel() never reads this field, only writes to it. That makes the race here completely * harmless, rather than just 99.99% harmless. */ @CheckForNull @LazyInit private List<@Nullable Present<V>> values; CollectionFuture(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/batch-rotate.go
if err != nil { // invalid worker size. return err } ctx, cancel := context.WithCancel(ctx) results := make(chan itemOrErr[ObjectInfo], 100) if err := api.Walk(ctx, r.Bucket, r.Prefix, results, WalkOptions{ Marker: lastObject, Filter: selectObj, }); err != nil { cancel() // Do not need to retry if we can't list objects on source. return err } failed := false
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 14.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SettableFuture.java
/** * A {@link ListenableFuture} whose result can be set by a {@link #set(Object)}, {@link * #setException(Throwable)} or {@link #setFuture(ListenableFuture)} call. It can also, like any * other {@code Future}, be {@linkplain #cancel cancelled}. * * <p>{@code SettableFuture} is the recommended {@code ListenableFuture} implementation when your * task cannot be implemented with {@link ListeningExecutorService}, the various {@link Futures}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 2.4K bytes - Viewed (0)