31 references to SegmentedArray
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (31)
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
304
SegmentedArray
.Clear(_buckets);
309
SegmentedArray
.Clear(_entries, 0, count);
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (2)
207
SegmentedArray
.Clear(_buckets);
211
SegmentedArray
.Clear(_entries, 0, count);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (27)
316
SegmentedArray
.Copy(list._items, 0, _items, _size, list.Count);
320
SegmentedArray
.Copy(array, 0, _items, _size, array.Length);
375
return
SegmentedArray
.BinarySearch(_items, index, count, item, comparer);
401
SegmentedArray
.Clear(_items, 0, size); // Clear the elements so that the gc can reclaim the references.
464
SegmentedArray
.Copy(_items, 0, array!, arrayIndex, _size);
484
SegmentedArray
.Copy(_items, index, array, arrayIndex, count);
490
SegmentedArray
.Copy(_items, 0, array, arrayIndex, _size);
765
SegmentedArray
.Copy(_items, index, list._items, 0, count);
793
=>
SegmentedArray
.IndexOf(_items, item, 0, _size);
817
return
SegmentedArray
.IndexOf(_items, item, index, _size - index);
837
return
SegmentedArray
.IndexOf(_items, item, index, count);
848
return
SegmentedArray
.IndexOf(_items, item, index, count, comparer);
866
SegmentedArray
.Copy(_items, index, _items, index + 1, _size - index);
915
SegmentedArray
.Copy(_items, index, _items, index + count, _size - index);
922
SegmentedArray
.Copy(_items, 0, _items, index, index);
924
SegmentedArray
.Copy(_items, index + count, _items, index * 2, _size - index);
928
SegmentedArray
.Copy(list._items, 0, _items, index, list.Count);
932
SegmentedArray
.Copy(array, 0, _items, index, array.Length);
1028
return
SegmentedArray
.LastIndexOf(_items, item, index, count);
1059
return
SegmentedArray
.LastIndexOf(_items, item, index, count, comparer);
1119
SegmentedArray
.Clear(_items, freeIndex, _size - freeIndex); // Clear the elements so that the gc can reclaim the references.
1139
SegmentedArray
.Copy(_items, index + 1, _items, index, _size - index);
1171
SegmentedArray
.Copy(_items, index + count, _items, index, _size - index);
1179
SegmentedArray
.Clear(_items, _size, count);
1210
SegmentedArray
.Reverse(_items, index, count);
1250
SegmentedArray
.Sort(_items, index, count, comparer);
1280
SegmentedArray
.Copy(_items, array, _size);