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

Function tolower

highs/io/Filereader.cpp:18–21  ·  view source on GitHub ↗

convert string to lower-case, modifies string

Source from the content-addressed store, hash-verified

16
17// convert string to lower-case, modifies string
18static inline void tolower(std::string& s) {
19 std::transform(s.begin(), s.end(), s.begin(),
20 [](unsigned char c) { return std::tolower(c); });
21}
22
23Filereader* Filereader::getFilereader(const HighsLogOptions& log_options,
24 const std::string filename) {

Callers 9

getFilereaderMethod · 0.70
parseICrashStrategyFunction · 0.50
boolFromStringFunction · 0.50
setLocalOptionValueFunction · 0.50
getFileTypeFunction · 0.50
convertIntoFunction · 0.50
toLowerChFunction · 0.50
to_lowerFunction · 0.50

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected