integer test_at930 array AssistTimestamps_nextFree304 integer AssistTimestamps_firstFree115 integer AssistTimestamps_maxIndex146 array AssistTimestamps_vals_0160 array AssistTimestamps_vals_1177 array AssistTimestamps_vals_2156 array AssistTimestamps_vals_3417 array AssistTimestamps_vals_4127 array AssistTimestamps_vals_5114 array AssistTimestamps_vals_6342 array AssistTimestamps_vals_7121 array AssistTimestamps_vals_8143 array AssistTimestamps_vals_9145 array AssistTimestamps_vals_10899 array AssistTimestamps_vals_11151 integer test_at930 = new_AssistTimestamps212() integer AssistTimestamps_firstFree115 = 0 integer AssistTimestamps_maxIndex146 = 0 function initGlobals525() { } function main161() { initGlobals525(); init_test181(); } function config204() { } function init_test181() { test_at_930 = new_AssistTimestamps212(); AssistTimestamps_vals_set143(test_at_930, 4, 42); AssistTimestamps_vals_set143(test_at_930, 3, 72); if (AssistTimestamps_vals_get566(test_at_930, 4) == 42) { testSuccess376(); } else { }; } IS_NATIVE function testSuccess376() { } function new_AssistTimestamps212() returns integer { local integer this102 local integer this111 if (AssistTimestamps_firstFree_115 == 0) { if (AssistTimestamps_maxIndex_146 < 32768) { AssistTimestamps_maxIndex_146 = (AssistTimestamps_maxIndex_146 + 1); this_111 = AssistTimestamps_maxIndex_146; } else { error336("Out of memory: Could not create AssistTimestamps."); this_111 = 0; }; } else { AssistTimestamps_firstFree_115 = (AssistTimestamps_firstFree_115 - 1); this_111 = AssistTimestamps_nextFree_304[AssistTimestamps_firstFree_115]; }; this_102 = this_111; return this_102; } function error336(string msg154) { $debugPrint213((msg_154 + (" " + #getStackTrace()))); } function AssistTimestamps_vals_set143(integer instanceId148, integer arrayIndex162, integer value617) { if ((arrayIndex_162 < 0) or (arrayIndex_162 >= 12)) { error336("Index out of Bounds"); } else { if (arrayIndex_162 <= 5) { if (arrayIndex_162 <= 2) { if (arrayIndex_162 <= 1) { if (arrayIndex_162 <= 0) { AssistTimestamps_vals_0_160[instanceId_148] = value_617; } else { AssistTimestamps_vals_1_177[instanceId_148] = value_617; }; } else { AssistTimestamps_vals_2_156[instanceId_148] = value_617; }; } else { if (arrayIndex_162 <= 4) { if (arrayIndex_162 <= 3) { AssistTimestamps_vals_3_417[instanceId_148] = value_617; } else { AssistTimestamps_vals_4_127[instanceId_148] = value_617; }; } else { AssistTimestamps_vals_5_114[instanceId_148] = value_617; }; }; } else { if (arrayIndex_162 <= 8) { if (arrayIndex_162 <= 7) { if (arrayIndex_162 <= 6) { AssistTimestamps_vals_6_342[instanceId_148] = value_617; } else { AssistTimestamps_vals_7_121[instanceId_148] = value_617; }; } else { AssistTimestamps_vals_8_143[instanceId_148] = value_617; }; } else { if (arrayIndex_162 <= 10) { if (arrayIndex_162 <= 9) { AssistTimestamps_vals_9_145[instanceId_148] = value_617; } else { AssistTimestamps_vals_10_899[instanceId_148] = value_617; }; } else { AssistTimestamps_vals_11_151[instanceId_148] = value_617; }; }; }; }; } function AssistTimestamps_vals_get566(integer index1130, integer index2102) returns integer { local integer returnVal111 if ((index2_102 < 0) or (index2_102 >= 12)) { error336("Index out of Bounds"); } else { if (index2_102 <= 5) { if (index2_102 <= 2) { if (index2_102 <= 1) { if (index2_102 <= 0) { returnVal_111 = AssistTimestamps_vals_0_160[index1_130]; } else { returnVal_111 = AssistTimestamps_vals_1_177[index1_130]; }; } else { returnVal_111 = AssistTimestamps_vals_2_156[index1_130]; }; } else { if (index2_102 <= 4) { if (index2_102 <= 3) { returnVal_111 = AssistTimestamps_vals_3_417[index1_130]; } else { returnVal_111 = AssistTimestamps_vals_4_127[index1_130]; }; } else { returnVal_111 = AssistTimestamps_vals_5_114[index1_130]; }; }; } else { if (index2_102 <= 8) { if (index2_102 <= 7) { if (index2_102 <= 6) { returnVal_111 = AssistTimestamps_vals_6_342[index1_130]; } else { returnVal_111 = AssistTimestamps_vals_7_121[index1_130]; }; } else { returnVal_111 = AssistTimestamps_vals_8_143[index1_130]; }; } else { if (index2_102 <= 10) { if (index2_102 <= 9) { returnVal_111 = AssistTimestamps_vals_9_145[index1_130]; } else { returnVal_111 = AssistTimestamps_vals_10_899[index1_130]; }; } else { returnVal_111 = AssistTimestamps_vals_11_151[index1_130]; }; }; }; }; return returnVal_111; }