31 references to MaxSize
PresentationFramework (31)
src\Framework\MS\Internal\Data\RBNode.cs (27)
34
_data = new T[
MaxSize
];
332
if (newNode.Size <
MaxSize
)
342
T y = newNode.GetItemAt(
MaxSize
- 1);
343
Copy(newNode, newOffset, newNode, newOffset + 1,
MaxSize
- newOffset - 1);
350
if (successor.Size <
MaxSize
)
417
if (Size <
MaxSize
)
426
Debug.Assert(successor != null && successor.Size <
MaxSize
, "InsertAt: successor should have room");
431
if (offset <
MaxSize
)
434
successor.InsertAt(0, GetItemAt(
MaxSize
- 1));
436
Copy(this, offset, this, offset + 1,
MaxSize
- offset - 1);
447
Debug.Assert(succsucc.Size ==
MaxSize
, "InsertAt: outer nodes should be full");
448
int s =
MaxSize
/ 3;
452
Copy(this,
MaxSize
- s, successor, 0, s);
456
Copy(succsucc, s, succsucc, 0,
MaxSize
-s);
458
if (offset <=
MaxSize
- s)
461
Copy(this, offset, this, offset + 1,
MaxSize
- s - offset);
470
Copy(successor, offset - (
MaxSize
- s), successor, offset - (
MaxSize
- s) + 1, successor.Size + s + s - (offset - (
MaxSize
- s)));
471
successor.SetItemAt(offset - (
MaxSize
- s), x);
486
Copy(successor, 0, successor,
MaxSize
- s + 1, successor.Size);
487
Copy(this, s-1, successor, 0,
MaxSize
- s + 1);
496
Copy(successor, 0, successor,
MaxSize
- s, successor.Size);
497
Copy(this, s, successor, 0,
MaxSize
- s);
500
Copy(successor, offset - s, successor, offset - s + 1, successor.Size +
MaxSize
- offset);
503
this.ChangeSize(s -
MaxSize
);
504
successor.ChangeSize(
MaxSize
- s + 1);
src\Framework\MS\Internal\Data\RBTree.cs (4)
65
Size =
MaxSize
;
101
else if (node.Size <
MaxSize
)
109
if (successor.Size >=
MaxSize
)
551
if (node.Size <
MaxSize
)