5 references to INIT_SEGMENT_SIZE
mscorlib (5)
system\threading\Tasks\ProducerConsumerQueues.cs (5)
147Contract.Assert(INIT_SEGMENT_SIZE > 0, "Initial segment size must be > 0."); 148Contract.Assert((INIT_SEGMENT_SIZE & (INIT_SEGMENT_SIZE - 1)) == 0, "Initial segment size must be a power of 2"); 149Contract.Assert(INIT_SEGMENT_SIZE <= MAX_SEGMENT_SIZE, "Initial segment size should be <= maximum."); 153m_head = m_tail = new Segment(INIT_SEGMENT_SIZE);