메소드 | 설명 | |
---|---|---|
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 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 ( 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 |