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

Function is_end

highs/util/stringutil.cpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107bool is_end(std::string& str, size_t end, const std::string& chars) {
108 size_t pos = str.find_first_not_of(chars, end);
109 if (pos == std::string::npos || pos == str.size()) return true;
110 return false;
111}
112
113size_t first_word_end(std::string& str, size_t start) {
114 const std::string chars = "\t\n\v\f\r ";

Callers 6

checkFirstWordMethod · 0.85
parseRowsMethod · 0.85
parseColsMethod · 0.85
parseRhsMethod · 0.85
parseRangesMethod · 0.85
parseSosMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected