31 references to SegmentedArray
Microsoft.CodeAnalysis.CodeStyle (31)
src\Dependencies\Collections\SegmentedDictionary`2.cs (2)
302
SegmentedArray
.Clear(_buckets);
307
SegmentedArray
.Clear(_entries, 0, count);
src\Dependencies\Collections\SegmentedHashSet`1.cs (2)
205
SegmentedArray
.Clear(_buckets);
209
SegmentedArray
.Clear(_entries, 0, count);
src\Dependencies\Collections\SegmentedList`1.cs (27)
314
SegmentedArray
.Copy(list._items, 0, _items, _size, list.Count);
318
SegmentedArray
.Copy(array, 0, _items, _size, array.Length);
373
return
SegmentedArray
.BinarySearch(_items, index, count, item, comparer);
399
SegmentedArray
.Clear(_items, 0, size); // Clear the elements so that the gc can reclaim the references.
462
SegmentedArray
.Copy(_items, 0, array!, arrayIndex, _size);
482
SegmentedArray
.Copy(_items, index, array, arrayIndex, count);
488
SegmentedArray
.Copy(_items, 0, array, arrayIndex, _size);
763
SegmentedArray
.Copy(_items, index, list._items, 0, count);
791
=>
SegmentedArray
.IndexOf(_items, item, 0, _size);
815
return
SegmentedArray
.IndexOf(_items, item, index, _size - index);
835
return
SegmentedArray
.IndexOf(_items, item, index, count);
846
return
SegmentedArray
.IndexOf(_items, item, index, count, comparer);
864
SegmentedArray
.Copy(_items, index, _items, index + 1, _size - index);
913
SegmentedArray
.Copy(_items, index, _items, index + count, _size - index);
920
SegmentedArray
.Copy(_items, 0, _items, index, index);
922
SegmentedArray
.Copy(_items, index + count, _items, index * 2, _size - index);
926
SegmentedArray
.Copy(list._items, 0, _items, index, list.Count);
930
SegmentedArray
.Copy(array, 0, _items, index, array.Length);
1026
return
SegmentedArray
.LastIndexOf(_items, item, index, count);
1057
return
SegmentedArray
.LastIndexOf(_items, item, index, count, comparer);
1117
SegmentedArray
.Clear(_items, freeIndex, _size - freeIndex); // Clear the elements so that the gc can reclaim the references.
1137
SegmentedArray
.Copy(_items, index + 1, _items, index, _size - index);
1169
SegmentedArray
.Copy(_items, index + count, _items, index, _size - index);
1177
SegmentedArray
.Clear(_items, _size, count);
1208
SegmentedArray
.Reverse(_items, index, count);
1248
SegmentedArray
.Sort(_items, index, count, comparer);
1278
SegmentedArray
.Copy(_items, array, _size);