JCDT/JCDT_Lib/internal/util/set.h
inline unsigned Size()
    {
        unsigned size = 0;

        for (unsigned i = 0; i < symbol_pool.Length(); i++)
        {
            ShadowSymbol* shadow = symbol_pool[i];
            Symbol* symbol = shadow -> symbol;
            for (unsigned k = 0; symbol;
                 symbol = (Symbol*) (k < shadow -> NumConflicts()
                                     ? shadow -> Conflict(k++) : NULL))
            {
                size++;
            }
        }
        return size;
    }
//
// Calculate the size of the set and return the value.
//
Calculate the size of the set and return the value.
Calculate the size of the set and return the value .
inline unsigned Size()
    {
        unsigned size = 0;
        for (unsigned i = 0; i < symbol_pool.Length(); i++)
        {
            ShadowSymbol* shadow = symbol_pool[i];
            Symbol* symbol = shadow -> symbol;
            for (unsigned k = 0; symbol;
                 symbol = (Symbol*) (k < shadow -> NumConflicts()
                                     ? shadow -> Conflict(k++) : NULL))
            {
                size++;
            }
        }
        return size;
    }
inline unsigned Size ( ) { unsigned size = 0 ; for ( unsigned i = 0 ; i < symbol_pool . Length ( ) ; i ++ ) { ShadowSymbol * shadow = symbol_pool [ i ] ; Symbol * symbol = shadow -> symbol ; for ( unsigned k = 0 ; symbol ; symbol = ( Symbol * ) ( k < shadow -> NumConflicts ( ) ? shadow -> Conflict ( k ++ ) : NULL ) ) { size ++ ; } } return size ; }
Calculate the size of the set and return the value.
Calculate the size of the set and return the value .