20 references to SEGMENT_SIZE
mscorlib (20)
system\Collections\Concurrent\ConcurrentQueue.cs (20)
83
Contract.Assert(index >= 0 && index <
SEGMENT_SIZE
);
87
if (index >=
SEGMENT_SIZE
)
331
head.AddToList(list, headLow,
SEGMENT_SIZE
- 1);
335
curr.AddToList(list, 0,
SEGMENT_SIZE
- 1);
409
int count =
SEGMENT_SIZE
- headLow;
413
count +=
SEGMENT_SIZE
* ((int)(tail.m_index - head.m_index - 1));
520
for (int i = headLow; i <
SEGMENT_SIZE
; i++)
535
for (int i = 0; i <
SEGMENT_SIZE
; i++)
692
m_array = new T[
SEGMENT_SIZE
];
693
m_state = new VolatileBool[
SEGMENT_SIZE
]; //all initialized to false
727
Contract.Assert(m_high <
SEGMENT_SIZE
- 1);
743
Contract.Assert(m_high >=
SEGMENT_SIZE
- 1);
775
if (m_high >=
SEGMENT_SIZE
- 1)
788
int newhigh =
SEGMENT_SIZE
; //initial value set to be over the boundary
798
if (newhigh <=
SEGMENT_SIZE
- 1)
807
if (newhigh ==
SEGMENT_SIZE
- 1)
814
return newhigh <=
SEGMENT_SIZE
- 1;
852
if (lowLocal + 1 >=
SEGMENT_SIZE
)
930
return Math.Min(m_low,
SEGMENT_SIZE
);
944
return Math.Min(m_high,
SEGMENT_SIZE
- 1);