C# Class hOOt.WAHBitArray

显示文件 Open project: TargetProcess/Target-Process-Plugins Class Usage Examples

Public Properties

Property Type Description
isDirty bool

Public Methods

Method Description
And ( BitArray op ) : WAHBitArray
And ( WAHBitArray op ) : WAHBitArray
AndNot ( WAHBitArray op ) : WAHBitArray
Copy ( ) : WAHBitArray
CountOnes ( ) : long
CountZeros ( ) : long
DebugPrint ( ) : string
FreeMemory ( ) : void
Get ( int index ) : bool
GetBitIndexes ( ) : IEnumerable
GetBitIndexes ( bool ones ) : IEnumerable
GetCompressed ( ) : uint[]
Not ( ) : WAHBitArray
Or ( BitArray op ) : WAHBitArray
Or ( WAHBitArray op ) : WAHBitArray
Set ( int index, bool val ) : void
WAHBitArray ( ) : System
WAHBitArray ( BitArray bitarray ) : System
WAHBitArray ( TYPE type, uint ints ) : System
WAHBitArray ( uint CompressedInts ) : System
Xor ( BitArray op ) : WAHBitArray
Xor ( WAHBitArray op ) : WAHBitArray

Private Methods

Method Description
ChangeTypeIfNeeded ( ) : void
CheckBitArray ( ) : void
CheckBitArray ( BitArray op ) : void
CheckBitArray ( WAHBitArray op ) : void
Compress ( ) : void
Compress ( uint data ) : void
FlushOnes ( List compressed, uint &ones ) : void
FlushZeros ( List compressed, uint &zeros ) : void
GetUncompressed ( ) : uint[]
Resize ( int index ) : void
ResizeAsNeeded ( List list, int index ) : void
Take31Bits ( uint data, int index ) : uint
Uncompress ( ) : void
UnpackOffsets ( ) : uint[]
Write31Bits ( List list, int index, uint val ) : void
WriteOnes ( List list, int index, uint count ) : void
internalGet ( int index ) : bool
internalSet ( int index, bool val ) : void
prelogic ( WAHBitArray op, uint &left, uint &right ) : void

Method Details

And() public method

public And ( BitArray op ) : WAHBitArray
op System.Collections.BitArray
return WAHBitArray

And() public method

public And ( WAHBitArray op ) : WAHBitArray
op WAHBitArray
return WAHBitArray

AndNot() public method

public AndNot ( WAHBitArray op ) : WAHBitArray
op WAHBitArray
return WAHBitArray

Copy() public method

public Copy ( ) : WAHBitArray
return WAHBitArray

CountOnes() public method

public CountOnes ( ) : long
return long

CountZeros() public method

public CountZeros ( ) : long
return long

DebugPrint() public method

public DebugPrint ( ) : string
return string

FreeMemory() public method

public FreeMemory ( ) : void
return void

Get() public method

public Get ( int index ) : bool
index int
return bool

GetBitIndexes() public method

public GetBitIndexes ( ) : IEnumerable
return IEnumerable

GetBitIndexes() public method

public GetBitIndexes ( bool ones ) : IEnumerable
ones bool
return IEnumerable

GetCompressed() public method

public GetCompressed ( ) : uint[]
return uint[]

Not() public method

public Not ( ) : WAHBitArray
return WAHBitArray

Or() public method

public Or ( BitArray op ) : WAHBitArray
op BitArray
return WAHBitArray

Or() public method

public Or ( WAHBitArray op ) : WAHBitArray
op WAHBitArray
return WAHBitArray

Set() public method

public Set ( int index, bool val ) : void
index int
val bool
return void

WAHBitArray() public method

public WAHBitArray ( ) : System
return System

WAHBitArray() public method

public WAHBitArray ( BitArray bitarray ) : System
bitarray BitArray
return System

WAHBitArray() public method

public WAHBitArray ( TYPE type, uint ints ) : System
type TYPE
ints uint
return System

WAHBitArray() public method

public WAHBitArray ( uint CompressedInts ) : System
CompressedInts uint
return System

Xor() public method

public Xor ( BitArray op ) : WAHBitArray
op BitArray
return WAHBitArray

Xor() public method

public Xor ( WAHBitArray op ) : WAHBitArray
op WAHBitArray
return WAHBitArray

Property Details

isDirty public_oe property

public bool isDirty
return bool