Go to the source code of this file.
◆ NUM
◆ TEST_CASE() [1/6]
Definition at line 13 of file fast_alloc_test.cpp.
13 {
16
19
22
24
26
27
28}
The list class represents a linked list.
◆ TEST_CASE() [2/6]
◆ TEST_CASE() [3/6]
◆ TEST_CASE() [4/6]
Definition at line 55 of file fast_alloc_test.cpp.
55 {
58#ifdef OS_WASM
60#else
62#endif
67}
void tm_delete_array(C *Ptr)
◆ TEST_CASE() [5/6]
Definition at line 70 of file fast_alloc_test.cpp.
70 {
71 const int bnum= 100000;
73 for (
int i= 0; i <
bnum; i++) {
75 }
76 for (
int i= 0; i <
bnum; i++) {
78 }
79}
◆ TEST_CASE() [6/6]
Definition at line 84 of file fast_alloc_test.cpp.
84 {
85
86#ifdef OS_WASM
87#define NUM 100
88#else
89#define NUM 10000
90#endif
92 for (
int i= 0; i <
NUM; i++) {
94 }
95 for (
int i= 0; i <
NUM; i++) {
97 }
98}