BitMagic-C++
|
Constants, lookup tables and typedefs. More...
#include <cstdint>
#include <inttypes.h>
Go to the source code of this file.
Data Structures | |
struct | bm::_copyright< T > |
Internal structure. More... | |
struct | bm::DeBruijn_bit_position< T > |
DeBruijn majic table. More... | |
struct | bm::first_bit_table< T > |
Structure keeps index of first right 1 bit for every byte. More... | |
struct | bm::bit_count_table< T > |
Structure to aid in counting bits table contains count of bits in 0-255 diapason of numbers. More... | |
struct | bm::lzcnt_table< T > |
Structure for LZCNT constants (4-bit) More... | |
struct | bm::tzcnt_table< T > |
Structure for TZCNT constants. More... | |
struct | bm::block_set_table< T > |
Structure keeps all-left/right ON bits masks. More... | |
struct | bm::gap_len_table< T > |
Default GAP lengths table. More... | |
struct | bm::gap_len_table_min< T > |
Alternative GAP lengths table. Good for for memory saver mode and very sparse bitsets. More... | |
struct | bm::gap_len_table_nl< T > |
Non-linear size growth GAP lengths table. More... | |
struct | bm::globals< T > |
Internal structure. More... | |
struct | bm::globals< T >::bo |
Namespaces | |
namespace | bm |
Macros | |
#define | BM_DEFAULT_POOL_SIZE 4096 |
#define | BM_VERSION_MAJOR 7 |
#define | BM_VERSION_MINOR 11 |
#define | BM_VERSION_PATCH 2 |
#define | BM_SCALAR_VERSION (((BM_VERSION_MAJOR) << 16) + ((BM_VERSION_MINOR) << 8) + (BM_VERSION_PATCH)) |
Variables | |
const unsigned | bm::id_max32 = 0xFFFFFFFFu |
More... | |
const unsigned | bm::set_block_size = 2048u |
More... | |
const unsigned | bm::set_block_shift = 16u |
More... | |
const unsigned | bm::set_block_mask = 0xFFFFu |
More... | |
const unsigned | bm::set_blkblk_mask = 0xFFFFFFu |
const unsigned | bm::set_block_alloc_size = bm::set_block_size * unsigned(sizeof(bm::word_t)) |
const unsigned | bm::set_block_plane_size = bm::set_block_size / 32u |
More... | |
const unsigned | bm::set_block_plane_cnt = (unsigned)(sizeof(bm::word_t) * 8u) |
More... | |
const unsigned | bm::block_waves = 64 |
More... | |
const unsigned | bm::set_block_digest_wave_size = bm::set_block_size / bm::block_waves |
More... | |
const unsigned | bm::set_block_digest_pos_shift = 10 |
More... | |
const unsigned | bm::set_word_shift = 5u |
More... | |
const unsigned | bm::set_word_mask = 0x1Fu |
More... | |
const unsigned | bm::gap_max_buff_len = 1280 |
More... | |
const unsigned | bm::gap_max_bits = 65536 |
More... | |
const unsigned | bm::gap_equiv_len |
More... | |
const unsigned | bm::gap_max_bits_cmrz = bm::gap_max_bits / 2 |
const unsigned | bm::gap_levels = 4 |
More... | |
const unsigned | bm::gap_max_level = bm::gap_levels - 1 |
const unsigned | bm::bie_cut_off = 16384 |
const unsigned | bm::set_array_size32 = 256u |
const unsigned | bm::set_sub_array_size = set_array_size32 |
More... | |
const unsigned | bm::set_array_shift = 8u |
More... | |
const unsigned | bm::set_array_mask = 0xFFu |
More... | |
const unsigned | bm::set_total_blocks32 = (bm::set_array_size32 * bm::set_array_size32) |
const unsigned | bm::set_sub_total_bits = bm::set_sub_array_size * bm::gap_max_bits |
More... | |
const unsigned | bm::id_max = bm::id_max32 |
More... | |
const unsigned | bm::set_top_array_size = bm::set_array_size32 |
More... | |
const unsigned | bm::set_total_blocks = bm::set_total_blocks32 |
More... | |
const unsigned | bm::bits_in_block = bm::set_block_size * unsigned((sizeof(bm::word_t) * 8)) |
More... | |
const unsigned | bm::bits_in_array = bm::bits_in_block * bm::set_array_size32 |
More... | |
const unsigned | bm::rs3_border0 = 21824 |
More... | |
const unsigned | bm::rs3_border1 = (rs3_border0 * 2) |
More... | |
const unsigned | bm::rs3_half_span = rs3_border0 / 2 |
const unsigned | bm::rs3_border0_1 = rs3_border0 + rs3_half_span |
More... | |
const unsigned | bm::rs3_border1_1 = rs3_border1 + rs3_half_span |
More... | |
const unsigned | bm::sub_block3_size = bm::gap_max_bits / 4 |
More... | |
const id64_t | bm::all_bits_mask = 0xffffffffffffffffULL |
More... | |
const unsigned | bm::set_block_size_op = bm::set_block_size / 2 |
More... | |
Constants, lookup tables and typedefs.
Definition in file bmconst.h.