- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for callback (0.18 sec)
-
src/cmd/cgo/internal/test/callback_c.c
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include <string.h> #include "_cgo_export.h" void callback(void *f) { // use some stack space volatile char data[64*1024]; data[0] = 0; goCallback(f); data[sizeof(data)-1] = 0; } void callGoFoo(void) { extern void goFoo(void); goFoo(); } void IntoC(void) {
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 933 bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c_gccgo.c
Austin Clements <******@****.***> 1683224724 -0400
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 452 bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c_gc.c
Austin Clements <******@****.***> 1683224724 -0400
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 592 bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/callback/main.h
// license that can be found in the LICENSE file. class Callback { public: virtual ~Callback() { } virtual std::string run() { return "Callback::run"; } }; class Caller { private: Callback *callback_; public: Caller(): callback_(0) { } ~Caller() { delCallback(); } void delCallback() { delete callback_; callback_ = 0; } void setCallback(Callback *cb) { delCallback(); callback_ = cb; } std::string call();
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 529 bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
const uint64_t max_age_; /// The maximum number of entries in the cache. A value of 0 means there is no /// limit on entry count. const size_t max_entries_; /// The callback to read timestamps. std::function<uint64_t()> timer_seconds_; /// Guards access to the cache and the LRU list. absl::Mutex mu_; /// The cache (a map from string key to Entry).
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
TFE_CancellationManager*); TF_CAPI_EXPORT extern bool TFE_CancellationManagerRegisterCallback( TFE_CancellationManager*, TFE_CancellationToken token, const TFE_CancelCallback* c_callback, const char* callback_name); TF_CAPI_EXPORT extern bool TFE_CancellationManagerDeregisterCallback( TFE_CancellationManager*, TFE_CancellationToken token); TF_CAPI_EXPORT extern bool TFE_CancellationManagerTryDeregisterCallback(
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
/// /// This class should be shared by read-only random access files on a remote /// filesystem (e.g. GCS). class RamFileBlockCache { public: /// The callback executed when a block is not found in the cache, and needs to /// be fetched from the backing filesystem. This callback is provided when the /// cache is constructed. It returns total bytes read ( -1 in case of errors
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:46:34 GMT 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
// If false, all activations are deleted in the first call to ComputeGradient. // Else, only when this is destructed. bool persistent_; }; // Describes a callback for special-cased and more efficient jvp computation. // // Could just be a simple typedef in ForwardAccumulator, but MSVC chokes on // that. template <typename Gradient> class ForwardFunction
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/c_api_experimental.h
// Set XLA's internal BuildXlaOpsPassFlags.tf_xla_enable_lazy_compilation to the // value of 'enabled'. Also returns the original value of that flag. // // Use in tests to allow XLA to fallback to TF classic. This has global effect. TF_CAPI_EXPORT unsigned char TF_SetXlaEnableLazyCompilation( unsigned char enable); TF_CAPI_EXPORT unsigned char TF_SetTfXlaCpuGlobalJit(unsigned char enable);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
virtual void ClearCachesAndThreadExecutors() = 0; // Initialize the step resource container for a training step. This is used // in current TF runtime. For tfrt, it is used by fallback op handler. virtual void StartStep() = 0; // Destroy the step resource container for a training step. virtual void EndStep() = 0; // Return the Eager Executor for current thread. Please note that Eager
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0)