Méthode | Description | |
---|---|---|
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 | |
Résultat | int |
public static GetBit ( List |
||
bitmap | List |
|
i | int | |
Résultat | bool |
public static GetBit ( List |
||
bitmap | List |
|
i | long | |
Résultat | bool |
public static GetBit ( int bitmap, int i ) : bool | ||
bitmap | int | |
i | int | |
Résultat | bool |
public static Rank1 ( List |
||
bitmap | List |
|
start | int | |
count | int | |
bitpos | int | |
Résultat | int |
public static Rank1 ( uint bitmap, int bitpos ) : int | ||
bitmap | uint | |
bitpos | int | |
Résultat | int |
public static ResetBit ( int bitmap, int i ) : int | ||
bitmap | int | |
i | int | |
Résultat | int |
public static ResetBit ( List |
||
bitmap | List |
|
i | int | |
Résultat | void |
public static ResetBit ( List |
||
bitmap | List |
|
i | long | |
Résultat | void |
public static Reverse ( int bitmap, int size ) : int | ||
bitmap | int | |
size | int | |
Résultat | int |
public static Select1 ( List |
||
bitmap | List |
|
start | int | |
atmostcount | int | |
rank | int | |
Résultat | int |
public static Select1 ( uint bitmap, int rank ) : int | ||
bitmap | uint | |
rank | int | |
Résultat | int |
public static Select1 ( uint bitmap, int rank, int &rankout ) : int | ||
bitmap | uint | |
rank | int | |
rankout | int | |
Résultat | int |
public static Select1BitArgs ( List |
||
bitmap | List |
|
start_bit | int | |
max_count_bits | int | |
rank | int | |
Résultat | int |
public static SetBit ( int bitmap, int i ) : int | ||
bitmap | int | |
i | int | |
Résultat | int |
public static SetBit ( List |
||
bitmap | List |
|
i | int | |
Résultat | void |
public static SetBit ( List |
||
bitmap | List |
|
i | long | |
Résultat | void |
public static ToAsciiString ( uint u ) : string | ||
u | uint | |
Résultat | string |
public static ToAsciiString ( ulong u ) : string | ||
u | ulong | |
Résultat | string |