MCPcopy Create free account
hub / github.com/ImpulseAdventure/JPEGsnoop / SearchCom

Method SearchCom

DbSigs.cpp:786–806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784}
785
786bool CDbSigs::SearchCom(CString strCom)
787{
788 bool bFound = false;
789 bool bDone = false;
790 unsigned nInd = 0;
791 if (strCom.GetLength() == 0) {
792 bDone = true;
793 }
794 while (!bDone) {
795 if (nInd >= m_nXcomSwListNum) {
796 bDone = true;
797 } else {
798 if (strCom.Find(m_sXComSwList[nInd]) != -1) {
799 bFound = true;
800 bDone = true;
801 }
802 nInd++;
803 }
804 }
805 return bFound;
806}
807
808// Returns total of built-in plus local DB
809unsigned CDbSigs::GetDBNumEntries()

Callers 1

CompareSignatureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected