- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for Cancellation (0.19 sec)
-
tensorflow/c/eager/tfe_cancellation_manager_internal.h
limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_TFE_CANCELLATION_MANAGER_INTERNAL_H_ #define TENSORFLOW_C_EAGER_TFE_CANCELLATION_MANAGER_INTERNAL_H_ #include "tensorflow/c/conversion_macros.h" #include "tensorflow/core/framework/cancellation.h" struct TFE_CancellationManager; typedef struct TFE_CancellationManager TFE_CancellationManager; namespace tensorflow {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 02 18:56:02 GMT 2021 - 1.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
} } /** A special value to represent cancellation and the 'wasInterrupted' bit. */ private static final class Cancellation { // constants to use when GENERATE_CANCELLATION_CAUSES = false @CheckForNull static final Cancellation CAUSELESS_INTERRUPTED; @CheckForNull static final Cancellation CAUSELESS_CANCELLED; static { if (GENERATE_CANCELLATION_CAUSES) { CAUSELESS_CANCELLED = null;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
context_ = context; operation_name_ = operation_name; step_id_ = step_id; op_inputs_ = inputs; attributes_ = attributes; expected_max_outputs_ = expected_max_outputs; cancellation_manager_ = &cancellation_manager; execution_state_ = ExecutionState::kReadyToExecute; } start_execute_.notify_one(); } std::vector<TensorHandlePtr> DeviceThread::Join(TF_Status* status) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java
// Load the "normal" copy of SettableFuture and related classes. SettableFuture<?> unused = SettableFuture.create(); // Hack to load AbstractFuture et. al. in a new classloader so that it tries to re-read the // cancellation-cause system property. This allows us to test what happens if reading the // property is forbidden and then continue running tests normally in one jvm without resorting
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 5.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
TFE_CancellationManager* cancellation_manager) { tensorflow::unwrap(cancellation_manager)->StartCancel(); } bool TFE_CancellationManagerIsCancelled( TFE_CancellationManager* cancellation_manager) { return tensorflow::unwrap(cancellation_manager)->IsCancelled(); } bool TFE_CancellationManagerIsCancelling( TFE_CancellationManager* cancellation_manager) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
doc/next/6-stdlib/99-minor/net/63116.md
The [DNSError] type now wraps errors caused by timeouts or cancellation. For example, `errors.Is(someDNSErr, context.DeadlineExceedeed)`
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Apr 24 13:37:36 GMT 2024 - 198 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
// Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation // cause system property. This allows us to run with both settings of the property in one jvm // without resorting to even crazier hacks to reset static final boolean fields. System.setProperty("guava.concurrent.generate_cancellation_cause", "true"); final String concurrentPackage = SettableFuture.class.getPackage().getName();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
// Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation // cause system property. This allows us to run with both settings of the property in one jvm // without resorting to even crazier hacks to reset static final boolean fields. System.setProperty("guava.concurrent.generate_cancellation_cause", "true"); final String concurrentPackage = SettableFuture.class.getPackage().getName();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.1K bytes - Viewed (0) -
okhttp-coroutines/README.md
} } ``` This is implemented using `suspendCancellableCoroutine` but uses the standard Dispatcher in OkHttp. This means that by default Kotlin's Dispatchers are not used. Cancellation if implemented sensibly in both directions. Cancelling a coroutine scope, will cancel the call. Cancelling a call, will throw a CancellationException
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Nov 09 15:47:27 GMT 2023 - 609 bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
/** * 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()); assertFalse(future.isCancelled()); CountDownLatch successLatch = new CountDownLatch(1); // Run cancellation in a separate thread as an extra thread-safety test.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 18:30:30 GMT 2023 - 6K bytes - Viewed (0)