Exemplo n.º 1
0
        static bool IsZero(ref RecombineSlot slot)
        {
            bool retVal = false;

            for (int i = 0; i < slot.sequenceCnt; i++)
            //foreach (bool b in avail)
            {
                retVal |= slot.available[i];
            }

            return(!retVal);
        }
Exemplo n.º 2
0
        static bool IsDone(ref RecombineSlot slot)
        {
            bool retVal = true;

            for (int i = 0; i < slot.sequenceCnt; i++)
            //foreach (bool b in avail)
            {
                retVal &= slot.available[i];
            }

            return(retVal);
        }