- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for destructors (0.47 sec)
-
tensorflow/cc/framework/scope.cc
size_t idx = -1; while ((idx = name.find(kScopeSeparator, idx + 1)) != string::npos) { (*name_map)[name.substr(0, idx)] = 0; } } // We provide null destructors for these shared ptrs (except for name_map) // since the caller owns them and doesn't want the scope to destroy them. return Scope(new Scope::Impl( std::shared_ptr<Graph>(graph, [](Graph*) {}),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 20.9K bytes - Viewed (0) -
src/runtime/race.go
// already held it's assumed that the first caller exits the program // so other calls can hang forever without an issue. lock(&raceFiniLock) // __tsan_fini will run C atexit functions and C++ destructors, // which can theoretically call back into Go. // Tell the scheduler we entering external code. entersyscall() // We're entering external code that may call ExitProcess on // Windows.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/destructor.c
#include "_cgo_export.h" static void callDestructorCallback() { GoDestructorCallback(); } static void (*destructorFn)(void); void registerDestructor() { destructorFn = callDestructorCallback; } __attribute__((destructor)) static void destructor() { if (destructorFn) { destructorFn(); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 21:26:05 UTC 2023 - 459 bytes - Viewed (0) -
tensorflow/c/eager/tape.h
// // Keeps references to Tensors watched via Watch and computed in Accumulate // corresponding to output_tensors, and releases these references in its // destructor. However, waiting until the destructor runs loses the memory // efficiency of forward-mode autodiff. Instead, language bindings should call // DeleteGradient as soon as a Tensor which was `Watch`ed or was an output
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 12:40:29 UTC 2024 - 47.2K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
return sb.String() } // Destructor is a destructor. type Destructor struct { Name AST } func (d *Destructor) print(ps *printState) { ps.writeByte('~') ps.print(d.Name) } func (d *Destructor) Traverse(fn func(AST) bool) { if fn(d) { d.Name.Traverse(fn) } } func (d *Destructor) Copy(fn func(AST) AST, skip func(AST) bool) AST { if skip(d) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/destructor.go
Ian Lance Taylor <******@****.***> 1681938997 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 21:26:05 UTC 2023 - 442 bytes - Viewed (0) -
tensorflow/c/eager/dlpack.h
TF_Status* status, TFE_Context* ctx); // Calls the destructor of DLManagedTensor, used in the destructor of PyCapsule. TF_CAPI_EXPORT extern void TFE_CallDLManagedTensorDeleter(void* dlm_ptr); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Mar 28 08:41:24 UTC 2020 - 1.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-test-part.h
namespace testing { // A copyable object representing the result of a test part (i.e. an // assertion or an explicit FAIL(), ADD_FAILURE(), or SUCCESS()). // // Don't inherit from TestPartResult as its destructor is not virtual. class GTEST_API_ TestPartResult { public: // The possible outcomes of a test part (i.e. an assertion or an // explicit SUCCEED(), FAIL(), or ADD_FAILURE()). enum Type {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 6.4K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-test-part.h
namespace testing { // A copyable object representing the result of a test part (i.e. an // assertion or an explicit FAIL(), ADD_FAILURE(), or SUCCESS()). // // Don't inherit from TestPartResult as its destructor is not virtual. class GTEST_API_ TestPartResult { public: // The possible outcomes of a test part (i.e. an assertion or an // explicit SUCCEED(), FAIL(), or ADD_FAILURE()). enum Type {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.4K bytes - Viewed (0) -
src/runtime/sys_darwin_arm64.go
package runtime import ( "internal/abi" "internal/goarch" "unsafe" ) // libc function wrappers. Must run on system stack. //go:nosplit //go:cgo_unsafe_args func g0_pthread_key_create(k *pthreadkey, destructor uintptr) int32 { ret := asmcgocall(unsafe.Pointer(abi.FuncPCABI0(pthread_key_create_trampoline)), unsafe.Pointer(&k)) KeepAlive(k) return ret } func pthread_key_create_trampoline() //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 30 03:11:18 UTC 2021 - 1.7K bytes - Viewed (0)