MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / size

Method size

Sources/Shared/Containers/String.cpp:376–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374 }
375
376 std::size_t String::size() const {
377 if (_small.size & Implementation::SmallStringBit)
378 return _small.size & ~SmallSizeMask;
379 return _large.size & ~LargeSizeMask;
380 }
381
382 char* String::begin() {
383 if (_small.size & Implementation::SmallStringBit)

Callers 15

NextCharFunction · 0.45
PrevCharFunction · 0.45
FromUtf16Function · 0.45
ToUtf16Function · 0.45
FromUtf16Function · 0.45
TryGetAssetPathMethod · 0.45
FileNameToHashFunction · 0.45
DEATH_ASSERTFunction · 0.45
OpenMethod · 0.45
IncrementMethod · 0.45
AddFileMethod · 0.45
FinalizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected