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

Method match

vrclient_x64/jsoncpp.cpp:521–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519}
520
521bool Reader::match(Location pattern, int patternLength) {
522 if (end_ - current_ < patternLength)
523 return false;
524 int index = patternLength;
525 while (index--)
526 if (current_[index] != pattern[index])
527 return false;
528 current_ += patternLength;
529 return true;
530}
531
532bool Reader::readComment() {
533 Location commentBegin = current_ - 1;

Callers 3

filter_registryFunction · 0.80
loadFunction · 0.80
loadFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected