yojimbos_law

Some declarations of multi-index maps.

May 7th, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.73 KB | None | 0 0
  1. Search "\w+(\[\w+\]){2,}" (127 hits in 22 files)
  2. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\adding all items to a custom inventory tab.ash (4 hits)
  3. Line 2: int[int][int] eyedeez;
  4. Line 7: eyedeez[i][j] = 100*i + j;
  5. Line 9: join_is_not_a_thing[i] += eyedeez[i][j].to_string();
  6. Line 12: join_is_not_a_thing[i] += eyedeez[i][j].to_string()+",";
  7. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\bucket spading (battlefield version).ash (4 hits)
  8. Line 6: string[int][location] spading_combats ;
  9. Line 23: spading_combats[current_turn][i] = last_monster().manuel_name;
  10. Line 38: //> ash string[int][location] spading_spading ; file_to_map("yay_buckets.txt", spading_spading); string blarg = ""; foreach i,j in spading_spading {blarg += spading_spading[i][j]+"~" ; } print(blarg);
  11. Line 38: //> ash string[int][location] spading_spading ; file_to_map("yay_buckets.txt", spading_spading); string blarg = ""; foreach i,j in spading_spading {blarg += spading_spading[i][j]+"~" ; } print(blarg);
  12. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\bucket spading (caldera version).ash (4 hits)
  13. Line 6: string[int][location] spading_combats ;
  14. Line 23: spading_combats[current_turn][i] = last_monster().manuel_name;
  15. Line 38: //> ash string[int][location] spading_spading ; file_to_map("yay_buckets.txt", spading_spading); string blarg = ""; foreach i,j in spading_spading {blarg += spading_spading[i][j]+"~" ; } print(blarg);
  16. Line 38: //> ash string[int][location] spading_spading ; file_to_map("yay_buckets.txt", spading_spading); string blarg = ""; foreach i,j in spading_spading {blarg += spading_spading[i][j]+"~" ; } print(blarg);
  17. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\exclusively gallapagos data parser.ash (8 hits)
  18. Line 3: int[int][string] whatevs;
  19. Line 6: int[int][boolean][boolean][boolean] data_prepped_for_anal;
  20. Line 21: int[int][string] new_whatevs;
  21. Line 30: new_whatevs[buffer_fight_number][buffer_queue_state] = buffer_rolled_monster;
  22. Line 35: print(i.to_string()+" "+j.to_string()+" "+new_whatevs[i][j]);
  23. Line 48: if(j.contains_text((new_whatevs[i][j]).to_string())){
  24. Line 56: if(new_whatevs[i][j] == 118){
  25. Line 66: data_prepped_for_anal[fight_number][whether_sniffed_in_queue][whether_rolled_in_queue][whether_rolled_is_sniffed] = queue_girth ;
  26. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\exclusively gallapagos queue spading.ash (2 hits)
  27. Line 117: string[int][int] a_queueueue_discerning_regex_even = group_string(clearly_I_have_a_problem, if_you_guessed_that_would_become_a_regex_kmail_me_for_a_cookie);
  28. Line 182: cthulhaggregate_the_elder_god_of_data_types[smegma_of_cthulhaggregate_I_guess][heart_of_cthulhaggregate] = neck_of_cthulhaggregate;
  29. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\gallapagos data parser.ash (8 hits)
  30. Line 3: int[int][int][string] whatevs;
  31. Line 6: int[int][boolean][boolean][boolean] data_prepped_for_anal;
  32. Line 21: int[int][string] new_whatevs;
  33. Line 30: new_whatevs[buffer_fight_number][buffer_queue_state] = buffer_rolled_monster;
  34. Line 35: print(i.to_string()+" "+j.to_string()+" "+new_whatevs[i][j]);
  35. Line 48: if(j.contains_text((new_whatevs[i][j]).to_string())){
  36. Line 56: if(new_whatevs[i][j] == 118){
  37. Line 66: data_prepped_for_anal[fight_number][whether_sniffed_in_queue][whether_rolled_in_queue][whether_rolled_is_sniffed] = queue_girth ;
  38. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\gallapagos queue spading.ash (2 hits)
  39. Line 25: string[int][int] a_queueueue_discerning_regex_even = group_string(clearly_I_have_a_problem, if_you_guessed_that_would_become_a_regex_kmail_me_for_a_cookie);
  40. Line 90: cthulhaggregate_the_elder_god_of_data_types[neck_of_cthulhaggregate][elbow_of_cthulhaggregate][heart_of_cthulhaggregate] = smegma_of_cthulhaggregate_I_guess;
  41. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\grabbing familiar properties.ash (5 hits)
  42. Line 6: string[int][familiar] familiar_properties;
  43. Line 14: string[int][int] buttles = group_string(blarfingar, "\\[(\\d.*?)\\]\\s*\=\>\\s*(\\w+)\\W");
  44. Line 17: print_html(buttles[j][k]);
  45. Line 18: familiar_properties[county_thing][i] = buttles[j][k];
  46. Line 18: familiar_properties[county_thing][i] = buttles[j][k];
  47. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\inty transitions.ash (6 hits)
  48. Line 5: float[int][int] P_that_first_becomes_second;
  49. Line 75: P_that_first_becomes_second[first][second] = 0;
  50. Line 90: P_that_first_becomes_second[first][second] = numerator / denominator;
  51. Line 100: float[int][int] transition_probabilities;
  52. Line 153: if(transition_probabilities[j][i] > 0){
  53. Line 154: this_is_a_buffer_vector_indexed_over_ints_representing_queues[i] += transition_probabilities[j][i] * this_is_a_vector_indexed_over_ints_representing_queues[j];
  54. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\manuel seller.ash (2 hits)
  55. Line 4: string[int][int] ids_of_manuel_potions = group_string(misc_inventory, "inv_use\\.php\\?pwd=[a-zA-Z0-9]\+&which=3&whichitem=(\\d+)\"");
  56. Line 34: string[int][int] a_queueueue_discerning_regex_even = group_string(clearly_I_have_a_problem, if_you_guessed_that_would_become_a_regex_kmail_me_for_a_cookie);
  57. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\map double checker.ash (3 hits)
  58. Line 3: void try_to_save(string[int][int][int] map_name, string target_file_name){
  59. Line 76: string[int][int][int] testes;
  60. Line 87: testes[dunno_something][whateverer][whateverest] = whatevererest;
  61. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\map sans checker.ash (2 hits)
  62. Line 2: string[int][int][int] testes;
  63. Line 13: testes[dunno_something][whateverer][whateverest] = whatevererest;
  64. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\marcopolo converter.ash (6 hits)
  65. Line 1: string[int][int][int] whatevs;
  66. Line 3: int[int][boolean][boolean] data_prepped_for_anal;
  67. Line 16: queue_girth = group_string(whatevs[i][j][k],"(\\,)").count()+1;
  68. Line 18: if(whatevs[i][j][k].contains_text(p.to_string())){
  69. Line 24: if(whatevs[i][j][k].contains_text(q.to_string())){
  70. Line 33: data_prepped_for_anal[corrected_queue][pre_marco_monster_in_queue][post_marco_monster_in_queue] = queue_girth ;
  71. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\missing.ash (2 hits)
  72. Line 2: int[float][effect] prebutts;
  73. Line 9: prebutts[buffer_butts][i] = county_thing;
  74. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\monster properties.ash (4 hits)
  75. Line 1: string[string][string] monster_devhax ;
  76. Line 10: string[int][int] testmonsterid = group_string( result , "(<span (?=[^<>]*green).*?\>\(.)(.*?)(\)<\/span>)" ) ;
  77. Line 11: string premonsterid = testmonsterid[0][0];
  78. Line 17: monster_devhax[monstername][monsterid] = monsterproperties ;
  79. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\new gallapagos data parser.ash (8 hits)
  80. Line 3: int[int][string] whatevs;
  81. Line 6: int[int][boolean][boolean][boolean] data_prepped_for_anal;
  82. Line 21: int[int][string] new_whatevs;
  83. Line 30: new_whatevs[buffer_fight_number][buffer_queue_state] = buffer_rolled_monster;
  84. Line 35: print(i.to_string()+" "+j.to_string()+" "+new_whatevs[i][j]);
  85. Line 48: if(j.contains_text((new_whatevs[i][j]).to_string())){
  86. Line 56: if(new_whatevs[i][j] == 118){
  87. Line 66: data_prepped_for_anal[fight_number][whether_sniffed_in_queue][whether_rolled_in_queue][whether_rolled_is_sniffed] = queue_girth ;
  88. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\new gallapagos queue spading.ash (2 hits)
  89. Line 107: string[int][int] a_queueueue_discerning_regex_even = group_string(clearly_I_have_a_problem, if_you_guessed_that_would_become_a_regex_kmail_me_for_a_cookie);
  90. Line 172: cthulhaggregate_the_elder_god_of_data_types[smegma_of_cthulhaggregate_I_guess][heart_of_cthulhaggregate] = neck_of_cthulhaggregate;
  91. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\olfaction simulator.ash (3 hits)
  92. Line 4: float[int][int][boolean] encounter_rate;
  93. Line 43: encounter_rate[n][copies][rejection_exempt] += 1;
  94. Line 92: encounter_rate[n][copies][rejection_exempt] /= 1000000;
  95. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\queue checker.ash (3 hits)
  96. Line 25: string[int][int] a_queueueue_discerning_regex_even = group_string(clearly_I_have_a_problem, if_you_guessed_that_would_become_a_regex_kmail_me_for_a_cookie);
  97. Line 68: string[int][int][int] cthulhaggregate_the_elder_god_of_data_types;
  98. Line 103: cthulhaggregate_the_elder_god_of_data_types[smegma_of_cthulhaggregate_I_guess][neck_of_cthulhaggregate][elbow_of_cthulhaggregate] = heart_of_cthulhaggregate;
  99. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\semirejection olfaction simulator.ash (3 hits)
  100. Line 4: float[int][int][int] encounter_rate;
  101. Line 33: encounter_rate[n][copies][rejectable] += 1;
  102. Line 82: encounter_rate[n][copies][rejectable] /= 1000000;
  103. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\transitions.ash (24 hits)
  104. Line 4: float[string][string] P_that_first_becomes_second;
  105. Line 78: P_that_first_becomes_second[first][second] = 0;
  106. Line 93: P_that_first_becomes_second[first][second] = numerator / denominator;
  107. Line 103: float[string][string] transition_probabilities;
  108. Line 106: float[string][string] arithmetic_buffer;
  109. Line 107: float[string][string] steady_probabilities;
  110. Line 110: steady_probabilities[i][j] = transition_probabilities[i][j];
  111. Line 110: steady_probabilities[i][j] = transition_probabilities[i][j];
  112. Line 115: // arithmetic_buffer[i][j] += transition_probabilities[i][jj] * transition_probabilities[ii][j];
  113. Line 115: // arithmetic_buffer[i][j] += transition_probabilities[i][jj] * transition_probabilities[ii][j];
  114. Line 115: // arithmetic_buffer[i][j] += transition_probabilities[i][jj] * transition_probabilities[ii][j];
  115. Line 172: if(transition_probabilities[j][i] > 0){
  116. Line 173: this_is_a_buffer_vector_indexed_over_queues[i] += transition_probabilities[j][i] * this_is_a_vector_indexed_over_queues[j];
  117. Line 187: steady_probabilities[i][j] = arithmetic_buffer[i][j];
  118. Line 187: steady_probabilities[i][j] = arithmetic_buffer[i][j];
  119. Line 192: arithmetic_buffer[i][j] = 0.0;
  120. Line 195: if(ii==jj && transition_probabilities[ii][j] > 0 && steady_probabilities[i][jj]){
  121. Line 195: if(ii==jj && transition_probabilities[ii][j] > 0 && steady_probabilities[i][jj]){
  122. Line 196: arithmetic_buffer[i][j] += steady_probabilities[i][jj] * transition_probabilities[ii][j];
  123. Line 196: arithmetic_buffer[i][j] += steady_probabilities[i][jj] * transition_probabilities[ii][j];
  124. Line 196: arithmetic_buffer[i][j] += steady_probabilities[i][jj] * transition_probabilities[ii][j];
  125. Line 202: steady_probabilities[i][j] = arithmetic_buffer[i][j];
  126. Line 202: steady_probabilities[i][j] = arithmetic_buffer[i][j];
  127. Line 215: just_one_row[i] = steady_probabilities[this_row_specifically][i];
  128. C:\Users\Butts B. Butts\Downloads\scripts\things I wrote\uniform convergence test.ash (22 hits)
  129. Line 5: float[int][int] P_that_first_becomes_second;
  130. Line 75: P_that_first_becomes_second[first][second] = 0;
  131. Line 90: P_that_first_becomes_second[first][second] = numerator / denominator;
  132. Line 100: float[int][int] transition_probabilities;
  133. Line 104: float[int][int] arithmetic_buffer;
  134. Line 105: float[int][int] steady_probabilities;
  135. Line 108: steady_probabilities[i][j] = transition_probabilities[i][j];
  136. Line 108: steady_probabilities[i][j] = transition_probabilities[i][j];
  137. Line 113: // arithmetic_buffer[i][j] += transition_probabilities[i][jj] * transition_probabilities[ii][j];
  138. Line 113: // arithmetic_buffer[i][j] += transition_probabilities[i][jj] * transition_probabilities[ii][j];
  139. Line 113: // arithmetic_buffer[i][j] += transition_probabilities[i][jj] * transition_probabilities[ii][j];
  140. Line 149: steady_probabilities[i][j] = transition_probabilities[i][j];
  141. Line 149: steady_probabilities[i][j] = transition_probabilities[i][j];
  142. Line 155: arithmetic_buffer[i][j] = 0.0;
  143. Line 157: if(transition_probabilities[ii][j] > 0.0 && steady_probabilities[i][ii] > 0.0){
  144. Line 157: if(transition_probabilities[ii][j] > 0.0 && steady_probabilities[i][ii] > 0.0){
  145. Line 158: arithmetic_buffer[i][j] += steady_probabilities[i][ii] * transition_probabilities[ii][j];
  146. Line 158: arithmetic_buffer[i][j] += steady_probabilities[i][ii] * transition_probabilities[ii][j];
  147. Line 158: arithmetic_buffer[i][j] += steady_probabilities[i][ii] * transition_probabilities[ii][j];
  148. Line 165: steady_probabilities[i][j] = arithmetic_buffer[i][j];
  149. Line 165: steady_probabilities[i][j] = arithmetic_buffer[i][j];
  150. Line 179: just_one_row[i] = steady_probabilities[this_row_specifically][i];
Advertisement
Add Comment
Please, Sign In to add comment