20 instantiations of RBFinger
PresentationFramework (20)
MS\Internal\Data\LiveShapingBlock.cs (5)
57
return new
RBFinger
<LiveShapingItem>() { Node = this, Offset = offset, Index = baseIndex + offset, Found = true };
106
oldFinger = new
RBFinger
<LiveShapingItem>() { Node = this, Offset = index, Index = baseIndex + index, Found = true };
208
return new
RBFinger
<LiveShapingItem>() { Node = this, Offset = k, Index = index + k };
345
return new
RBFinger
<LiveShapingItem>() { Node = foundBlock, Offset = offset, Index = baseIndex + offset };
426
return new
RBFinger
<LiveShapingItem>() { Node = foundBlock, Offset = offset, Index = baseIndex + offset };
MS\Internal\Data\RBNode.cs (15)
91
result = new
RBFinger
<T>() { Node = this, Offset = 0, Index = 0, Found = false };
99
result = new
RBFinger
<T>() { Node = this, Offset = index - LeftSize, Index = index, Found = true };
104
result = new
RBFinger
<T>() { Node = this, Offset = Size, Index = LeftSize + Size, Found = false };
122
result = new
RBFinger
<T>() { Node = this, Offset = 0, Index = 0, Found = (compL == 0) };
127
result = new
RBFinger
<T>() { Node = this, Offset = 0, Index = LeftSize, Found = true };
134
result = new
RBFinger
<T>() { Node = this, Offset = offset, Index = LeftSize + offset, Found = found };
139
result = new
RBFinger
<T>() { Node = this, Offset = Size, Index = LeftSize + Size };
176
result = new
RBFinger
<T>() { Node = this, Offset = left, Index = left, Found = (compL == 0) };
181
result = new
RBFinger
<T>() { Node = this, Offset = 0, Index = LeftSize, Found = true };
207
result = new
RBFinger
<T>() { Node = this, Offset = right, Index = LeftSize + right, Found = false };
220
result = new
RBFinger
<T>() { Node = this, Offset = offset, Index = LeftSize + offset, Found = found };
264
return new
RBFinger
<T>() { Node = startingNode, Offset = k + 1, Index = nodeIndex + k + 1 };
282
return new
RBFinger
<T>() { Node = parent, Offset = offset, Index = nodeIndex + offset };
295
newFinger = new
RBFinger
<T>() { Node = newFinger.Node.GetSuccessor(), Offset = 0, Index = newFinger.Index };
299
return new
RBFinger
<T>() { Node = startingNode, Offset = 0, Index = nodeIndex };
70 references to RBFinger
PresentationFramework (70)
MS\Internal\Data\LiveShapingBlock.cs (6)
52
internal
RBFinger
<LiveShapingItem> GetFinger(LiveShapingItem lsi)
63
internal void FindPosition(LiveShapingItem item, out
RBFinger
<LiveShapingItem> oldFinger, out
RBFinger
<LiveShapingItem> newFinger, Comparison<LiveShapingItem> comparison)
178
RBFinger
<LiveShapingItem> LocalSearch(LiveShapingItem item, int left, int right, Comparison<LiveShapingItem> comparison)
269
RBFinger
<LiveShapingItem> SearchLeft(LiveShapingItem item, int offset, Comparison<LiveShapingItem> comparison)
350
RBFinger
<LiveShapingItem> SearchRight(LiveShapingItem item, int offset, Comparison<LiveShapingItem> comparison)
MS\Internal\Data\LiveShapingItem.cs (3)
73
internal void FindPosition(out
RBFinger
<LiveShapingItem> oldFinger, out
RBFinger
<LiveShapingItem> newFinger, Comparison<LiveShapingItem> comparison)
78
internal
RBFinger
<LiveShapingItem> GetFinger()
MS\Internal\Data\LiveShapingList.cs (1)
230
RBFinger
<LiveShapingItem> finger = _root.BoundedSearch(temp, index, index + count);
MS\Internal\Data\LiveShapingTree.cs (7)
50
RBFinger
<LiveShapingItem> finger = FindIndex(0);
59
RBFinger
<LiveShapingItem> fingerL = LocateItem(finger, Comparison);
79
RBFinger
<LiveShapingItem> oldFinger, newFinger;
88
RBFinger
<LiveShapingItem> finger = FindIndex(index);
97
RBFinger
<LiveShapingItem> finger = FindIndex(0);
109
RBFinger
<LiveShapingItem> finger = lsi.GetFinger();
121
RBFinger
<LiveShapingItem> finger = lsi.GetFinger();
MS\Internal\Data\RBFinger.cs (14)
21
public static
RBFinger
<T> operator +(
RBFinger
<T> finger, int delta)
30
public static
RBFinger
<T> operator -(
RBFinger
<T> finger, int delta)
35
public static int operator -(
RBFinger
<T> f1,
RBFinger
<T> f2)
40
public static
RBFinger
<T> operator ++(
RBFinger
<T> finger)
52
public static
RBFinger
<T> operator --(
RBFinger
<T> finger)
65
public static bool operator <(
RBFinger
<T> f1,
RBFinger
<T> f2)
70
public static bool operator >(
RBFinger
<T> f1,
RBFinger
<T> f2)
MS\Internal\Data\RBNode.cs (12)
84
protected
RBFinger
<T> FindIndex(int index, bool exists = true)
86
RBFinger
<T> result;
114
protected
RBFinger
<T> Find(T x, Comparison<T> comparison)
116
RBFinger
<T> result;
151
protected
RBFinger
<T> BoundedSearch(T x, int low, int high, Comparison<T> comparison)
153
RBFinger
<T> result;
254
protected
RBFinger
<T> LocateItem(
RBFinger
<T> finger, Comparison<T> comparison)
293
RBFinger
<T> newFinger = startingNode.LeftChild.Find(x, comparison);
308
protected void ReInsert(ref
RBFinger
<T> oldFinger,
RBFinger
<T> newFinger)
360
protected void RemoveAt(ref
RBFinger
<T> finger)
MS\Internal\Data\RBTree.cs (27)
69
public
RBFinger
<T> BoundedSearch(T x, int low, int high)
76
RBFinger
<T> finger = Find(x, Comparison);
80
void Insert(
RBFinger
<T> finger, T x, bool checkSort = false)
139
RBFinger
<T> low = FindIndex(0, false);
140
RBFinger
<T> high = FindIndex(Count, false);
174
void QuickSort3(
RBFinger
<T> low,
RBFinger
<T> high)
213
RBFinger
<T> greenL = low, red = low + 1, blue = high - 1, greenR = high;
217
RBFinger
<T> mid = FindIndex((low.Index + high.Index) / 2);
300
RBFinger
<T> left = red, right = blue;
326
RBFinger
<T> f = right - 1;
389
void Trade(
RBFinger
<T> left,
RBFinger
<T> mid,
RBFinger
<T> right)
400
void Exchange(
RBFinger
<T> f1,
RBFinger
<T> f2)
409
RBFinger
<T> finger = FindIndex(1);
412
RBFinger
<T> fingerL = LocateItem(finger, Comparison);
458
RBFinger
<T> finger = Find(item, Comparison);
491
RBFinger
<T> finger = FindIndex(index, false);
502
RBFinger
<T> finger = FindIndex(index, true);
515
RBFinger
<T> finger = FindIndex(index);
521
RBFinger
<T> finger = FindIndex(index);
564
RBFinger
<T> finger = Find(item, Comparison);
594
RBFinger
<T> finger = Find(item, Comparison);
604
RBFinger
<T> finger = FindIndex(0);
614
RBFinger
<T> finger = FindIndex(0);