2 writes to _pageTable
System.Data (2)
fx\src\data\System\Data\RbTree.cs (2)
122
_pageTable
= new TreePage[1 * TreePage.slotLineSize];
170
_pageTable
= newPageTable;
37 references to _pageTable
System.Data (37)
fx\src\data\System\Data\RbTree.cs (37)
123
_pageTableMap = new Int32[(
_pageTable
.Length + TreePage.slotLineSize - 1) / TreePage.slotLineSize]; // Ceiling(size)
129
_pageTable
[0].Slots[0].nodeColor = NodeColor.black;
130
_pageTable
[0].SlotMap[0] = 0x1;
131
_pageTable
[0].InUseCount = 1;
140
_pageTable
[page.PageId] = null;
157
_pageTable
[freePageIndex] = new TreePage (size);
163
TreePage[] newPageTable = new TreePage[
_pageTable
.Length * 2];
164
System.Array.Copy (
_pageTable
, 0, newPageTable, 0,
_pageTable
.Length);
169
freePageIndex =
_pageTable
.Length;
172
_pageTable
[freePageIndex] = new TreePage (size);
174
_pageTable
[freePageIndex].PageId = freePageIndex;
176
return
_pageTable
[freePageIndex];
249
TreePage page =
_pageTable
[nodeId >> 16];
291
if (
_pageTable
[pageIndex] != null)
296
if (
_pageTable
[pageIndex] == null)
344
page =
_pageTable
[freePageIndex];
1602
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].rightId = rightNodeId;
1612
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].leftId = leftNodeId;
1623
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].parentId = parentNodeId;
1634
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].nodeColor = color;
1644
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].keyOfNode = key;
1654
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].nextId = nextNodeId;
1660
(size != 0 ||
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].selfId == NIL) &&
1661
(size != 1 ||
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].nextId == NIL), "SetSize");
1664
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].subTreeSize = size;
1675
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].subTreeSize += 1;
1687
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].subTreeSize = myCorrectSize;
1697
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].subTreeSize -= 1;
1698
VerifySize(nodeId,
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].subTreeSize);
1715
return (
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].rightId);
1726
return (
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].leftId);
1737
return (
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].parentId);
1748
return (
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].nodeColor);
1759
return (
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].nextId);
1770
return (
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].subTreeSize);
1781
return (
_pageTable
[nodeId >> 16].Slots[nodeId & 0xFFFF].keyOfNode);