MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / set

Method set

Engine/source/core/stringBuffer.cpp:133–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131//-------------------------------------------------------------------------
132
133void StringBuffer::set(const StringBuffer *in)
134{
135 // Copy the vector.
136 mBuffer.setSize(in->mBuffer.size());
137 dMemcpy(mBuffer.address(), in->mBuffer.address(), sizeof(UTF16) * mBuffer.size());
138 mDirty8 = true;
139}
140
141void StringBuffer::set(const UTF8 *in)
142{

Callers

nothing calls this directly

Calls 10

convertUTF8toUTF16NFunction · 0.85
dMemcpyFunction · 0.50
dStrlenFunction · 0.50
setSizeMethod · 0.45
sizeMethod · 0.45
addressMethod · 0.45
clearMethod · 0.45
push_backMethod · 0.45
lastMethod · 0.45
compactMethod · 0.45

Tested by

no test coverage detected