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

Method viewFlags

Sources/Shared/Containers/String.cpp:348–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346 }
347
348 StringViewFlags String::viewFlags() const {
349 return StringViewFlags(_large.size & std::size_t(StringViewFlags::Global)) | StringViewFlags::NullTerminated;
350 }
351
352 const char* String::data() const {
353 if (_small.size & Implementation::SmallStringBit)

Callers 1

BasicStringViewMethod · 0.80

Calls 1

StringViewFlagsEnum · 0.70

Tested by

no test coverage detected