MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / getLevel

Method getLevel

source/util/bstring.cpp:594–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592}
593
594int BString::getLevel() const {
595 if (data->level) {
596 return data->level;
597 }
598 return powerOf2(length() + 1);
599}
600
601BString BString::toLowerCase() const {
602 if (isEmpty()) {

Callers

nothing calls this directly

Calls 2

lengthFunction · 0.85
powerOf2Function · 0.70

Tested by

no test coverage detected