MCPcopy Create free account
hub / github.com/Illumina/paragraph / match

Method match

external/jsoncpp/jsoncpp.cpp:552–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550}
551
552bool Reader::match(Location pattern, int patternLength) {
553 if (end_ - current_ < patternLength)
554 return false;
555 int index = patternLength;
556 while (index--)
557 if (current_[index] != pattern[index])
558 return false;
559 current_ += patternLength;
560 return true;
561}
562
563bool Reader::readComment() {
564 Location commentBegin = current_ - 1;

Callers 1

_parse_breakendMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected