MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / set

Method set

engine/source/string/stringBuffer.cc:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115//-------------------------------------------------------------------------
116
117void StringBuffer::set(const StringBuffer *in)
118{
119 // Copy the vector.
120 mBuffer.setSize(in->mBuffer.size());
121 dMemcpy(mBuffer.address(), in->mBuffer.address(), sizeof(UTF16) * mBuffer.size());
122 mDirty8 = true;
123}
124
125void StringBuffer::set(const UTF8 *in)
126{

Callers 8

SimObjectMethod · 0.45
unregisterObjectMethod · 0.45
deleteObjectMethod · 0.45
onAddMethod · 0.45
setSelectedMethod · 0.45
setExpandedMethod · 0.45
setModDynamicFieldsMethod · 0.45
setModStaticFieldsMethod · 0.45

Calls 10

dStrlenFunction · 0.70
convertUTF8toUTF16Function · 0.70
dMemcpyFunction · 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