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