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

Function getNewString

source/util/bstring.cpp:52–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50#define TOTAL_LEVEL 13
51
52char* getNewString(int level) {
53 return new char[(U32)(1 << level)];
54}
55
56void releaseString(int level, char* str) {
57 delete[] str;

Callers 8

BStringMethod · 0.85
substrMethod · 0.85
toLowerCaseMethod · 0.85
toUpperCaseMethod · 0.85
operator+Method · 0.85
makeWritableMethod · 0.85
copyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected