Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals | Examples

bmconst.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bm

Defines

#define DECLARE_TEMP_BLOCK(x)   bm::id64_t x[bm::set_block_size / 2];

Typedefs

typedef unsigned long long id64_t
typedef unsigned int id_t
typedef unsigned int word_t
typedef unsigned short short_t
typedef unsigned short gap_word_t
typedef id64_t wordop_t

Enumerations

enum  strategy { BM_BIT = 0, BM_GAP = 1 }
 Block allocation strategies. More...

Variables

const unsigned id_max = 0xFFFFFFFF
const unsigned set_block_size = 2048u
const unsigned set_block_shift = 16u
const unsigned set_block_mask = 0xFFFFu
const unsigned set_blkblk_mask = 0xFFFFFFu
const unsigned set_word_shift = 5u
const unsigned set_word_mask = 0x1Fu
const unsigned gap_max_buff_len = 1280
const unsigned gap_max_bits = 65536
const unsigned gap_equiv_len
const unsigned gap_levels = 4
const unsigned gap_max_level = bm::gap_levels - 1
const unsigned set_array_size = 256u
const unsigned set_array_shift = 8u
const unsigned set_array_mask = 0xFFu
const unsigned set_total_blocks = (bm::set_array_size * bm::set_array_size)
const unsigned bits_in_block = bm::set_block_size * sizeof(bm::word_t) * 8
const unsigned bits_in_array = bm::bits_in_block * bm::set_array_size
const id64_t all_bits_mask = 0xffffffffffffffff
const unsigned set_block_size_op = bm::set_block_size / 2


Define Documentation

#define DECLARE_TEMP_BLOCK  )     bm::id64_t x[bm::set_block_size / 2];
 

Definition at line 92 of file bmconst.h.


Typedef Documentation

typedef unsigned short bm::gap_word_t
 

Definition at line 66 of file bmconst.h.

typedef unsigned long long bm::id64_t
 

Definition at line 39 of file bmconst.h.

typedef unsigned int bm::id_t
 

Definition at line 43 of file bmconst.h.

typedef unsigned short bm::short_t
 

Definition at line 45 of file bmconst.h.

typedef unsigned int bm::word_t
 

Definition at line 44 of file bmconst.h.

typedef id64_t bm::wordop_t
 

Definition at line 89 of file bmconst.h.


Variable Documentation

const id64_t bm::all_bits_mask = 0xffffffffffffffff
 

Definition at line 90 of file bmconst.h.

const unsigned bm::bits_in_array = bm::bits_in_block * bm::set_array_size
 

Definition at line 84 of file bmconst.h.

const unsigned bm::bits_in_block = bm::set_block_size * sizeof(bm::word_t) * 8
 

Definition at line 83 of file bmconst.h.

Referenced by bm::bvector< Alloc, MS >::enumerator::go_first().

const unsigned bm::gap_equiv_len
 

Initial value:

 
   (sizeof(bm::word_t) * bm::set_block_size) / sizeof(gap_word_t)

Definition at line 70 of file bmconst.h.

const unsigned bm::gap_levels = 4
 

Definition at line 72 of file bmconst.h.

Referenced by bm::bvector< Alloc, MS >::optimize_gap_size().

const unsigned bm::gap_max_bits = 65536
 

Definition at line 69 of file bmconst.h.

const unsigned bm::gap_max_buff_len = 1280
 

Definition at line 68 of file bmconst.h.

const unsigned bm::gap_max_level = bm::gap_levels - 1
 

Definition at line 73 of file bmconst.h.

const unsigned bm::id_max = 0xFFFFFFFF
 

Definition at line 49 of file bmconst.h.

Referenced by bm::bvector< Alloc, MS >::iterator_base::iterator_base().

const unsigned bm::set_array_mask = 0xFFu
 

Definition at line 80 of file bmconst.h.

const unsigned bm::set_array_shift = 8u
 

Definition at line 79 of file bmconst.h.

const unsigned bm::set_array_size = 256u
 

Definition at line 78 of file bmconst.h.

const unsigned bm::set_blkblk_mask = 0xFFFFFFu
 

Definition at line 56 of file bmconst.h.

const unsigned bm::set_block_mask = 0xFFFFu
 

Definition at line 55 of file bmconst.h.

const unsigned bm::set_block_shift = 16u
 

Definition at line 54 of file bmconst.h.

const unsigned bm::set_block_size = 2048u
 

Definition at line 53 of file bmconst.h.

const unsigned bm::set_block_size_op = bm::set_block_size / 2
 

Definition at line 93 of file bmconst.h.

const unsigned bm::set_total_blocks = (bm::set_array_size * bm::set_array_size)
 

Definition at line 81 of file bmconst.h.

const unsigned bm::set_word_mask = 0x1Fu
 

Definition at line 61 of file bmconst.h.

const unsigned bm::set_word_shift = 5u
 

Definition at line 60 of file bmconst.h.


Generated on Sun Aug 5 14:12:28 2007 for BitMagic by  doxygen 1.4.1