integer test_numExecutions213 array C_nextFree105 integer C_firstFree600 integer C_maxIndex103 array C_v_0792 array C_v_1220 array C_v_2183 integer test_numExecutions213 = 0 integer C_firstFree600 = 0 integer C_maxIndex103 = 0 function initGlobals173() { C_firstFree_600 = 0; C_maxIndex_103 = 0; } function main163() { initGlobals173(); init_test138(); } function config387() { } function init_test138() { local integer tmp698 local integer c627 local integer index_temp_12_9185 test_numExecutions_213 = 0; tmp_698 = 1; c_627 = new_C265(); index_temp_12_9_185 = (getIndex111() + tmp_698); C_v_set936(c_627, index_temp_12_9_185, (C_v_get341(c_627, index_temp_12_9_185) + 1)); if (test_numExecutions_213 == 1) { testSuccess214(); } else { }; } function getIndex111() returns integer { test_numExecutions_213 = (test_numExecutions_213 + 1); return 1; } IS_NATIVE function testSuccess214() { } function C_init114(integer this144) { C_v_set936(this_144, 0, 7); C_v_set936(this_144, 1, 8); C_v_set936(this_144, 2, 9); } function new_C265() returns integer { local integer this845 this_845 = alloc_C396(); construct_C127(this_845); return this_845; } function construct_C127(integer this202) { C_init114(this_202); } function alloc_C396() returns integer { local integer this140 if (C_firstFree_600 == 0) { if (C_maxIndex_103 < 32768) { C_maxIndex_103 = (C_maxIndex_103 + 1); this_140 = C_maxIndex_103; } else { error186("Out of memory: Could not create C."); this_140 = 0; }; } else { C_firstFree_600 = (C_firstFree_600 - 1); this_140 = C_nextFree_105[C_firstFree_600]; }; return this_140; } function error186(string msg187) { $debugPrint112((msg_187 + (" " + #getStackTrace()))); } function C_v_set936(integer instanceId177, integer arrayIndex503, integer value144) { if ((arrayIndex_503 < 0) or (arrayIndex_503 >= 3)) { error186("Index out of Bounds"); } else { if (arrayIndex_503 <= 1) { if (arrayIndex_503 <= 0) { C_v_0_792[instanceId_177] = value_144; } else { C_v_1_220[instanceId_177] = value_144; }; } else { C_v_2_183[instanceId_177] = value_144; }; }; } function C_v_get341(integer index1196, integer index2173) returns integer { local integer returnVal911 if ((index2_173 < 0) or (index2_173 >= 3)) { error186("Index out of Bounds"); } else { if (index2_173 <= 1) { if (index2_173 <= 0) { returnVal_911 = C_v_0_792[index1_196]; } else { returnVal_911 = C_v_1_220[index1_196]; }; } else { returnVal_911 = C_v_2_183[index1_196]; }; }; return returnVal_911; }