abc/src/base/abci/abcNpn.c
// returns 1 if the entry with this truth table exits
returns 1 if the entry with this truth table exits
returns 1 if the entry with this truth table exits
static inline int Abc_TruthHashLookup( word ** pFuncs, int iThis, int nWords, int * pTable, int * pNexts, int Key )
{
    int iThat;
    for ( iThat = pTable[Key]; iThat != -1; iThat = pNexts[iThat] )
        if ( !memcmp( pFuncs[iThat], pFuncs[iThis], sizeof(word) * nWords ) )
            return 1;
    return 0;
}
static inline int Abc_TruthHashLookup ( word * * pFuncs , int iThis , int nWords , int * pTable , int * pNexts , int Key ) { int iThat ; for ( iThat = pTable [ Key ] ; iThat != -1 ; iThat = pNexts [ iThat ] ) if ( ! memcmp ( pFuncs [ iThat ] , pFuncs [ iThis ] , sizeof ( word ) * nWords ) ) return 1 ; return 0 ; }
returns 1 if the entry with this truth table exits
returns 1 if the entry with this truth table exits