Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TreePage()

System.Data.RBTree< K >.TreePage.TreePage ( int size)
inlinepackage

Definition at line 83 of file RBTree.cs.

84 {
85 if (size > 65536)
86 {
87 throw ExceptionBuilder.InternalRBTreeError(RBTreeError.InvalidPageSize);
88 }
89 _slots = new Node[size];
90 _slotMap = new int[(size + 32 - 1) / 32];
91 }
readonly Node[] _slots
Definition RBTree.cs:49
readonly int[] _slotMap
Definition RBTree.cs:51

References System.Data.RBTree< K >.TreePage._slotMap, System.Data.RBTree< K >.TreePage._slots, and System.Data.ExceptionBuilder.InternalRBTreeError().