Lumiera  0.pre.03
»edit your freedom«
lib::test::anonymous_namespace{allocation-cluster-test.cpp} Namespace Reference

Classes

class  Dummy
 

Functions

array< function< void(AllocationCluster &, uchar)>, NUM_TYPES > buildTrampoline ()
 
void fill (AllocationCluster &clu)
 
template<uint i>
void place_object (AllocationCluster &clu, uchar id)
 
uint sum (uint n)
 

Variables

int64_t checksum = 0
 
const size_t EXTSIZ = AllocationCluster::EXTENT_SIZ
 
const uint NUM_CLUSTERS = 5
 
const uint NUM_OBJECTS = 500
 
const uint NUM_TYPES = 20
 

Function Documentation

◆ sum()

uint lib::test::anonymous_namespace{allocation-cluster-test.cpp}::sum ( uint  n)
inline
Parameters
nsum of integers 1...N

Definition at line 126 of file allocation-cluster-test.cpp.