MCPcopy Create free account
hub / github.com/comaps/comaps / AllocateMutationBuffer

Method AllocateMutationBuffer

libs/drape/attribute_buffer_mutator.cpp:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void * AttributeBufferMutator::AllocateMutationBuffer(size_t byteCount)
21{
22 m_array.push_back(make_pair(SharedBufferManager::instance().reserveSharedBuffer(byteCount), byteCount));
23 return &((*m_array.back().first)[0]);
24}
25} // namespace dp

Callers 3

GetAttributeMutationMethod · 0.80
GetAttributeMutationMethod · 0.80
GetAttributeMutationMethod · 0.80

Calls 3

reserveSharedBufferMethod · 0.80
backMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected