Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TorqueGameEngines/Torque3D
/ formatToken
Function
formatToken
Engine/lib/collada/src/dae/daeElement.cpp:477–481 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
475
}
476
477
string formatToken(const string& token) {
478
if (token.length() <= 50)
479
return token;
480
return token.substr(0, 47) +
"..."
;
481
}
482
} // namespace {
483
484
daeElement::compareResult::compareResult()
Callers
1
format
Method · 0.85
Calls
2
substr
Method · 0.80
length
Method · 0.45
Tested by
no test coverage detected