MCPcopy Create free account
hub / github.com/cuberite/cuberite / containsNewLine

Function containsNewLine

lib/jsoncpp/src/lib_json/json_reader.cpp:59–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58
59static bool
60containsNewLine( Reader::Location begin,
61 Reader::Location end )
62{
63 for ( ;begin < end; ++begin )
64 if ( *begin == '\n' || *begin == '\r' )
65 return true;
66 return false;
67}
68
69static std::string codePointToUTF8(unsigned int cp)
70{

Callers 1

readCommentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected