MCPcopy Create free account
hub / github.com/apache/singa / ToLowerCase

Function ToLowerCase

include/singa/utils/string.h:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39inline string ToLowerCase(const string& input) {
40 string out;
41 out.resize(input.size());
42 std::transform(input.begin(), input.end(), out.begin(), ::tolower);
43 return out;
44}
45
46inline int ArgPos(int argc, char** arglist, const char* arg) {
47 for (int i = 0; i < argc; i++) {

Callers 4

SetupMethod · 0.85
SetupMethod · 0.85
SetupMethod · 0.85
CreateInitializerFunction · 0.85

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected