line |
true |
false |
branch |
13
|
0 |
8023428 |
assert(capacity >= 0); |
16
|
5954749 |
2068679 |
if (memory_block_type == SPVM_ALLOCATOR_C_ALLOC_TYPE_TMP) { |
19
|
2068679 |
0 |
else if (memory_block_type == SPVM_ALLOCATOR_C_ALLOC_TYPE_PERMANENT) { |
28
|
7925289 |
98139 |
if (capacity == 0) { |
36
|
5954749 |
2068679 |
if (memory_block_type == SPVM_ALLOCATOR_C_ALLOC_TYPE_TMP) { |
39
|
2068679 |
0 |
else if (memory_block_type == SPVM_ALLOCATOR_C_ALLOC_TYPE_PERMANENT) { |
66
|
0 |
77177120 |
assert(list); |
73
|
4059945 |
73117175 |
if (length >= capacity) { |
77
|
2217661 |
1842284 |
if (list->memory_block_type == SPVM_ALLOCATOR_C_ALLOC_TYPE_TMP) { |
80
|
1842284 |
0 |
else if (list->memory_block_type == SPVM_ALLOCATOR_C_ALLOC_TYPE_PERMANENT) { |
87
|
2217661 |
1842284 |
if (list->memory_block_type == SPVM_ALLOCATOR_C_ALLOC_TYPE_TMP) { |
90
|
0 |
1842284 |
else if (list->memory_block_type == SPVM_ALLOCATOR_C_ALLOC_TYPE_PERMANENT) { |
107
|
5954749 |
0 |
if (list->memory_block_type == SPVM_ALLOCATOR_C_ALLOC_TYPE_TMP) { |
111
|
0 |
0 |
else if (list->memory_block_type == SPVM_ALLOCATOR_C_ALLOC_TYPE_PERMANENT) { |
142
|
0 |
175973025 |
assert(list); |
143
|
0 |
175973025 |
assert(index >= 0); |
144
|
0 |
175973025 |
assert(index < list->length); |
152
|
0 |
10456 |
assert(list); |
153
|
0 |
10456 |
assert(index >= 0); |
154
|
0 |
10456 |
assert(index < list->length); |
161
|
0 |
8829180 |
assert(list->length >= 0); |
163
|
0 |
8829180 |
if (list->length == 0) { |
174
|
31825 |
1155 |
while (list->length > 0) { |
181
|
0 |
128991 |
assert(list->length >= 0); |
183
|
0 |
128991 |
if (list->length == 0) { |
188
|
1610761 |
128991 |
for (int32_t i = 0; i < list->length - 1; i++) { |