1 write to Slots
System.Data (1)
fx\src\data\System\Data\RbTree.cs (1)
1878
Slots
= new Node[size];
34 references to Slots
System.Data (34)
fx\src\data\System\Data\RbTree.cs (34)
129
_pageTable[0].
Slots
[0].nodeColor = NodeColor.black;
252
page.
Slots
[slotIndex] = default(Node);
260
else if (page.InUseCount == page.
Slots
.Length - 1)
366
page.
Slots
[slotId].selfId = (int)(((UInt32)page.PageId) << 16) | slotId;
367
Debug.Assert(page.
Slots
[slotId].leftId == NIL, "node not cleared");
368
Debug.Assert(page.
Slots
[slotId].rightId == NIL, "node not cleared");
369
Debug.Assert(page.
Slots
[slotId].parentId == NIL, "node not cleared");
370
Debug.Assert(page.
Slots
[slotId].nextId == NIL, "node not cleared");
371
page.
Slots
[slotId].subTreeSize = 1; // new Nodes have size 1.
372
page.
Slots
[slotId].keyOfNode = key;
373
Debug.Assert(page.
Slots
[slotId].nodeColor == NodeColor.red, "node not cleared");
374
return page.
Slots
[slotId].selfId;
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);
1892
if (_inUseCount <
Slots
.Length)
1907
if (_inUseCount ==
Slots
.Length) // mark page as full