MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / memory_management

Method memory_management

common/memory.h:1426–1429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1424 MemoryManager& operator=(const MemoryManager&) = default;
1425
1426 MemoryManagement memory_management() const noexcept {
1427 return arena_ == nullptr ? MemoryManagement::kReferenceCounting
1428 : MemoryManagement::kPooling;
1429 }
1430
1431 // Allocates memory directly from the allocator used by this memory manager.
1432 // If `memory_management()` returns `MemoryManagement::kReferenceCounting`,

Callers 1

TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36