integer test_at212 array AssistTimestamps_nextFree175 integer AssistTimestamps_firstFree449 integer AssistTimestamps_maxIndex210 array AssistTimestamps_vals_0102 array AssistTimestamps_vals_1984 array AssistTimestamps_vals_2124 array AssistTimestamps_vals_3179 array AssistTimestamps_vals_4769 array AssistTimestamps_vals_5131 array AssistTimestamps_vals_6758 array AssistTimestamps_vals_7820 array AssistTimestamps_vals_8740 array AssistTimestamps_vals_9919 array AssistTimestamps_vals_10158 array AssistTimestamps_vals_11161 integer test_at212 = new_AssistTimestamps362() integer AssistTimestamps_firstFree449 = 0 integer AssistTimestamps_maxIndex210 = 0 function initGlobals133() { } function main512() { initGlobals133(); init_test724(); } function config169() { } function init_test724() { test_at_212 = new_AssistTimestamps362(); AssistTimestamps_vals_set107(test_at_212, 4, 42); AssistTimestamps_vals_set107(test_at_212, 3, 72); if (AssistTimestamps_vals_get187(test_at_212, 4) == 42) { testSuccess668(); } else { }; } IS_NATIVE function testSuccess668() { } function new_AssistTimestamps362() returns integer { local integer this185 if (AssistTimestamps_firstFree_449 == 0) { if (AssistTimestamps_maxIndex_210 < 32768) { AssistTimestamps_maxIndex_210 = (AssistTimestamps_maxIndex_210 + 1); this_185 = AssistTimestamps_maxIndex_210; } else { error673("Out of memory: Could not create AssistTimestamps."); this_185 = 0; }; } else { AssistTimestamps_firstFree_449 = (AssistTimestamps_firstFree_449 - 1); this_185 = AssistTimestamps_nextFree_175[AssistTimestamps_firstFree_449]; }; return this_185; } function error673(string msg909) { $debugPrint127((msg_909 + (" " + #getStackTrace()))); } function AssistTimestamps_vals_set107(integer instanceId122, integer arrayIndex154, integer value157) { if ((arrayIndex_154 < 0) or (arrayIndex_154 >= 12)) { error673("Index out of Bounds"); } else { if (arrayIndex_154 <= 5) { if (arrayIndex_154 <= 2) { if (arrayIndex_154 <= 1) { if (arrayIndex_154 <= 0) { AssistTimestamps_vals_0_102[instanceId_122] = value_157; } else { AssistTimestamps_vals_1_984[instanceId_122] = value_157; }; } else { AssistTimestamps_vals_2_124[instanceId_122] = value_157; }; } else { if (arrayIndex_154 <= 4) { if (arrayIndex_154 <= 3) { AssistTimestamps_vals_3_179[instanceId_122] = value_157; } else { AssistTimestamps_vals_4_769[instanceId_122] = value_157; }; } else { AssistTimestamps_vals_5_131[instanceId_122] = value_157; }; }; } else { if (arrayIndex_154 <= 8) { if (arrayIndex_154 <= 7) { if (arrayIndex_154 <= 6) { AssistTimestamps_vals_6_758[instanceId_122] = value_157; } else { AssistTimestamps_vals_7_820[instanceId_122] = value_157; }; } else { AssistTimestamps_vals_8_740[instanceId_122] = value_157; }; } else { if (arrayIndex_154 <= 10) { if (arrayIndex_154 <= 9) { AssistTimestamps_vals_9_919[instanceId_122] = value_157; } else { AssistTimestamps_vals_10_158[instanceId_122] = value_157; }; } else { AssistTimestamps_vals_11_161[instanceId_122] = value_157; }; }; }; }; } function AssistTimestamps_vals_get187(integer index1151, integer index2131) returns integer { local integer returnVal101 if ((index2_131 < 0) or (index2_131 >= 12)) { error673("Index out of Bounds"); } else { if (index2_131 <= 5) { if (index2_131 <= 2) { if (index2_131 <= 1) { if (index2_131 <= 0) { returnVal_101 = AssistTimestamps_vals_0_102[index1_151]; } else { returnVal_101 = AssistTimestamps_vals_1_984[index1_151]; }; } else { returnVal_101 = AssistTimestamps_vals_2_124[index1_151]; }; } else { if (index2_131 <= 4) { if (index2_131 <= 3) { returnVal_101 = AssistTimestamps_vals_3_179[index1_151]; } else { returnVal_101 = AssistTimestamps_vals_4_769[index1_151]; }; } else { returnVal_101 = AssistTimestamps_vals_5_131[index1_151]; }; }; } else { if (index2_131 <= 8) { if (index2_131 <= 7) { if (index2_131 <= 6) { returnVal_101 = AssistTimestamps_vals_6_758[index1_151]; } else { returnVal_101 = AssistTimestamps_vals_7_820[index1_151]; }; } else { returnVal_101 = AssistTimestamps_vals_8_740[index1_151]; }; } else { if (index2_131 <= 10) { if (index2_131 <= 9) { returnVal_101 = AssistTimestamps_vals_9_919[index1_151]; } else { returnVal_101 = AssistTimestamps_vals_10_158[index1_151]; }; } else { returnVal_101 = AssistTimestamps_vals_11_161[index1_151]; }; }; }; }; return returnVal_101; }