MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / allocate

Method allocate

dds/DCPS/MemoryPool.cpp:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void
67AllocHeader::allocate(size_t size) {
68 set_allocated();
69 set_size(size);
70}
71
72void
73AllocHeader::set_size(size_t size)

Callers 1

GenericDataMethod · 0.45

Calls 6

set_allocatedFunction · 0.85
includesFunction · 0.85
next_adjacentMethod · 0.80
set_sizeMethod · 0.80
sizeMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected