- Test:
- document and verify a memory management scheme to maintain a flexible set of »memory extents« for cyclic usage.
- See also
- BlockFlow_test
Definition at line 48 of file extent-family-test.cpp.
|
virtual | ~Test ()=default |
| this is an interface
|
|
lib::Random | makeRandGen () |
| build a dedicated new RandomGen, seeded from the default-Gen
|
|
virtual void | run (Arg arg)=0 |
|
void | seedRand () |
| draw a new random seed from a common nucleus, and re-seed the default-Gen.
|
|
static string | firstTok (Arg) |
| conveniently pick the first token from the argument line
|
|
static uint | firstVal (Arg, uint=1) |
| conveniently use some number given as argument, with optional default
|
|
◆ simpleUsage()
◆ use_and_drop()
◆ iteration()
◆ reuseUnclean()
◆ wrapAround()
- Test:
- verify in detail how iteration wraps around to also reuse previously dropped extents, possibly rearranging the internal management-vector to allow growing new extents at the end.
- existing allocations are re-used cyclically
- this may lead to a »wrapped« internal state
- necessitating to expand allocations in the middle
- yet all existing Extent addresses remain stable
Definition at line 238 of file extent-family-test.cpp.
References lib::explore().
The documentation for this class was generated from the following file: