Метод | Описание | |
---|---|---|
AssignBit ( int bitmap, int i, bool x ) : int |
Assign the (i+1)th bit to x. Overload using int as bitmap
|
|
GetBit ( List |
Gets the (i+1)th bit. Overload using bytes.
|
|
GetBit ( List |
Gets the (i+1)th bit.
|
|
GetBit ( int bitmap, int i ) : bool |
Gets the (i+1)th bit. Overload using int as bitmap
|
|
Log2 ( int u ) : int |
floor(Log2) of the specified u.
|
|
Log2 ( long u ) : int | ||
Rank1 ( List |
||
Rank1 ( uint bitmap, int bitpos ) : int |
Returns Rank1(bitpos) at bitmap
|
|
ResetBit ( int bitmap, int i ) : int |
Reset the (i+1)th bit. Overload using int as bitmap
|
|
ResetBit ( List |
Resets the (i+1)th bit. Overload using bytes.
|
|
ResetBit ( List |
Resets the (i+1)th bit.
|
|
Reverse ( int bitmap, int size ) : int |
Reverse the first size bits inside the bitmap
|
|
Select1 ( List |
Select1 of rank in bitmap. The boundaries are start and start+atmostcount
|
|
Select1 ( uint bitmap, int rank ) : int |
Select1 of rank
|
|
Select1 ( uint bitmap, int rank, int &rankout ) : int |
Select of the (rank) th the specified bitmap, rank and rankout.
|
|
Select1BitArgs ( List |
Select1 of rank, the bit sequences is bitmap. The search starts in start_bit, reviewing atmost max_count_bits.
|
|
SetBit ( int bitmap, int i ) : int |
Enables the (i+1)th bit. Overload using int as bitmap
|
|
SetBit ( List |
Enalbes the (i+1)th bit.
|
|
SetBit ( List |
Enables the (i+1)th bit.
|
|
ToAsciiString ( uint u ) : string |
Prints u as a bit string
|
|
ToAsciiString ( ulong u ) : string |
Prints u as a bit string
|
public static AssignBit ( int bitmap, int i, bool x ) : int | ||
bitmap | int | |
i | int | |
x | bool | |
Результат | int |
public static GetBit ( List |
||
bitmap | List |
|
i | int | |
Результат | bool |
public static GetBit ( List |
||
bitmap | List |
|
i | long | |
Результат | bool |
public static GetBit ( int bitmap, int i ) : bool | ||
bitmap | int | |
i | int | |
Результат | bool |
public static Rank1 ( List |
||
bitmap | List |
|
start | int | |
count | int | |
bitpos | int | |
Результат | int |
public static Rank1 ( uint bitmap, int bitpos ) : int | ||
bitmap | uint | |
bitpos | int | |
Результат | int |
public static ResetBit ( int bitmap, int i ) : int | ||
bitmap | int | |
i | int | |
Результат | int |
public static ResetBit ( List |
||
bitmap | List |
|
i | int | |
Результат | void |
public static ResetBit ( List |
||
bitmap | List |
|
i | long | |
Результат | void |
public static Reverse ( int bitmap, int size ) : int | ||
bitmap | int | |
size | int | |
Результат | int |
public static Select1 ( List |
||
bitmap | List |
|
start | int | |
atmostcount | int | |
rank | int | |
Результат | int |
public static Select1 ( uint bitmap, int rank ) : int | ||
bitmap | uint | |
rank | int | |
Результат | int |
public static Select1 ( uint bitmap, int rank, int &rankout ) : int | ||
bitmap | uint | |
rank | int | |
rankout | int | |
Результат | int |
public static Select1BitArgs ( List |
||
bitmap | List |
|
start_bit | int | |
max_count_bits | int | |
rank | int | |
Результат | int |
public static SetBit ( int bitmap, int i ) : int | ||
bitmap | int | |
i | int | |
Результат | int |
public static SetBit ( List |
||
bitmap | List |
|
i | int | |
Результат | void |
public static SetBit ( List |
||
bitmap | List |
|
i | long | |
Результат | void |
public static ToAsciiString ( uint u ) : string | ||
u | uint | |
Результат | string |
public static ToAsciiString ( ulong u ) : string | ||
u | ulong | |
Результат | string |