10 references to CompactEdgeAllocationSize
Microsoft.CodeAnalysis.CodeStyle (10)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Builder.cs (10)
118
_compactEdges = new Edge[distinctValues.Length *
CompactEdgeAllocationSize
];
152
var start = i *
CompactEdgeAllocationSize
;
153
var end = start + Math.Min(edgeCount,
CompactEdgeAllocationSize
);
163
Debug.Assert(spilledEdges.Count == (edgeCount -
CompactEdgeAllocationSize
));
229
if (currentNodeEdgeCount <
CompactEdgeAllocationSize
)
231
_compactEdges[currentNodeIndex *
CompactEdgeAllocationSize
+ currentNodeEdgeCount] =
240
if (currentNodeEdgeCount ==
CompactEdgeAllocationSize
)
262
var start = currentNodeIndex *
CompactEdgeAllocationSize
;
263
var end = start + Math.Min(currentNode.EdgeCount,
CompactEdgeAllocationSize
);
278
Debug.Assert(currentNode.SpilloverEdges.Count == (currentNode.EdgeCount -
CompactEdgeAllocationSize
));