#include <sample_resize_trigger.hpp>
A sample resize trigger policy.
Definition at line 47 of file sample_resize_trigger.hpp.
◆ size_type
◆ sample_resize_trigger()
__gnu_pbds::sample_resize_trigger::sample_resize_trigger |
( |
| ) |
|
◆ is_grow_needed()
bool __gnu_pbds::sample_resize_trigger::is_grow_needed |
( |
size_type |
size, |
|
|
size_type |
num_entries |
|
) |
| const |
|
inlineprotected |
Queries whether a grow is needed.
◆ is_resize_needed()
bool __gnu_pbds::sample_resize_trigger::is_resize_needed |
( |
| ) |
const |
|
inlineprotected |
Queries whether a resize is needed.
◆ notify_cleared()
void __gnu_pbds::sample_resize_trigger::notify_cleared |
( |
| ) |
|
|
protected |
Notifies the table was cleared.
◆ notify_erase_search_collision()
void __gnu_pbds::sample_resize_trigger::notify_erase_search_collision |
( |
| ) |
|
|
inlineprotected |
Notifies a search encountered a collision.
◆ notify_erase_search_end()
void __gnu_pbds::sample_resize_trigger::notify_erase_search_end |
( |
| ) |
|
|
inlineprotected |
◆ notify_erase_search_start()
void __gnu_pbds::sample_resize_trigger::notify_erase_search_start |
( |
| ) |
|
|
inlineprotected |
Notifies a search started.
◆ notify_erased()
void __gnu_pbds::sample_resize_trigger::notify_erased |
( |
size_type |
num_entries | ) |
|
|
inlineprotected |
Notifies an element was erased.
◆ notify_externally_resized()
void __gnu_pbds::sample_resize_trigger::notify_externally_resized |
( |
size_type |
new_size | ) |
|
|
protected |
Notifies the table was resized externally.
◆ notify_find_search_collision()
void __gnu_pbds::sample_resize_trigger::notify_find_search_collision |
( |
| ) |
|
|
inlineprotected |
Notifies a search encountered a collision.
◆ notify_find_search_end()
void __gnu_pbds::sample_resize_trigger::notify_find_search_end |
( |
| ) |
|
|
inlineprotected |
◆ notify_find_search_start()
void __gnu_pbds::sample_resize_trigger::notify_find_search_start |
( |
| ) |
|
|
inlineprotected |
Notifies a search started.
◆ notify_insert_search_collision()
void __gnu_pbds::sample_resize_trigger::notify_insert_search_collision |
( |
| ) |
|
|
inlineprotected |
Notifies a search encountered a collision.
◆ notify_insert_search_end()
void __gnu_pbds::sample_resize_trigger::notify_insert_search_end |
( |
| ) |
|
|
inlineprotected |
◆ notify_insert_search_start()
void __gnu_pbds::sample_resize_trigger::notify_insert_search_start |
( |
| ) |
|
|
inlineprotected |
Notifies a search started.
◆ notify_inserted()
void __gnu_pbds::sample_resize_trigger::notify_inserted |
( |
size_type |
num_entries | ) |
|
|
inlineprotected |
Notifies an element was inserted. the total number of entries in the table is num_entries.
◆ notify_resized()
void __gnu_pbds::sample_resize_trigger::notify_resized |
( |
size_type |
new_size | ) |
|
|
protected |
Notifies the table was resized as a result of this object's signifying that a resize is needed.
◆ sample_range_hashing()
◆ swap()
The documentation for this class was generated from the following file: