MCPcopy Create free account
hub / github.com/apache/fory / release

Method release

cpp/fory/util/pool.h:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 void release(T *ptr) noexcept {
93 if (ptr == nullptr) {
94 return;
95 }
96 std::unique_ptr<T> item(ptr);
97 SpinLockGuard guard(lock_);
98 items_.push_back(std::move(item));
99 }
100
101 SpinLock lock_;
102 std::vector<std::unique_ptr<T>> items_;

Callers 8

operator()Method · 0.45
acquireMethod · 0.45
get_system_infoFunction · 0.45
get_system_infoFunction · 0.45
get_system_infoFunction · 0.45
get_system_infoFunction · 0.45
generate_markdown_reportFunction · 0.45
get_system_infoFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected