10 references to CompactEdgeAllocationSize
Microsoft.CodeAnalysis.CodeStyle (10)
BKTree.Builder.cs (10)
119
_compactEdges = new Edge[distinctValues.Length *
CompactEdgeAllocationSize
];
153
var start = i *
CompactEdgeAllocationSize
;
154
var end = start + Math.Min(edgeCount,
CompactEdgeAllocationSize
);
164
Debug.Assert(spilledEdges.Count == (edgeCount -
CompactEdgeAllocationSize
));
230
if (currentNodeEdgeCount <
CompactEdgeAllocationSize
)
232
_compactEdges[currentNodeIndex *
CompactEdgeAllocationSize
+ currentNodeEdgeCount] =
241
if (currentNodeEdgeCount ==
CompactEdgeAllocationSize
)
263
var start = currentNodeIndex *
CompactEdgeAllocationSize
;
264
var end = start + Math.Min(currentNode.EdgeCount,
CompactEdgeAllocationSize
);
279
Debug.Assert(currentNode.SpilloverEdges.Count == (currentNode.EdgeCount -
CompactEdgeAllocationSize
));