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