23 references to Entry
Microsoft.CodeAnalysis.Collections.Package (23)
SegmentedHashSet`1.cs (23)
54
private SegmentedArray<
Entry
> _entries;
166
_entries = (SegmentedArray<
Entry
>)source._entries.Clone();
179
ref
var
entry = ref entries[i];
239
ref
var
entry = ref entries[i];
261
ref
var
entry = ref entries[i];
311
ref
var
entry = ref entries[i];
822
ref
var
entry = ref entries[i];
843
ref
var
entry = ref entries[i];
912
ref
var
entry = ref entries[i];
924
private static SegmentedArray<
Entry
> CreateNewSegmentedArrayReusingOldSegments(SegmentedArray<
Entry
> oldArray, int newSize)
929
var newSegmentCount = (newSize + SegmentedArrayHelper.GetSegmentSize<
Entry
>() - 1) >> SegmentedArrayHelper.GetSegmentShift<
Entry
>();
937
Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<
Entry
>());
940
var lastSegmentSize = newSize - ((newSegmentCount - 1) << SegmentedArrayHelper.GetSegmentShift<
Entry
>());
972
ref
var
entry = ref entries[count];
1000
var entries = new SegmentedArray<
Entry
>(size);
1043
ref
var
entry = ref entries[i];
1067
ref
var
entry = ref entries[i];
1106
ref
var
entry = ref entries[index];
1150
ref
var
entry = ref entries[i];
1196
ref
var
entry = ref _entries[i];
1412
ref
var
entry = ref _hashSet._entries[_index++];