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

Method insertn

Engine/source/core/stringTable.cpp:160–167  ·  view source on GitHub ↗

--------------------------------------

Source from the content-addressed store, hash-verified

158
159//--------------------------------------
160StringTableEntry _StringTable::insertn(const char* src, S32 len, const bool caseSens)
161{
162 char val[256];
163 AssertFatal(len < 255, "Invalid string to insertn");
164 dStrncpy(val, src, len);
165 val[len] = 0;
166 return insert(val, caseSens);
167}
168
169//--------------------------------------
170StringTableEntry _StringTable::lookup(const char* val, const bool caseSens)

Callers 5

tryGetBasePathFunction · 0.80
getDSOPathFunction · 0.80
sGetDocTypeStringFunction · 0.80
getAssetPathMethod · 0.80
setCurrentPathMethod · 0.80

Calls 2

dStrncpyFunction · 0.85
insertFunction · 0.85

Tested by

no test coverage detected