MCPcopy Create free account
hub / github.com/GPUOpen-Tools/radeon_gpu_analyzer / AppendData

Method AppendData

external/celf/Src/CElfSection.cpp:226–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226bool
227CElfSection::AppendData(
228 const char* pData,
229 size_t size)
230{
231 size_t startingSize = m_Data.size();
232 m_Data.resize(startingSize + size);
233
234 if (size != 0)
235 {
236 memcpy(&m_Data[startingSize], pData, size);
237 }
238
239 return true;
240}
241
242bool
243CElfSection::AppendData(

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
resizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected