MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / FindFirstCandidateMatch

Function FindFirstCandidateMatch

utils/FileCheck/FileCheck.cpp:781–836  ·  view source on GitHub ↗

Try to find the first match in buffer for any prefix. If a valid match is found, return that prefix and set its type and location. If there are almost matches (e.g. the actual prefix string is found, but is not an actual check string), but no valid match, return an empty string and set the position to resume searching from. If no partial matches are found, return an empty string and the location

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

FindFirstMatchingPrefixFunction · 0.85

Calls 6

SkipWordFunction · 0.85
IsPartOfWordFunction · 0.85
FindCheckTypeFunction · 0.85
findMethod · 0.45
sizeMethod · 0.45
drop_frontMethod · 0.45

Tested by

no test coverage detected