|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Every container that takes a size refuses one that it cannot hold. More...
#include <gtest/gtest.h>#include <Simplex.H>#include <bitArray.H>#include <bloom-filter.H>#include <compact-cuckoo-filter.H>#include <cuckoo-filter.H>#include <driven_table.H>#include <tpl_array.H>#include <tpl_arrayHeap.H>#include <tpl_arrayQueue.H>#include <tpl_arrayStack.H>#include <tpl_dynArray.H>#include <tpl_dynArrayHeap.H>#include <tpl_dynLhash.H>#include <tpl_dynMapOhash.H>#include <tpl_dynSetHash.H>#include <tpl_flat_map.H>#include <tpl_flat_set.H>#include <tpl_lhash.H>#include <tpl_memArray.H>#include <tpl_odhash.H>#include <tpl_olhash.H>#include <tpl_small_vector.H>#include <cstddef>#include <exception>#include <limits>#include <new>#include <stdexcept>#include <string>#include <typeinfo>Go to the source code of this file.
Functions | |
| TEST (SizeLimits, BitArray) | |
| TEST (SizeLimits, DynArray) | |
| TEST (SizeLimits, DynArrayHeap) | |
| TEST (SizeLimits, ArrayHeap) | |
| TEST (SizeLimits, MemArrayAndArray) | |
| TEST (SizeLimits, QueuesAndStacks) | |
| TEST (SizeLimits, FlatSetAndFlatMap) | |
| TEST (SizeLimits, SmallVector) | |
| TEST (SizeLimits, StaticEventTable) | |
| TEST (SizeLimits, Simplex) | |
| TEST (SizeLimits, HashTables) | |
| TEST (SizeLimits, CuckooFiltersAndTheEstimateOfABloomFilter) | |
Every container that takes a size refuses one that it cannot hold.
Definition in file size_limits_test.cc.
| TEST | ( | SizeLimits | , |
| ArrayHeap | |||
| ) |
Definition at line 244 of file size_limits_test.cc.
References Aleph::Array< T >::append(), and h.
| TEST | ( | SizeLimits | , |
| BitArray | |||
| ) |
Definition at line 199 of file size_limits_test.cc.
References Aleph::bits(), Aleph::BitArray::get_bit_str(), Aleph::BitArray::reserve(), Aleph::BitArray::set_bit_str(), Aleph::BitArray::set_size(), and Aleph::BitArray::size().
| TEST | ( | SizeLimits | , |
| CuckooFiltersAndTheEstimateOfABloomFilter | |||
| ) |
Definition at line 397 of file size_limits_test.cc.
References Aleph::Compact_Cuckoo_Filter< T, FingerprintBits, EntriesPerBucket >::capacity(), Aleph::Cuckoo_Filter< T, FingerprintBits, EntriesPerBucket >::capacity(), Aleph::Bloom_Filter< T >::estimate(), k, and m.
| TEST | ( | SizeLimits | , |
| DynArray | |||
| ) |
Definition at line 214 of file size_limits_test.cc.
References Aleph::DynArray< T >::adjust(), Aleph::DynArray< T >::append(), Aleph::DynArray< T >::reserve(), Aleph::DynArray< T >::size(), and Aleph::DynArray< T >::touch().
| TEST | ( | SizeLimits | , |
| DynArrayHeap | |||
| ) |
Definition at line 231 of file size_limits_test.cc.
References h, and Aleph::DynArrayHeap< T, Compare >::insert().
| TEST | ( | SizeLimits | , |
| FlatSetAndFlatMap | |||
| ) |
Definition at line 274 of file size_limits_test.cc.
References Aleph::FlatSet< Key, Compare >::contains(), Aleph::ODhashTable< Key, Cmp >::contains(), Aleph::FlatSet< Key, Compare >::insert(), OhashCommon< HashTbl, Key >::insert(), m, Aleph::FlatSet< Key, Compare >::reserve(), OhashCommon< HashTbl, Key >::size(), and Aleph::FlatSet< Key, Compare >::size().
| TEST | ( | SizeLimits | , |
| HashTables | |||
| ) |
Definition at line 343 of file size_limits_test.cc.
References Aleph::DynHashTable< Key, HashTable, Cmp >::has(), Aleph::DynHashTable< Key, HashTable, Cmp >::insert(), Aleph::DynList< T >::insert(), l, and Aleph::DynList< T >::size().
| TEST | ( | SizeLimits | , |
| MemArrayAndArray | |||
| ) |
Definition at line 262 of file size_limits_test.cc.
| TEST | ( | SizeLimits | , |
| QueuesAndStacks | |||
| ) |
Definition at line 268 of file size_limits_test.cc.
| TEST | ( | SizeLimits | , |
| Simplex | |||
| ) |
Definition at line 321 of file size_limits_test.cc.
References Aleph::Simplex< T >::put_restriction(), and row.
| TEST | ( | SizeLimits | , |
| SmallVector | |||
| ) |
Definition at line 295 of file size_limits_test.cc.
References Aleph::SmallVector< T, N >::push_back(), Aleph::SmallVector< T, N >::reserve(), and Aleph::SmallVector< T, N >::size().
| TEST | ( | SizeLimits | , |
| StaticEventTable | |||
| ) |
Definition at line 309 of file size_limits_test.cc.
References Aleph::size().