- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for destructors (0.49 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) -
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/cgo/callbacks.go
var x_cgo_sys_thread_create byte var _cgo_sys_thread_create = &x_cgo_sys_thread_create // Indicates whether a dummy thread key has been created or not. // // When calling go exported function from C, we register a destructor // callback, for a dummy thread key, by using pthread_key_create. //go:cgo_import_static x_cgo_pthread_key_created //go:linkname x_cgo_pthread_key_created x_cgo_pthread_key_created
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 5.6K bytes - Viewed (0) -
src/runtime/cgo/gcc_libinit.c
pthread_cond_wait(&runtime_init_cond, &runtime_init_mu); } // The key and x_cgo_pthread_key_created are for the whole program, // whereas the specific and destructor is per thread. if (x_cgo_pthread_key_created == 0 && pthread_key_create(&pthread_g, pthread_key_destructor) == 0) { x_cgo_pthread_key_created = 1; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 01:07:18 UTC 2024 - 5.8K bytes - Viewed (0)