MCPcopy Create free account
hub / github.com/ValveSoftware/Proton / containsNewLine

Function containsNewLine

vrclient_x64/jsoncpp.cpp:263–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261// ////////////////////////////////
262
263static bool containsNewLine(Reader::Location begin, Reader::Location end) {
264 for (; begin < end; ++begin)
265 if (*begin == '\n' || *begin == '\r')
266 return true;
267 return false;
268}
269
270// Class Reader
271// //////////////////////////////////////////////////////////////////

Callers 1

readCommentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected