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