public StorageStreamVM(HexBuffer buffer, DotNetHeap heap, DotNetStorageStream storageStream, int streamNumber) : base(storageStream.Span) { Name = storageStream.Name; HeapKind = heap.HeapKind; StreamNumber = streamNumber; IOffsetVM = new UInt32HexField(storageStream.Offset); ISizeVM = new UInt32HexField(storageStream.Size); RCNameVM = new StringHexField(storageStream.StreamName); hexFields = new HexField[] { IOffsetVM, ISizeVM, RCNameVM, }; }
public MaxHeapTests() { _heap = new DotNetHeap <int>(); }
static HexSpan GetSpan(DotNetHeap heap) => heap?.Span.Span ?? default(HexSpan);
public MinHeapTests() { _minHeap = new DotNetHeap <int>(DotNetHeap <int> .HEAP_TYPE.MIN); }