MySQL 9.0.0
Source Code Documentation
|
#include <overflow_bitset.h>
Classes | |
struct | Ext |
Public Member Functions | |
OverflowBitset () | |
OverflowBitset (uint32_t bits) | |
void | Clear () |
OverflowBitset (const OverflowBitset &)=default | |
OverflowBitset (OverflowBitset &&)=default | |
OverflowBitset & | operator= (const OverflowBitset &)=default |
OverflowBitset & | operator= (OverflowBitset &&)=default |
OverflowBitset (MutableOverflowBitset &&) | |
OverflowBitset & | operator= (MutableOverflowBitset &&) |
bool | is_inline () const |
bool | empty () |
size_t | capacity () const |
MutableOverflowBitset | Clone (MEM_ROOT *mem_root) const |
bool | IsContainedIn (const MEM_ROOT *mem_root) const |
Static Public Member Functions | |
static MutableOverflowBitset | Or (MEM_ROOT *mem_root, OverflowBitset a, OverflowBitset b) |
static MutableOverflowBitset | And (MEM_ROOT *mem_root, OverflowBitset a, OverflowBitset b) |
static MutableOverflowBitset | Xor (MEM_ROOT *mem_root, OverflowBitset a, OverflowBitset b) |
Protected Member Functions | |
void | InitOverflow (MEM_ROOT *mem_root, size_t capacity) |
Static Protected Member Functions | |
static MutableOverflowBitset | OrOverflow (MEM_ROOT *mem_root, OverflowBitset a, OverflowBitset b) |
static MutableOverflowBitset | AndOverflow (MEM_ROOT *mem_root, OverflowBitset a, OverflowBitset b) |
static MutableOverflowBitset | XorOverflow (MEM_ROOT *mem_root, OverflowBitset a, OverflowBitset b) |
Protected Attributes | |
union { | |
uint64_t m_bits | |
Ext * m_ext | |
}; | |
Static Protected Attributes | |
static constexpr int | kInlineBits = sizeof(m_bits) * CHAR_BIT - 1 |
Friends | |
template<size_t N, class Combine > | |
class | OverflowBitsetBitsIn |
class | MutableOverflowBitset |
bool | Overlaps (OverflowBitset a, OverflowBitset b) |
bool | OverlapsOverflow (OverflowBitset a, OverflowBitset b) |
bool | IsSubset (OverflowBitset a, OverflowBitset b) |
bool | IsSubsetOverflow (OverflowBitset a, OverflowBitset b) |
bool | IsBitSet (int bit_num, OverflowBitset x) |
bool | IsBitSetOverflow (int bit_num, OverflowBitset x) |
bool | IsEmpty (OverflowBitset x) |
int | PopulationCount (OverflowBitset x) |
int | PopulationCountOverflow (OverflowBitset x) |
|
inline |
|
inlineexplicit |
|
default |
|
default |
|
inline |
|
inlinestatic |
|
staticprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
inline |
|
inline |
|
default |
|
inline |
|
default |
|
inlinestatic |
|
staticprotected |
|
inlinestatic |
|
staticprotected |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
union { ... } OverflowBitset::@112 |
|
staticconstexprprotected |
uint64_t OverflowBitset::m_bits |
Ext* OverflowBitset::m_ext |