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

Method acquire

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

Fetch an instance from the pool, constructing via the factory if needed.

Source from the content-addressed store, hash-verified

55
56 // Fetch an instance from the pool, constructing via the factory if needed.
57 Ptr acquire() { return Ptr(acquire_raw().release(), Releaser{this}); }
58
59 template <typename Handler>
60 auto borrow(Handler &&handler)

Callers 4

serializeMethod · 0.45
serialize_toMethod · 0.45
deserializeMethod · 0.45
TESTFunction · 0.45

Calls 1

releaseMethod · 0.45

Tested by 1

TESTFunction · 0.36