BinClone/CloneSearcherLib/CSAssemblyFileMgr.cpp
//
// Retrieve index number based on the operand. Add if cannot found
//
Retrieve index number based on the operand. Add if cannot found
Retrieve index number based on the operand . Add if cannot found
int CCSOperandsMap::getOperandIdx(const CString& operand)
{    
    int idx = -1;
    if (!Lookup(operand, idx)) {
        idx = GetSize();
        SetAt(operand, idx);  
    }
    return idx;
}
int CCSOperandsMap :: getOperandIdx ( const CString & operand ) { int idx = -1 ; if ( ! Lookup ( operand , idx ) ) { idx = GetSize ( ) ; SetAt ( operand , idx ) ; } return idx ; }
Retrieve index number based on the operand.
Retrieve index number based on the operand .
// new entry