1 write to _slots
System.Data.Common (1)
System\Data\RbTree.cs (1)
1965
_slots
= new Node[size];
34 references to _slots
System.Data.Common (34)
System\Data\RbTree.cs (34)
131
_pageTable[0]!.
_slots
[0]._nodeColor = NodeColor.black;
254
page.
_slots
[slotIndex] = default(Node);
262
else if (page.InUseCount == page.
_slots
.Length - 1)
370
page.
_slots
[slotId]._selfId = (int)(((uint)page.PageId) << 16) | slotId;
371
Debug.Assert(page.
_slots
[slotId]._leftId == NIL, "node not cleared");
372
Debug.Assert(page.
_slots
[slotId]._rightId == NIL, "node not cleared");
373
Debug.Assert(page.
_slots
[slotId]._parentId == NIL, "node not cleared");
374
Debug.Assert(page.
_slots
[slotId]._nextId == NIL, "node not cleared");
375
page.
_slots
[slotId]._subTreeSize = 1; // new Nodes have size 1.
376
page.
_slots
[slotId]._keyOfNode = key;
377
Debug.Assert(page.
_slots
[slotId]._nodeColor == NodeColor.red, "node not cleared");
378
return page.
_slots
[slotId]._selfId;
1683
_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._rightId = rightNodeId;
1693
_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._leftId = leftNodeId;
1704
_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._parentId = parentNodeId;
1715
_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._nodeColor = color;
1725
_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._keyOfNode = key;
1735
_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._nextId = nextNodeId;
1741
(size != 0 || _pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._selfId == NIL) &&
1742
(size != 1 || _pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._nextId == NIL), "SetSize");
1745
_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._subTreeSize = size;
1756
_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._subTreeSize += 1;
1768
_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._subTreeSize = myCorrectSize;
1778
_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._subTreeSize -= 1;
1779
VerifySize(nodeId, _pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._subTreeSize);
1797
return (_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._rightId);
1808
return (_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._leftId);
1819
return (_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._parentId);
1830
return (_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._nodeColor);
1841
return (_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._nextId);
1852
return (_pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._subTreeSize);
1863
return _pageTable[nodeId >> 16]!.
_slots
[nodeId & 0xFFFF]._keyOfNode!;
1979
if (_inUseCount <
_slots
.Length)
1993
if (_inUseCount ==
_slots
.Length) // mark page as full