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