2 writes to _pageTable
System.Data.Common (2)
System\Data\RbTree.cs (2)
124
_pageTable
= new TreePage[1 * TreePage.slotLineSize];
172
_pageTable
= newPageTable;
38 references to _pageTable
System.Data.Common (38)
System\Data\RbTree.cs (38)
119
[MemberNotNull(nameof(
_pageTable
))]
125
_pageTableMap = new int[(
_pageTable
.Length + TreePage.slotLineSize - 1) / TreePage.slotLineSize]; // Ceiling(size)
131
_pageTable
[0]!._slots[0]._nodeColor = NodeColor.black;
132
_pageTable
[0]!._slotMap[0] = 0x1;
133
_pageTable
[0]!.InUseCount = 1;
142
_pageTable
[page.PageId] = null;
159
_pageTable
[freePageIndex] = new TreePage(size);
165
TreePage[] newPageTable = new TreePage[
_pageTable
.Length * 2];
166
Array.Copy(
_pageTable
, newPageTable,
_pageTable
.Length);
171
freePageIndex =
_pageTable
.Length;
174
_pageTable
[freePageIndex] = new TreePage(size);
176
_pageTable
[freePageIndex]!.PageId = freePageIndex;
178
return
_pageTable
[freePageIndex]!;
251
TreePage page =
_pageTable
[nodeId >> 16]!;
292
if (
_pageTable
[pageIndex] != null)
297
if (
_pageTable
[pageIndex] == null)
349
page =
_pageTable
[freePageIndex];
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!;