20 instantiations of RBFinger
PresentationFramework (20)
src\Framework\MS\Internal\Data\LiveShapingBlock.cs (5)
68
return new
RBFinger
<LiveShapingItem>() { Node=this, Offset=offset, Index=baseIndex+offset, Found=true };
117
oldFinger = new
RBFinger
<LiveShapingItem>() { Node=this, Offset=index, Index=baseIndex+index, Found=true };
219
return new
RBFinger
<LiveShapingItem>() { Node = this, Offset = k, Index = index+k };
356
return new
RBFinger
<LiveShapingItem>() { Node=foundBlock, Offset=offset, Index=baseIndex+offset };
437
return new
RBFinger
<LiveShapingItem>() { Node=foundBlock, Offset=offset, Index=baseIndex+offset };
src\Framework\MS\Internal\Data\RBNode.cs (15)
98
result = new
RBFinger
<T>() { Node = this, Offset = 0, Index = 0, Found = false };
106
result = new
RBFinger
<T>() { Node = this, Offset = index - LeftSize, Index = index, Found = true };
111
result = new
RBFinger
<T>() { Node = this, Offset = Size, Index = LeftSize + Size, Found = false };
129
result = new
RBFinger
<T>() { Node = this, Offset = 0, Index = 0, Found = (compL == 0) };
134
result = new
RBFinger
<T>() { Node = this, Offset = 0, Index = LeftSize, Found = true };
141
result = new
RBFinger
<T>() { Node = this, Offset = offset, Index = LeftSize + offset, Found = found };
146
result = new
RBFinger
<T>() { Node = this, Offset = Size, Index = LeftSize + Size };
183
result = new
RBFinger
<T>() { Node = this, Offset = left, Index = left, Found = (compL == 0) };
188
result = new
RBFinger
<T>() { Node = this, Offset = 0, Index = LeftSize, Found = true };
214
result = new
RBFinger
<T>() { Node = this, Offset = right, Index = LeftSize + right, Found = false };
227
result = new
RBFinger
<T>() { Node = this, Offset = offset, Index = LeftSize + offset, Found = found };
271
return new
RBFinger
<T>() { Node = startingNode, Offset = k + 1, Index = nodeIndex + k + 1 };
289
return new
RBFinger
<T>() { Node = parent, Offset = offset, Index = nodeIndex + offset };
302
newFinger = new
RBFinger
<T>() { Node = newFinger.Node.GetSuccessor(), Offset = 0, Index = newFinger.Index };
306
return new
RBFinger
<T>() { Node = startingNode, Offset = 0, Index = nodeIndex };
69 references to RBFinger
PresentationFramework (69)
src\Framework\MS\Internal\Data\LiveShapingBlock.cs (6)
63
internal
RBFinger
<LiveShapingItem> GetFinger(LiveShapingItem lsi)
74
internal void FindPosition(LiveShapingItem item, out
RBFinger
<LiveShapingItem> oldFinger, out
RBFinger
<LiveShapingItem> newFinger, Comparison<LiveShapingItem> comparison)
189
RBFinger
<LiveShapingItem> LocalSearch(LiveShapingItem item, int left, int right, Comparison<LiveShapingItem> comparison)
280
RBFinger
<LiveShapingItem> SearchLeft(LiveShapingItem item, int offset, Comparison<LiveShapingItem> comparison)
361
RBFinger
<LiveShapingItem> SearchRight(LiveShapingItem item, int offset, Comparison<LiveShapingItem> comparison)
src\Framework\MS\Internal\Data\LiveShapingItem.cs (3)
79
internal void FindPosition(out
RBFinger
<LiveShapingItem> oldFinger, out
RBFinger
<LiveShapingItem> newFinger, Comparison<LiveShapingItem> comparison)
84
internal
RBFinger
<LiveShapingItem> GetFinger()
src\Framework\MS\Internal\Data\LiveShapingList.cs (1)
237
RBFinger
<LiveShapingItem> finger = _root.BoundedSearch(temp, index, index+count);
src\Framework\MS\Internal\Data\LiveShapingTree.cs (6)
55
RBFinger
<LiveShapingItem> finger = FindIndex(0);
64
RBFinger
<LiveShapingItem> fingerL = LocateItem(finger, Comparison);
84
RBFinger
<LiveShapingItem> oldFinger, newFinger;
93
RBFinger
<LiveShapingItem> finger = FindIndex(index);
102
RBFinger
<LiveShapingItem> finger = FindIndex(0);
114
RBFinger
<LiveShapingItem> finger = lsi.GetFinger();
src\Framework\MS\Internal\Data\RBFinger.cs (14)
24
public static
RBFinger
<T> operator + (
RBFinger
<T> finger, int delta)
33
public static
RBFinger
<T> operator - (
RBFinger
<T> finger, int delta)
38
public static int operator - (
RBFinger
<T> f1,
RBFinger
<T> f2)
43
public static
RBFinger
<T> operator ++ (
RBFinger
<T> finger)
55
public static
RBFinger
<T> operator -- (
RBFinger
<T> finger)
68
public static bool operator < (
RBFinger
<T> f1,
RBFinger
<T> f2)
73
public static bool operator > (
RBFinger
<T> f1,
RBFinger
<T> f2)
src\Framework\MS\Internal\Data\RBNode.cs (12)
91
protected
RBFinger
<T> FindIndex(int index, bool exists = true)
93
RBFinger
<T> result;
121
protected
RBFinger
<T> Find(T x, Comparison<T> comparison)
123
RBFinger
<T> result;
158
protected
RBFinger
<T> BoundedSearch(T x, int low, int high, Comparison<T> comparison)
160
RBFinger
<T> result;
261
protected
RBFinger
<T> LocateItem(
RBFinger
<T> finger, Comparison<T> comparison)
300
RBFinger
<T> newFinger = startingNode.LeftChild.Find(x, comparison);
315
protected void ReInsert(ref
RBFinger
<T> oldFinger,
RBFinger
<T> newFinger)
367
protected void RemoveAt(ref
RBFinger
<T> finger)
src\Framework\MS\Internal\Data\RBTree.cs (27)
76
public
RBFinger
<T> BoundedSearch(T x, int low, int high)
83
RBFinger
<T> finger = Find(x, Comparison);
87
void Insert(
RBFinger
<T> finger, T x, bool checkSort=false)
146
RBFinger
<T> low = FindIndex(0, false);
147
RBFinger
<T> high = FindIndex(Count, false);
181
void QuickSort3(
RBFinger
<T> low,
RBFinger
<T> high)
223
RBFinger
<T> greenL=low, red=low+1, blue=high-1, greenR=high;
227
RBFinger
<T> mid = FindIndex((low.Index + high.Index)/2);
310
RBFinger
<T> left = red, right = blue;
336
RBFinger
<T> f = right - 1;
399
void Trade(
RBFinger
<T> left,
RBFinger
<T> mid,
RBFinger
<T> right)
410
void Exchange(
RBFinger
<T> f1,
RBFinger
<T> f2)
419
RBFinger
<T> finger = FindIndex(1);
422
RBFinger
<T> fingerL = LocateItem(finger, Comparison);
468
RBFinger
<T> finger = Find(item, Comparison);
501
RBFinger
<T> finger = FindIndex(index, false);
512
RBFinger
<T> finger = FindIndex(index, true);
525
RBFinger
<T> finger = FindIndex(index);
531
RBFinger
<T> finger = FindIndex(index);
574
RBFinger
<T> finger = Find(item, Comparison);
606
RBFinger
<T> finger = Find(item, Comparison);
616
RBFinger
<T> finger = FindIndex(0);
626
RBFinger
<T> finger = FindIndex(0);