4 references to Log2Arity
System.Collections (4)
System\Collections\Generic\PriorityQueue.cs (4)
62Debug.Assert(Log2Arity > 0 && Math.Pow(2, Log2Arity) == Arity); 677private static int GetParentIndex(int index) => (index - 1) >> Log2Arity; 682private static int GetFirstChildIndex(int index) => (index << Log2Arity) + 1;