DEFINE_STATIC_MUTEX(sx_PrepareMutex_bvector)
User-defined methods of the data storage class.
void SetBitVector(const bm::bvector<> *bv)
void Reset(void)
Reset the whole object.
AutoPtr< const bm::bvector<> > m_BitVector
void ResetBitVector(void)
void x_CreateBitVector(void) const
size_type size() const noexcept
Returns bvector's capacity (number of bits it can store)
void calc_stat(struct bm::bvector< Alloc >::statistics *st) const noexcept
Calculates bitvector statistics.
static vector< string > arr
void reset(element_type *p=0, EOwnership ownership=eTakeOwnership)
Reset will delete the old pointer (if owned), set content to the new value, and assume the ownership ...
element_type * release(void)
Release will release ownership of pointer to caller.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
size_t serialize(const BV &bv, unsigned char *buf, bm::word_t *temp_block=0, unsigned serialization_flags=0)
Saves bitvector into memory.
size_t deserialize(BV &bv, const unsigned char *buf, bm::word_t *temp_block=0, const bm::bv_ref_vector< BV > *ref_vect=0)
Bitvector deserialization from a memory BLOB.
TSize & SetSize(void)
Assign a value to Size data member.
virtual void Reset(void)
Reset the whole object.
const TData & GetData(void) const
Get the Data member data.
TData & SetData(void)
Assign a value to Data data member.
TSize GetSize(void) const
Get the Size member data.
void aligned_free(void *ptr) BMNOEXCEPT
Aligned free.
void * aligned_new_malloc(size_t size)
Aligned malloc (unlike classic malloc it throws bad_alloc exception)
const unsigned set_block_alloc_size
const struct ncbi::grid::netcache::search::fields::SIZE size
Multi-threading – mutexes; rw-locks; semaphore.
size_t max_serialize_mem
estimated maximum memory for serialization
Statistical information about bitset's memory allocation details.