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

Function Lowercase

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

Source from the content-addressed store, hash-verified

51} // anonymous namespace
52
53std::string Lowercase(LiteString s) {
54 std::string result(s.data(), s.size());
55 for (char& c : result) {
56 c = ::tolower(c);
57 }
58 return result;
59}
60
61std::string Uppercase(LiteString s) {
62 std::string result(s.data(), s.size());

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected