| 1141 | } |
| 1142 | |
| 1143 | void fxLinkChunks(txMachine* the) |
| 1144 | { |
| 1145 | txBlock* block = the->firstBlock; |
| 1146 | while (block) { |
| 1147 | txByte* current = ((txByte*)block) + sizeof(txBlock); |
| 1148 | txByte* limit = block->current; |
| 1149 | while (current < limit) { |
| 1150 | txSize size = ((txChunk*)current)->size; |
| 1151 | size &= ~mxChunkFlag; |
| 1152 | ((txChunk*)current)->size = size; |
| 1153 | txByte* next = current + size; |
| 1154 | ((txChunk*)current)->temporary = next; |
| 1155 | current = next; |
| 1156 | } |
| 1157 | block = block->nextBlock; |
| 1158 | } |
| 1159 | } |
| 1160 | |
| 1161 | void fxMeasureSlot(txMachine* the, txSnapshot* snapshot, txSlot* slot, txSize* chunkSize) |
| 1162 | { |
no outgoing calls
no test coverage detected