Go to the SVN repository for this file.
34 #ifndef _TABLE2ASN_ATOMIC_BITSET_HPP_ 35 #define _TABLE2ASN_ATOMIC_BITSET_HPP_ 69 m_array.resize(_Words, init_value);
80 bool test(
size_t_Pos)
const 102 throwstd::invalid_argument(
"CAtomicBitSet capacity not equal");
112 throwstd::invalid_argument(
"CAtomicBitSet capacity not equal");
125 autoprev_value =
val.fetch_and(~
mask);
126 boolprevious = (prev_value &
mask) != 0;
137 autoprev_value =
val.fetch_or(
mask);
138 boolprevious = (prev_value &
mask) != 0;
149 autoprev_value =
val.fetch_xor(
mask);
150 boolprevious = (prev_value &
mask) != 0;
184 throwstd::out_of_range(
"invalid CAtomicBitSet position");
ncbi::TMaskedQueryRegions mask
atomic_type & x_setnode(size_t _Pos)
CAtomicBitSet(const CAtomicBitSet &)=delete
CAtomicBitSet & operator-=(size_t value)
CAtomicBitSet(CAtomicBitSet &&)=delete
static constexpr size_t _Bitsperword
CAtomicBitSet(size_t size, bool is_set=true)
bool _Subscript(size_t _Pos) const
std::atomic< _Ty > atomic_type
CAtomicBitSet & operator+=(size_t value)
bool test(size_t _Pos) const
std::vector< _Ty > container_type
const atomic_type & x_getnode(size_t _Pos) const
std::atomic< size_t > m_bits
void Init(size_t size, bool is_set=true)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const GenericPointer< typename T::ValueType > T2 value
The NCBI C++/STL use hints.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4