MCPcopy Create free account
hub / github.com/crownengine/crown / copy

Function copy

3rdparty/bgfx/src/bgfx.cpp:4177–4183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4175 }
4176
4177 const Memory* copy(const void* _data, uint32_t _size)
4178 {
4179 BX_ASSERT(0 < _size, "Invalid memory operation. _size is 0.");
4180 const Memory* mem = alloc(_size);
4181 bx::memCopy(mem->data, _data, _size);
4182 return mem;
4183 }
4184
4185 struct MemoryRef
4186 {

Callers 15

createMethod · 0.70
createMethod · 0.70
strlib.hFile · 0.50
array.hFile · 0.50
reserveMethod · 0.50
filter.cppFile · 0.50
source.cppFile · 0.50
buffer.cppFile · 0.50
AddActiveEffectSlotsFunction · 0.50
auxeffectslot.cppFile · 0.50
effect.cppFile · 0.50
InitNearFieldCtrlFunction · 0.50

Calls 2

allocFunction · 0.85
memCopyFunction · 0.85

Tested by

no test coverage detected