-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
499 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
.../BasicTests.XenoAtom.Allocators.Tests.BasicTests.TestAllocate1.Case_03-Reset.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
TLSF Allocator | ||
============== | ||
|
||
Alignment: 64 | ||
|
||
No chunks allocated | ||
|
||
No bins allocated | ||
|
||
No blocks allocated | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
....Allocators.Tests.BasicTests.TestAllocateInterleavedFree.Case_01-Allocations.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
TLSF Allocator | ||
============== | ||
|
||
Alignment: 64 | ||
|
||
Chunks: 1 | ||
---------- | ||
Chunk MemoryChunkId(0x0): | ||
BaseAddress: MemoryAddress(0xFE00120000000000) | ||
Size: MemorySize(65536) | ||
TotalAllocated: MemorySize(256) | ||
UsedBlockCount: 4 | ||
FreeBlockCount: 1 | ||
FirstBlockInPhysicalOrder: 1 | ||
|
||
Bins: 0b0000_0000_0000_0000_0000_0000_0010_0000 | ||
---------------------------------------- | ||
Bin L1 (5): [0x4000, 0x7fff[ -> Mask: 0b1000_0000_0000_0000 | ||
Bin L2 (15): [0x7c00, 0x7fff[ -> FirstFreeBlock: 0 | ||
|
||
Blocks: 5 | ||
----------- | ||
Block Chunk Offset Size Status Free Links Phys Links | ||
[0] 0 256 65280 Free -1 <-> -1 4 <-> -1 | ||
[1] 0 0 64 Used -1 <-> -1 -1 <-> 2 | ||
[2] 0 64 64 Used -1 <-> -1 1 <-> 3 | ||
[3] 0 128 64 Used -1 <-> -1 2 <-> 4 | ||
[4] 0 192 64 Used -1 <-> -1 3 <-> 0 |
30 changes: 30 additions & 0 deletions
30
...oAtom.Allocators.Tests.BasicTests.TestAllocateInterleavedFree.Case_02-Free24.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
TLSF Allocator | ||
============== | ||
|
||
Alignment: 64 | ||
|
||
Chunks: 1 | ||
---------- | ||
Chunk MemoryChunkId(0x0): | ||
BaseAddress: MemoryAddress(0xFE00120000000000) | ||
Size: MemorySize(65536) | ||
TotalAllocated: MemorySize(128) | ||
UsedBlockCount: 2 | ||
FreeBlockCount: 2 | ||
FirstBlockInPhysicalOrder: 1 | ||
|
||
Bins: 0b0000_0000_0000_0000_0000_0000_0010_0001 | ||
---------------------------------------- | ||
Bin L1 (0): [0x0, 0x1ff[ -> Mask: 0b0000_0000_0000_0001 | ||
Bin L2 (0): [0x0, 0x1f[ -> FirstFreeBlock: 2 | ||
Bin L1 (5): [0x4000, 0x7fff[ -> Mask: 0b1000_0000_0000_0000 | ||
Bin L2 (15): [0x7c00, 0x7fff[ -> FirstFreeBlock: 4 | ||
|
||
Blocks: 5 | ||
----------- | ||
Block Chunk Offset Size Status Free Links Phys Links | ||
[0] Avail | ||
[1] 0 0 64 Used -1 <-> -1 -1 <-> 2 | ||
[2] 0 64 64 Free -1 <-> -1 1 <-> 3 | ||
[3] 0 128 64 Used -1 <-> -1 2 <-> 4 | ||
[4] 0 192 65344 Free -1 <-> -1 3 <-> -1 |
26 changes: 26 additions & 0 deletions
26
...oAtom.Allocators.Tests.BasicTests.TestAllocateInterleavedFree.Case_03-Free13.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
TLSF Allocator | ||
============== | ||
|
||
Alignment: 64 | ||
|
||
Chunks: 1 | ||
---------- | ||
Chunk MemoryChunkId(0x0): | ||
BaseAddress: MemoryAddress(0xFE00120000000000) | ||
Size: MemorySize(65536) | ||
TotalAllocated: MemorySize(0) | ||
UsedBlockCount: 0 | ||
FreeBlockCount: 1 | ||
FirstBlockInPhysicalOrder: 3 | ||
|
||
Bins: 0b0000_0000_0000_0000_0000_0000_0100_0000 | ||
---------------------------------------- | ||
Bin L1 (6): [0x8000, 0xffff[ -> Mask: 0b0000_0000_0000_0001 | ||
Bin L2 (0): [0x8000, 0x87ff[ -> FirstFreeBlock: 3 | ||
|
||
Blocks: 5 | ||
----------- | ||
Block Chunk Offset Size Status Free Links Phys Links | ||
[0-2] Avail | ||
[3] 0 0 65536 Free -1 <-> -1 -1 <-> -1 | ||
[4] Avail |
27 changes: 27 additions & 0 deletions
27
...Allocators.Tests.BasicTests.TestAllocateInterleavedFree2.Case_01-Allocations.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
TLSF Allocator | ||
============== | ||
|
||
Alignment: 64 | ||
|
||
Chunks: 1 | ||
---------- | ||
Chunk MemoryChunkId(0x0): | ||
BaseAddress: MemoryAddress(0xFE00120000000000) | ||
Size: MemorySize(65536) | ||
TotalAllocated: MemorySize(192) | ||
UsedBlockCount: 3 | ||
FreeBlockCount: 1 | ||
FirstBlockInPhysicalOrder: 1 | ||
|
||
Bins: 0b0000_0000_0000_0000_0000_0000_0010_0000 | ||
---------------------------------------- | ||
Bin L1 (5): [0x4000, 0x7fff[ -> Mask: 0b1000_0000_0000_0000 | ||
Bin L2 (15): [0x7c00, 0x7fff[ -> FirstFreeBlock: 0 | ||
|
||
Blocks: 4 | ||
----------- | ||
Block Chunk Offset Size Status Free Links Phys Links | ||
[0] 0 192 65344 Free -1 <-> -1 3 <-> -1 | ||
[1] 0 0 64 Used -1 <-> -1 -1 <-> 2 | ||
[2] 0 64 64 Used -1 <-> -1 1 <-> 3 | ||
[3] 0 128 64 Used -1 <-> -1 2 <-> 0 |
29 changes: 29 additions & 0 deletions
29
...oAtom.Allocators.Tests.BasicTests.TestAllocateInterleavedFree2.Case_02-Free2.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
TLSF Allocator | ||
============== | ||
|
||
Alignment: 64 | ||
|
||
Chunks: 1 | ||
---------- | ||
Chunk MemoryChunkId(0x0): | ||
BaseAddress: MemoryAddress(0xFE00120000000000) | ||
Size: MemorySize(65536) | ||
TotalAllocated: MemorySize(128) | ||
UsedBlockCount: 2 | ||
FreeBlockCount: 2 | ||
FirstBlockInPhysicalOrder: 1 | ||
|
||
Bins: 0b0000_0000_0000_0000_0000_0000_0010_0001 | ||
---------------------------------------- | ||
Bin L1 (0): [0x0, 0x1ff[ -> Mask: 0b0000_0000_0000_0001 | ||
Bin L2 (0): [0x0, 0x1f[ -> FirstFreeBlock: 2 | ||
Bin L1 (5): [0x4000, 0x7fff[ -> Mask: 0b1000_0000_0000_0000 | ||
Bin L2 (15): [0x7c00, 0x7fff[ -> FirstFreeBlock: 0 | ||
|
||
Blocks: 4 | ||
----------- | ||
Block Chunk Offset Size Status Free Links Phys Links | ||
[0] 0 192 65344 Free -1 <-> -1 3 <-> -1 | ||
[1] 0 0 64 Used -1 <-> -1 -1 <-> 2 | ||
[2] 0 64 64 Free -1 <-> -1 1 <-> 3 | ||
[3] 0 128 64 Used -1 <-> -1 2 <-> 0 |
27 changes: 27 additions & 0 deletions
27
...oAtom.Allocators.Tests.BasicTests.TestAllocateInterleavedFree2.Case_03-Free3.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
TLSF Allocator | ||
============== | ||
|
||
Alignment: 64 | ||
|
||
Chunks: 1 | ||
---------- | ||
Chunk MemoryChunkId(0x0): | ||
BaseAddress: MemoryAddress(0xFE00120000000000) | ||
Size: MemorySize(65536) | ||
TotalAllocated: MemorySize(64) | ||
UsedBlockCount: 1 | ||
FreeBlockCount: 1 | ||
FirstBlockInPhysicalOrder: 1 | ||
|
||
Bins: 0b0000_0000_0000_0000_0000_0000_0010_0000 | ||
---------------------------------------- | ||
Bin L1 (5): [0x4000, 0x7fff[ -> Mask: 0b1000_0000_0000_0000 | ||
Bin L2 (15): [0x7c00, 0x7fff[ -> FirstFreeBlock: 3 | ||
|
||
Blocks: 4 | ||
----------- | ||
Block Chunk Offset Size Status Free Links Phys Links | ||
[0] Avail | ||
[1] 0 0 64 Used -1 <-> -1 -1 <-> 3 | ||
[2] Avail | ||
[3] 0 64 65472 Free -1 <-> -1 1 <-> -1 |
26 changes: 26 additions & 0 deletions
26
...oAtom.Allocators.Tests.BasicTests.TestAllocateInterleavedFree2.Case_04-Free1.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
TLSF Allocator | ||
============== | ||
|
||
Alignment: 64 | ||
|
||
Chunks: 1 | ||
---------- | ||
Chunk MemoryChunkId(0x0): | ||
BaseAddress: MemoryAddress(0xFE00120000000000) | ||
Size: MemorySize(65536) | ||
TotalAllocated: MemorySize(0) | ||
UsedBlockCount: 0 | ||
FreeBlockCount: 1 | ||
FirstBlockInPhysicalOrder: 1 | ||
|
||
Bins: 0b0000_0000_0000_0000_0000_0000_0100_0000 | ||
---------------------------------------- | ||
Bin L1 (6): [0x8000, 0xffff[ -> Mask: 0b0000_0000_0000_0001 | ||
Bin L2 (0): [0x8000, 0x87ff[ -> FirstFreeBlock: 1 | ||
|
||
Blocks: 4 | ||
----------- | ||
Block Chunk Offset Size Status Free Links Phys Links | ||
[0] Avail | ||
[1] 0 0 65536 Free -1 <-> -1 -1 <-> -1 | ||
[2-3] Avail |
27 changes: 27 additions & 0 deletions
27
...s.Tests.BasicTests.TestAllocateInterleavedFreeAndRealloc.Case_01-Allocations.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
TLSF Allocator | ||
============== | ||
|
||
Alignment: 64 | ||
|
||
Chunks: 1 | ||
---------- | ||
Chunk MemoryChunkId(0x0): | ||
BaseAddress: MemoryAddress(0xFE00120000000000) | ||
Size: MemorySize(65536) | ||
TotalAllocated: MemorySize(192) | ||
UsedBlockCount: 3 | ||
FreeBlockCount: 1 | ||
FirstBlockInPhysicalOrder: 1 | ||
|
||
Bins: 0b0000_0000_0000_0000_0000_0000_0010_0000 | ||
---------------------------------------- | ||
Bin L1 (5): [0x4000, 0x7fff[ -> Mask: 0b1000_0000_0000_0000 | ||
Bin L2 (15): [0x7c00, 0x7fff[ -> FirstFreeBlock: 0 | ||
|
||
Blocks: 4 | ||
----------- | ||
Block Chunk Offset Size Status Free Links Phys Links | ||
[0] 0 192 65344 Free -1 <-> -1 3 <-> -1 | ||
[1] 0 0 64 Used -1 <-> -1 -1 <-> 2 | ||
[2] 0 64 64 Used -1 <-> -1 1 <-> 3 | ||
[3] 0 128 64 Used -1 <-> -1 2 <-> 0 |
Oops, something went wrong.