MCPcopy Create free account
hub / github.com/Kitware/VTK / match

Method match

ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:557–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555}
556
557bool Reader::match(const Char* pattern, int patternLength) {
558 if (end_ - current_ < patternLength)
559 return false;
560 int index = patternLength;
561 while (index--)
562 if (current_[index] != pattern[index])
563 return false;
564 current_ += patternLength;
565 return true;
566}
567
568bool Reader::readComment() {
569 Location commentBegin = current_ - 1;

Callers 15

applyMethod · 0.45
ReadTimeStepsMethod · 0.45
NextTimeStepMethod · 0.45
ReadMoleculeMethod · 0.45
parseVariableListsFunction · 0.45
NextTimeStepMethod · 0.45
ReadTimeStepMethod · 0.45
TestOMETIFFReaderFunction · 0.45
NameOfVectorComponentMethod · 0.45
GetObjectIndexMethod · 0.45
StartInternalMethod · 0.45

Calls

no outgoing calls

Tested by 12

TestOMETIFFReaderFunction · 0.36
get_image_dataFunction · 0.36
save_image_data_as_pngFunction · 0.36
TestFileMethod · 0.36
CheckIncludesMethod · 0.36
CheckGuardMethod · 0.36
CheckParentMethod · 0.36
CheckTypeMacroMethod · 0.36
CheckPrintSelfMethod · 0.36
CheckWindowsManglingMethod · 0.36