class HashtableSize
Defined at line 467 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
The size and also has additionally
1) one bit that stores whether we have infoz.
2) PerTableSeed::kBitCount bits for the seed.
Public Members
static const size_t kSizeBitCount
Public Methods
void HashtableSize (uninitialized_tag_t )
Defined at line 471 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
void HashtableSize (no_seed_empty_tag_t )
Defined at line 472 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
void HashtableSize (full_soo_tag_t )
Defined at line 473 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
uint16_t NextSeed ()
Returns next per-table seed.
size_t size ()
Returns actual size of the table.
Defined at line 476 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
void increment_size ()
Defined at line 477 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
void increment_size (size_t size)
Defined at line 478 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
void decrement_size ()
Defined at line 481 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
bool empty ()
Returns true if the table is empty.
Defined at line 483 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
void set_size_to_zero_keep_metadata ()
Sets the size to zero, but keeps all the metadata bits.
Defined at line 485 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
PerTableSeed seed ()
Defined at line 487 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
void generate_new_seed ()
Defined at line 491 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
void set_sampled_seed ()
We need to use a constant seed when the table is sampled so that sampled
hashes use the same seed and can e.g. identify stuck bits accurately.
Defined at line 495 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
bool is_sampled_seed ()
Defined at line 497 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
bool has_infoz ()
Returns true if the table has infoz.
Defined at line 502 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
void set_has_infoz ()
Sets the has_infoz bit.
Defined at line 507 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h
void set_no_seed_for_testing ()
Defined at line 509 of file ../../third_party/abseil-cpp/src/absl/container/internal/raw_hash_set.h