33 references to MaxSize
PresentationFramework (33)
MS\Internal\Data\RBNode.cs (29)
31
_data = new T[
MaxSize
];
329
if (newNode.Size <
MaxSize
)
339
T y = newNode.GetItemAt(
MaxSize
- 1);
340
Copy(newNode, newOffset, newNode, newOffset + 1,
MaxSize
- newOffset - 1);
347
if (successor.Size <
MaxSize
)
414
if (Size <
MaxSize
)
423
Debug.Assert(successor != null && successor.Size <
MaxSize
, "InsertAt: successor should have room");
428
if (offset <
MaxSize
)
431
successor.InsertAt(0, GetItemAt(
MaxSize
- 1));
433
Copy(this, offset, this, offset + 1,
MaxSize
- offset - 1);
444
Debug.Assert(succsucc.Size ==
MaxSize
, "InsertAt: outer nodes should be full");
445
int s =
MaxSize
/ 3;
449
Copy(this,
MaxSize
- s, successor, 0, s);
453
Copy(succsucc, s, succsucc, 0,
MaxSize
- s);
455
if (offset <=
MaxSize
- s)
458
Copy(this, offset, this, offset + 1,
MaxSize
- s - offset);
467
Copy(successor, offset - (
MaxSize
- s), successor, offset - (
MaxSize
- s) + 1, successor.Size + s + s - (offset - (
MaxSize
- s)));
468
successor.SetItemAt(offset - (
MaxSize
- s), x);
483
Copy(successor, 0, successor,
MaxSize
- s + 1, successor.Size);
484
Copy(this, s - 1, successor, 0,
MaxSize
- s + 1);
493
Copy(successor, 0, successor,
MaxSize
- s, successor.Size);
494
Copy(this, s, successor, 0,
MaxSize
- s);
497
Copy(successor, offset - s, successor, offset - s + 1, successor.Size +
MaxSize
- offset);
500
this.ChangeSize(s -
MaxSize
);
501
successor.ChangeSize(
MaxSize
- s + 1);
729
if (node.Size >
MaxSize
)
756
for (int j=node.Size; j<
MaxSize
; ++j)
MS\Internal\Data\RBTree.cs (4)
62
Size =
MaxSize
;
98
else if (node.Size <
MaxSize
)
106
if (successor.Size >=
MaxSize
)
545
if (node.Size <
MaxSize
)