C# Class Defrag.Node

Inheritance: IFreeSpace
Show file Open project: pauldoo/scratch

Public Methods

Method Description
Allocate ( ulong offset, ulong length ) : IFreeSpace
FindFreeSpan ( ulong length ) : ulong
LargestFreeSpan ( ) : ulong
Node ( IFreeSpace left, IFreeSpace right ) : System
TotalFreeSpace ( ) : ulong

Method Details

Allocate() public method

public Allocate ( ulong offset, ulong length ) : IFreeSpace
offset ulong
length ulong
return IFreeSpace

FindFreeSpan() public method

public FindFreeSpan ( ulong length ) : ulong
length ulong
return ulong

LargestFreeSpan() public method

public LargestFreeSpan ( ) : ulong
return ulong

Node() public method

public Node ( IFreeSpace left, IFreeSpace right ) : System
left IFreeSpace
right IFreeSpace
return System

TotalFreeSpace() public method

public TotalFreeSpace ( ) : ulong
return ulong