#include <sparse_set.h>
Public Types | |
typedef int * | iterator |
typedef int * | iterator |
Public Member Functions | |
iterator | begin () |
iterator | begin () |
const_iterator | begin () const |
const_iterator | begin () const |
void | clear () |
void | clear () |
bool | contains (int i) const |
bool | contains (int i) const |
int | empty () const |
int | empty () const |
iterator | end () |
iterator | end () |
const_iterator | end () const |
const_iterator | end () const |
iterator | insert (int i) |
iterator | insert (int i) |
iterator | insert_new (int i) |
iterator | insert_new (int i) |
int | max_size () const |
int | max_size () const |
void | resize (int new_max_size) |
void | resize (int new_max_size) |
int | size () const |
int | size () const |
SparseSetT () | |
SparseSetT () | |
SparseSetT (int max_size) | |
SparseSetT (int max_size) | |
~SparseSetT () | |
~SparseSetT () | |
Static Public Member Functions | |
static bool | less (int a, int b) |
static bool | less (int a, int b) |
Public Attributes | |
const typedef int * | const_iterator |
Private Member Functions | |
void | create_index (int i) |
void | create_index (int i) |
void | DebugCheckInvariants () const |
void | DebugCheckInvariants () const |
iterator | InsertInternal (bool allow_existing, int i) |
iterator | InsertInternal (bool allow_existing, int i) |
void | MaybeInitializeMemory (int min, int max) |
void | MaybeInitializeMemory (int min, int max) |
Private Attributes | |
PODArray< int > | dense_ |
int | size_ = 0 |
PODArray< int > | sparse_ |
Definition at line 69 of file bloaty/third_party/re2/util/sparse_set.h.
typedef int* re2::SparseSetT< Value >::iterator |
Definition at line 75 of file bloaty/third_party/re2/util/sparse_set.h.
typedef int* re2::SparseSetT< Value >::iterator |
Definition at line 75 of file re2/re2/sparse_set.h.
|
default |
|
explicit |
Definition at line 240 of file bloaty/third_party/re2/util/sparse_set.h.
re2::SparseSetT< Value >::~SparseSetT |
Definition at line 246 of file bloaty/third_party/re2/util/sparse_set.h.
re2::SparseSetT< Value >::SparseSetT | ( | ) |
|
explicit |
re2::SparseSetT< Value >::~SparseSetT | ( | ) |
|
inline |
Definition at line 89 of file bloaty/third_party/re2/util/sparse_set.h.
|
inline |
Definition at line 89 of file re2/re2/sparse_set.h.
|
inline |
Definition at line 96 of file bloaty/third_party/re2/util/sparse_set.h.
|
inline |
Definition at line 96 of file re2/re2/sparse_set.h.
|
inline |
Definition at line 117 of file bloaty/third_party/re2/util/sparse_set.h.
|
inline |
Definition at line 117 of file re2/re2/sparse_set.h.
bool re2::SparseSetT< Value >::contains | ( | int | i | ) | const |
Definition at line 220 of file bloaty/third_party/re2/util/sparse_set.h.
bool re2::SparseSetT< Value >::contains | ( | int | i | ) | const |
|
private |
|
private |
Definition at line 232 of file bloaty/third_party/re2/util/sparse_set.h.
|
private |
Definition at line 250 of file bloaty/third_party/re2/util/sparse_set.h.
|
private |
|
inline |
Definition at line 84 of file re2/re2/sparse_set.h.
|
inline |
Definition at line 84 of file bloaty/third_party/re2/util/sparse_set.h.
|
inline |
Definition at line 92 of file bloaty/third_party/re2/util/sparse_set.h.
|
inline |
Definition at line 92 of file re2/re2/sparse_set.h.
|
inline |
Definition at line 99 of file re2/re2/sparse_set.h.
|
inline |
Definition at line 99 of file bloaty/third_party/re2/util/sparse_set.h.
|
inline |
Definition at line 132 of file bloaty/third_party/re2/util/sparse_set.h.
|
inline |
Definition at line 132 of file re2/re2/sparse_set.h.
|
inline |
Definition at line 138 of file bloaty/third_party/re2/util/sparse_set.h.
|
inline |
Definition at line 138 of file re2/re2/sparse_set.h.
|
inlineprivate |
Definition at line 143 of file bloaty/third_party/re2/util/sparse_set.h.
|
inlineprivate |
Definition at line 143 of file re2/re2/sparse_set.h.
|
static |
|
static |
Definition at line 256 of file bloaty/third_party/re2/util/sparse_set.h.
|
inline |
Definition at line 109 of file bloaty/third_party/re2/util/sparse_set.h.
|
inline |
Definition at line 109 of file re2/re2/sparse_set.h.
|
inlineprivate |
Definition at line 175 of file bloaty/third_party/re2/util/sparse_set.h.
|
inlineprivate |
Definition at line 175 of file re2/re2/sparse_set.h.
void re2::SparseSetT< Value >::resize | ( | int | new_max_size | ) |
void re2::SparseSetT< Value >::resize | ( | int | new_max_size | ) |
Definition at line 196 of file bloaty/third_party/re2/util/sparse_set.h.
|
inline |
Definition at line 79 of file re2/re2/sparse_set.h.
|
inline |
Definition at line 79 of file bloaty/third_party/re2/util/sparse_set.h.
const typedef int * re2::SparseSetT< Value >::const_iterator |
Definition at line 76 of file bloaty/third_party/re2/util/sparse_set.h.
|
private |
Definition at line 187 of file bloaty/third_party/re2/util/sparse_set.h.
|
private |
Definition at line 185 of file bloaty/third_party/re2/util/sparse_set.h.
|
private |
Definition at line 186 of file bloaty/third_party/re2/util/sparse_set.h.