Esempio n. 1
0
        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,
            };
        }
Esempio n. 2
0
 public MaxHeapTests()
 {
     _heap = new DotNetHeap <int>();
 }
Esempio n. 3
0
 static HexSpan GetSpan(DotNetHeap heap) => heap?.Span.Span ?? default(HexSpan);
Esempio n. 4
0
 public MinHeapTests()
 {
     _minHeap = new DotNetHeap <int>(DotNetHeap <int> .HEAP_TYPE.MIN);
 }