33 references to SegmentedArray
Microsoft.CodeAnalysis (33)
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
302
SegmentedArray
.Clear(_buckets);
307
SegmentedArray
.Clear(_entries, 0, count);
652
SegmentedArray
.Copy(_entries, entries, count);
src\Dependencies\Collections\SegmentedHashSet`1.cs (3)
205
SegmentedArray
.Clear(_buckets);
209
SegmentedArray
.Clear(_entries, 0, count);
905
SegmentedArray
.Copy(_entries, entries, count);
src\Dependencies\Collections\SegmentedList`1.cs (27)
309
SegmentedArray
.Copy(list._items, 0, _items, _size, list.Count);
313
SegmentedArray
.Copy(array, 0, _items, _size, array.Length);
368
return
SegmentedArray
.BinarySearch(_items, index, count, item, comparer);
394
SegmentedArray
.Clear(_items, 0, size); // Clear the elements so that the gc can reclaim the references.
457
SegmentedArray
.Copy(_items, 0, array!, arrayIndex, _size);
477
SegmentedArray
.Copy(_items, index, array, arrayIndex, count);
483
SegmentedArray
.Copy(_items, 0, array, arrayIndex, _size);
722
SegmentedArray
.Copy(_items, index, list._items, 0, count);
750
=>
SegmentedArray
.IndexOf(_items, item, 0, _size);
774
return
SegmentedArray
.IndexOf(_items, item, index, _size - index);
794
return
SegmentedArray
.IndexOf(_items, item, index, count);
805
return
SegmentedArray
.IndexOf(_items, item, index, count, comparer);
823
SegmentedArray
.Copy(_items, index, _items, index + 1, _size - index);
872
SegmentedArray
.Copy(_items, index, _items, index + count, _size - index);
879
SegmentedArray
.Copy(_items, 0, _items, index, index);
881
SegmentedArray
.Copy(_items, index + count, _items, index * 2, _size - index);
885
SegmentedArray
.Copy(list._items, 0, _items, index, list.Count);
889
SegmentedArray
.Copy(array, 0, _items, index, array.Length);
985
return
SegmentedArray
.LastIndexOf(_items, item, index, count);
1016
return
SegmentedArray
.LastIndexOf(_items, item, index, count, comparer);
1076
SegmentedArray
.Clear(_items, freeIndex, _size - freeIndex); // Clear the elements so that the gc can reclaim the references.
1096
SegmentedArray
.Copy(_items, index + 1, _items, index, _size - index);
1128
SegmentedArray
.Copy(_items, index + count, _items, index, _size - index);
1136
SegmentedArray
.Clear(_items, _size, count);
1167
SegmentedArray
.Reverse(_items, index, count);
1207
SegmentedArray
.Sort(_items, index, count, comparer);
1237
SegmentedArray
.Copy(_items, array, _size);