MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / tolower

Function tolower

highs/io/filereaderlp/reader.cpp:314–317  ·  view source on GitHub ↗

convert string to lower-case, modifies string

Source from the content-addressed store, hash-verified

312
313// convert string to lower-case, modifies string
314static inline void tolower(std::string& s) {
315 std::transform(s.begin(), s.end(), s.begin(),
316 [](unsigned char c) { return std::tolower(c); });
317}
318
319static inline bool iskeyword(const std::string& str,
320 const std::string* keywords, const int nkeywords) {

Callers 1

processtokensMethod · 0.70

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected