public bool AllocationNumberInRange(uint aNumber) { if (iAllocMap == null) { iAllocMap = new HeapCellArrayAllocationNumberMap(this); } // return(iAllocMap.InRange(aNumber)); }
public HeapCell CellByAllocationNumberIndexed(uint aNumber, int aDelta) { if (iAllocMap == null) { iAllocMap = new HeapCellArrayAllocationNumberMap(this); } // HeapCell cell = null; uint nextAllocNum = (uint)(aNumber + aDelta); // while (cell == null && iAllocMap.InRange(nextAllocNum)) { cell = iAllocMap[nextAllocNum]; nextAllocNum = (uint)(nextAllocNum + aDelta); } // return(cell); }