#include <iostream>#include <stdlib.h>#include <stdio.h>#include <time.h>#include "bm.h"
Go to the source code of this file.
Defines | |
| #define | BM_DISBALE_BIT_IN_PTR |
Typedefs | |
| typedef bm::bvector < bm::standard_allocator, bm::miniset < bm::block_allocator, bm::set_total_blocks > > | bvect |
Functions | |
| void | CreateSets () |
| void | FillSets () |
| void | EnumerateSets () |
| void | DestroySets () |
| void | OrSets () |
| int | main (void) |
Variables | |
| const unsigned | setscount = 10000 |
| const unsigned | randombits = 150 |
| const unsigned | maxbit = 100000000 |
| bvect * | bitsets [setscount] |
Definition in file sample7.cpp.
| #define BM_DISBALE_BIT_IN_PTR |
Definition at line 46 of file sample7.cpp.
| typedef bm::bvector<bm::standard_allocator, bm::miniset<bm::block_allocator, bm::set_total_blocks> > bvect |
Definition at line 55 of file sample7.cpp.
| void CreateSets | ( | ) |
Definition at line 66 of file sample7.cpp.
References bm::BM_GAP, bm::bvector< Alloc, MS >::calc_stat(), maxbit, bm::bv_statistics::memory_used, and setscount.
Referenced by main().
| void DestroySets | ( | ) |
Definition at line 143 of file sample7.cpp.
References setscount.
Referenced by main().
| void EnumerateSets | ( | ) |
Definition at line 121 of file sample7.cpp.
References bm::bvector< Alloc, MS >::end(), bm::bvector< Alloc, MS >::first(), and setscount.
Referenced by main().
| void FillSets | ( | ) |
Definition at line 87 of file sample7.cpp.
References bm::bv_statistics::bit_blocks, bm::bvector< Alloc, MS >::calc_stat(), bm::bv_statistics::gap_blocks, maxbit, bm::bv_statistics::memory_used, randombits, and setscount.
Referenced by main().
| int main | ( | void | ) |
Definition at line 171 of file sample7.cpp.
References CreateSets(), DestroySets(), EnumerateSets(), FillSets(), OrSets(), and setscount.
| void OrSets | ( | ) |
Definition at line 153 of file sample7.cpp.
References bm::bvector< Alloc, MS >::count(), and setscount.
Referenced by main().
Definition at line 62 of file sample7.cpp.
| const unsigned maxbit = 100000000 |
Definition at line 60 of file sample7.cpp.
Referenced by CreateSets(), and FillSets().
| const unsigned randombits = 150 |
| const unsigned setscount = 10000 |
Definition at line 58 of file sample7.cpp.
Referenced by CreateSets(), DestroySets(), EnumerateSets(), FillSets(), main(), and OrSets().
1.6.1