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

Method insertn

Engine/source/core/stringTable.cpp:159–166  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

dStrncpyFunction · 0.85

Tested by

no test coverage detected