integer test_at182 array AssistTimestamps_nextFree101 integer AssistTimestamps_firstFree178 integer AssistTimestamps_maxIndex188 array AssistTimestamps_vals_0108 array AssistTimestamps_vals_1471 array AssistTimestamps_vals_2514 array AssistTimestamps_vals_3577 array AssistTimestamps_vals_4169 array AssistTimestamps_vals_5154 array AssistTimestamps_vals_6193 array AssistTimestamps_vals_7859 array AssistTimestamps_vals_8151 array AssistTimestamps_vals_9946 array AssistTimestamps_vals_10194 array AssistTimestamps_vals_11585 integer test_at182 = new_AssistTimestamps169() integer AssistTimestamps_firstFree178 = 0 integer AssistTimestamps_maxIndex188 = 0 function initGlobals156() { } function main697() { initGlobals156(); test_at_182 = new_AssistTimestamps169(); AssistTimestamps_vals_set168(test_at_182, 3, 42); if (AssistTimestamps_vals_get138(test_at_182, 4) == 0) { testSuccess175(); } else { }; } function config839() { } IS_NATIVE function testSuccess175() { } function new_AssistTimestamps169() returns integer { local integer this947 local integer this820 if (AssistTimestamps_firstFree_178 == 0) { if (AssistTimestamps_maxIndex_188 < 32768) { AssistTimestamps_maxIndex_188 = (AssistTimestamps_maxIndex_188 + 1); this_820 = AssistTimestamps_maxIndex_188; } else { error176("Out of memory: Could not create AssistTimestamps."); this_820 = 0; }; } else { AssistTimestamps_firstFree_178 = (AssistTimestamps_firstFree_178 - 1); this_820 = AssistTimestamps_nextFree_101[AssistTimestamps_firstFree_178]; }; this_947 = this_820; return this_947; } function error176(string msg174) { $debugPrint172((msg_174 + (" " + #getStackTrace()))); } function AssistTimestamps_vals_set168(integer instanceId117, integer arrayIndex684, integer value207) { if ((arrayIndex_684 < 0) or (arrayIndex_684 >= 12)) { error176("Index out of Bounds"); } else { if (arrayIndex_684 <= 5) { if (arrayIndex_684 <= 2) { if (arrayIndex_684 <= 1) { if (arrayIndex_684 <= 0) { AssistTimestamps_vals_0_108[instanceId_117] = value_207; } else { AssistTimestamps_vals_1_471[instanceId_117] = value_207; }; } else { AssistTimestamps_vals_2_514[instanceId_117] = value_207; }; } else { if (arrayIndex_684 <= 4) { if (arrayIndex_684 <= 3) { AssistTimestamps_vals_3_577[instanceId_117] = value_207; } else { AssistTimestamps_vals_4_169[instanceId_117] = value_207; }; } else { AssistTimestamps_vals_5_154[instanceId_117] = value_207; }; }; } else { if (arrayIndex_684 <= 8) { if (arrayIndex_684 <= 7) { if (arrayIndex_684 <= 6) { AssistTimestamps_vals_6_193[instanceId_117] = value_207; } else { AssistTimestamps_vals_7_859[instanceId_117] = value_207; }; } else { AssistTimestamps_vals_8_151[instanceId_117] = value_207; }; } else { if (arrayIndex_684 <= 10) { if (arrayIndex_684 <= 9) { AssistTimestamps_vals_9_946[instanceId_117] = value_207; } else { AssistTimestamps_vals_10_194[instanceId_117] = value_207; }; } else { AssistTimestamps_vals_11_585[instanceId_117] = value_207; }; }; }; }; } function AssistTimestamps_vals_get138(integer index1405, integer index2166) returns integer { local integer returnVal193 if ((index2_166 < 0) or (index2_166 >= 12)) { error176("Index out of Bounds"); } else { if (index2_166 <= 5) { if (index2_166 <= 2) { if (index2_166 <= 1) { if (index2_166 <= 0) { returnVal_193 = AssistTimestamps_vals_0_108[index1_405]; } else { returnVal_193 = AssistTimestamps_vals_1_471[index1_405]; }; } else { returnVal_193 = AssistTimestamps_vals_2_514[index1_405]; }; } else { if (index2_166 <= 4) { if (index2_166 <= 3) { returnVal_193 = AssistTimestamps_vals_3_577[index1_405]; } else { returnVal_193 = AssistTimestamps_vals_4_169[index1_405]; }; } else { returnVal_193 = AssistTimestamps_vals_5_154[index1_405]; }; }; } else { if (index2_166 <= 8) { if (index2_166 <= 7) { if (index2_166 <= 6) { returnVal_193 = AssistTimestamps_vals_6_193[index1_405]; } else { returnVal_193 = AssistTimestamps_vals_7_859[index1_405]; }; } else { returnVal_193 = AssistTimestamps_vals_8_151[index1_405]; }; } else { if (index2_166 <= 10) { if (index2_166 <= 9) { returnVal_193 = AssistTimestamps_vals_9_946[index1_405]; } else { returnVal_193 = AssistTimestamps_vals_10_194[index1_405]; }; } else { returnVal_193 = AssistTimestamps_vals_11_585[index1_405]; }; }; }; }; return returnVal_193; }