|
Mantid
|
Classes | |
| struct | MockMemory |
| Mock the availMem function with RAII. More... | |
Functions | |
| void | disable_mem_override () |
| void | enable_mem_override (std::size_t value=g_default_value) |
Variables | |
| constexpr std::size_t | g_default_value {12} |
| constexpr std::size_t | g_fallback_bin_count {static_cast<std::size_t>(1e12)} |
| Fallback bin count on non-Linux platforms where the memory mock is unavailable; large enough to reliably exhaust any real system's available memory. | |
| void Mantid::TestMemory::disable_mem_override | ( | ) |
Definition at line 99 of file MockMemory.cpp.
References disable_mem_override().
Referenced by disable_mem_override(), and Mantid::TestMemory::MockMemory::~MockMemory().
| void Mantid::TestMemory::enable_mem_override | ( | std::size_t | value = g_default_value | ) |
Definition at line 98 of file MockMemory.cpp.
References enable_mem_override(), and value.
Referenced by enable_mem_override(), and Mantid::TestMemory::MockMemory::MockMemory().
|
constexpr |
Definition at line 13 of file MockMemory.h.
|
constexpr |
Fallback bin count on non-Linux platforms where the memory mock is unavailable; large enough to reliably exhaust any real system's available memory.
Definition at line 16 of file MockMemory.h.
Referenced by Mantid::TestMemory::MockMemory::numberOfFloats().