MCPcopy Create free account
hub / github.com/alibaba/graph-learn / Uppercase

Function Uppercase

graphlearn/src/common/string/string_tool.cc:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61std::string Uppercase(LiteString s) {
62 std::string result(s.data(), s.size());
63 for (char& c : result) {
64 c = ::toupper(c);
65 }
66 return result;
67}
68
69std::vector<std::string> Split(LiteString text, LiteString delims) {
70 return Split(text, delims, AllowAll());

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected