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]; 152var start = i * CompactEdgeAllocationSize; 153var end = start + Math.Min(edgeCount, CompactEdgeAllocationSize); 163Debug.Assert(spilledEdges.Count == (edgeCount - CompactEdgeAllocationSize)); 229if (currentNodeEdgeCount < CompactEdgeAllocationSize) 231_compactEdges[currentNodeIndex * CompactEdgeAllocationSize + currentNodeEdgeCount] = 240if (currentNodeEdgeCount == CompactEdgeAllocationSize) 262var start = currentNodeIndex * CompactEdgeAllocationSize; 263var end = start + Math.Min(currentNode.EdgeCount, CompactEdgeAllocationSize); 278Debug.Assert(currentNode.SpilloverEdges.Count == (currentNode.EdgeCount - CompactEdgeAllocationSize));