56 for (
int i=n_repeat;
i--; ) {
58 for (
int j=n_blocks; j--; )
59 (
void) r.
alloc<
char>(
static_cast<unsigned long int>(
size));
static const int n_repeat
How often to repeat.
T * alloc(long unsigned int n)
Allocate block of n objects of type T from region.
static const size_t size
The size of a block.
Region(void)
Initialize test.
bool run(void)
Perform actual tests.
Test for Region memory area
Gecode::IntArgs i(4, 1, 2, 3, 4)
Base class for all tests to be run
const size_t region_area_size
Size of region area.
static const int n_blocks
How many blocks to allocate.