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