MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / match

Method match

Source/JSON/jsoncpp.cpp:475–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473}
474
475bool Reader::match(Location pattern, int patternLength) {
476 if (end_ - current_ < patternLength)
477 return false;
478 int index = patternLength;
479 while (index--)
480 if (current_[index] != pattern[index])
481 return false;
482 current_ += patternLength;
483 return true;
484}
485
486bool Reader::readComment() {
487 Location commentBegin = current_ - 1;

Callers 15

mainFunction · 0.45
jquery.jsFile · 0.45
stripPath2Function · 0.45
navToFunction · 0.45
toggleFolderFunction · 0.45
convertToIdFunction · 0.45
nextMethod · 0.45
uFunction · 0.45
hFunction · 0.45
replaceListsFunction · 0.45
replaceScheduleListsFunction · 0.45
isolatedFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected