Пример #1
0
 public void Or(BitTrain bitTrain)
 {
     Trace.Assert(bitTrain.m_totalSeatCount == m_totalSeatCount);
     for (int i = 0; i < m_train.Length; ++i)
     {
         m_train[i] |= bitTrain.m_train[i];
     }
 }
Пример #2
0
 public void Clear()
 {
     int size = m_ids.TotalSeatCount;
     m_ids = new BitTrain(size);
 }
Пример #3
0
 public IdGenerator(int size)
 {
     m_ids = new BitTrain(size);
 }
Пример #4
0
 public IdGenerator(int size)
 {
     m_ids = new BitTrain(size);
 }
Пример #5
0
    public void Clear()
    {
        int size = m_ids.TotalSeatCount;

        m_ids = new BitTrain(size);
    }