18 references to Entry
Microsoft.CodeAnalysis (18)
src\Dependencies\Collections\SegmentedDictionary`2.cs (18)
47
private SegmentedArray<
Entry
> _entries;
403
ref
var
entry = ref RoslynUnsafe.NullRef<
Entry
>();
494
var entries = new SegmentedArray<
Entry
>(size);
631
ref
var
entry = ref entries![index];
670
private static SegmentedArray<
Entry
> CreateNewSegmentedArrayReusingOldSegments(SegmentedArray<
Entry
> oldArray, int newSize)
675
var newSegmentCount = (newSize + SegmentedArrayHelper.GetSegmentSize<
Entry
>() - 1) >> SegmentedArrayHelper.GetSegmentShift<
Entry
>();
683
Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<
Entry
>());
686
var lastSegmentSize = newSize - ((newSegmentCount - 1) << SegmentedArrayHelper.GetSegmentShift<
Entry
>());
718
ref
var
entry = ref entries[i];
795
ref
var
entry = ref entries[i];
1017
private void CopyEntries(SegmentedArray<
Entry
> entries, int count)
1026
ref
var
entry = ref newEntries[newCount];
1201
ref
var
entry = ref _dictionary._entries[_index++];
1456
ref
var
entry = ref _dictionary._entries[_index++];
1664
ref
var
entry = ref _dictionary._entries[_index++];