MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / match

Method match

AgentBench.old/src/tasks/card_game/logic/src/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 15

isYoutubeFunction · 0.45
isVimeoFunction · 0.45
bulma-carousel.jsFile · 0.45
AlFunction · 0.45
parse_actionFunction · 0.45
predict_singleMethod · 0.45
get_relationsFunction · 0.45
get_neighborsFunction · 0.45
post_process_generationFunction · 0.45
extractorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected