Macros | |
#define | BENCH_ITERATE_(_label, _count, _best) |
#define | BENCH_ITERATE(_count) |
#define | BENCH_REMOVE(_count) |
#define | BENCH2_ITERATE(_count) |
#define | BENCH2_REMOVE(_count) |
Typedefs | |
using | TestMap = ModifySafeMap<u16, void*> |
using | TestMap2 = std::map<u16, void*> |
Functions | |
static void | fill (TestMap &map, size_t n) |
static void | pollute (TestMap &map) |
static void | remove (TestMap &map, size_t offset, size_t count) |
TEST_CASE ("ModifySafeMap") | |
static void | fill2 (TestMap2 &map, size_t n) |
static void | remove2 (TestMap2 &map, size_t offset, size_t count) |
#define BENCH2_ITERATE | ( | _count | ) |
#define BENCH2_REMOVE | ( | _count | ) |
#define BENCH_ITERATE | ( | _count | ) |
Referenced by TEST_CASE().
#define BENCH_ITERATE_ | ( | _label, | |
_count, | |||
_best ) |
#define BENCH_REMOVE | ( | _count | ) |
Referenced by TEST_CASE().
using TestMap = ModifySafeMap<u16, void*> |
using TestMap2 = std::map<u16, void*> |
|
inlinestatic |
Referenced by benchGetObjectsInArea(), and benchGetObjectsInsideRadius().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Referenced by EventManager::dereg(), ScriptApiSecurity::initializeSecurity(), ModStorageDatabaseSQLite3::initStatements(), GUIModalMenu::quitMenu(), and fs::safeWriteToFile().
|
inlinestatic |
TEST_CASE | ( | "ModifySafeMap" | ) |
References BENCH_ITERATE, and BENCH_REMOVE.