MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / reset

Method reset

src/backend/common/unique_handle.hpp:57–62  ·  view source on GitHub ↗

\brief Deletes the handle if created.

Source from the content-addressed store, hash-verified

55
56 /// \brief Deletes the handle if created.
57 void reset() noexcept {
58 if (handle_) {
59 ResourceHandler<T>::destroyHandle(handle_);
60 handle_ = 0;
61 }
62 }
63
64 unique_handle(const unique_handle &other) noexcept = delete;
65 unique_handle &operator=(unique_handle &other) noexcept = delete;

Callers 15

evalMethod · 0.80
evalMultipleFunction · 0.80
findPlanFunction · 0.80
checkAndMigrateFunction · 0.80
evalMethod · 0.80
evalMultipleFunction · 0.80
evalMultipleFunction · 0.80
getMainWindowMethod · 0.80
getChartMethod · 0.80
unlockMethod · 0.80
~DeviceManagerMethod · 0.80
checkAndMigrateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected