Debian Codegraph @

terps/tads/tads3/test/log/vector2.log

raw
1 Files to build: 5
2 symbol_export _main.t -> _main.t3s
3 symbol_export vector2.t -> vector2.t3s
4 compile _main.t -> _main.t3o
5 compile vector2.t -> vector2.t3o
6 link -> vector2.t3
7
8 (T3VM) Memory blocks still in use:
9
10 Total blocks in use: 0
11 create and fill:
12 [1] = A
13 [2] = A
14 [3] = A
15 [4] = A
16 [5] = A
17 [6] = A
18 [7] = A
19 initially: x =
20 [1] = 10
21 [2] = 9
22 [3] = 8
23 [4] = 7
24 [5] = 6
25 [6] = 5
26 [7] = 4
27 [8] = 3
28 [9] = 2
29 [10] = 1
30
31 after modifying through reference: y =
32 [1] = 10
33 [2] = 9
34 [3] = 100
35 [4] = 7
36 [5] = 6
37 [6] = 5
38 [7] = 4
39 [8] = 3
40 [9] = 2
41 [10] = 1
42 x =
43 [1] = 10
44 [2] = 9
45 [3] = 100
46 [4] = 7
47 [5] = 6
48 [6] = 5
49 [7] = 4
50 [8] = 3
51 [9] = 2
52 [10] = 1
53
54 toList:
55 [1] = 10
56 [2] = 9
57 [3] = 100
58 [4] = 7
59 [5] = 6
60 [6] = 5
61 [7] = 4
62 [8] = 3
63 [9] = 2
64 [10] = 1
65
66 toList(5):
67 [1] = 6
68 [2] = 5
69 [3] = 4
70 [4] = 3
71 [5] = 2
72 [6] = 1
73
74 toList(17):
75
76 toList(15, 17):
77
78 toList(3, 5):
79 [1] = 100
80 [2] = 7
81 [3] = 6
82 [4] = 5
83 [5] = 4
84
85 toList(10, 8):
86 [1] = 1
87
88 direct copy:
89 [1] = 10
90 [2] = 9
91 [3] = 100
92 [4] = 7
93 [5] = 6
94 [6] = 5
95 [7] = 4
96 [8] = 3
97 [9] = 2
98 [10] = 1
99
100 copyFrom 1,3,7:
101 [1] = 10
102 [2] = 9
103 [3] = a
104 [4] = b
105 [5] = c
106 [6] = d
107 [7] = 4
108 [8] = 3
109 [9] = 2
110 [10] = 1
111
112 copyFrom 1,7,7:
113 [1] = 10
114 [2] = 9
115 [3] = 100
116 [4] = 7
117 [5] = 6
118 [6] = 5
119 [7] = a
120 [8] = b
121 [9] = c
122 [10] = d
123
124 copyFrom 1,4,3:
125 [1] = 10
126 [2] = 9
127 [3] = 100
128 [4] = a
129 [5] = b
130 [6] = c
131 [7] = 4
132 [8] = 3
133 [9] = 2
134 [10] = 1
135
136 copyFrom 3,5,7:
137 [1] = 10
138 [2] = 9
139 [3] = 100
140 [4] = 7
141 [5] = c
142 [6] = d
143 [7] = 4
144 [8] = 3
145 [9] = 2
146 [10] = 1
147
148 fillValue 'x':
149 [1] = x
150 [2] = x
151 [3] = x
152 [4] = x
153 [5] = x
154 [6] = x
155 [7] = x
156 [8] = x
157 [9] = x
158 [10] = x
159
160 fillValue 123, 3:
161 [1] = nil
162 [2] = nil
163 [3] = 123
164 [4] = 123
165 [5] = 123
166 [6] = 123
167 [7] = 123
168 [8] = 123
169 [9] = 123
170 [10] = 123
171
172 fillValue 'abc', 3, 4:
173 [1] = nil
174 [2] = nil
175 [3] = abc
176 [4] = abc
177 [5] = abc
178 [6] = abc
179 [7] = nil
180 [8] = nil
181 [9] = nil
182 [10] = nil
183
184 applyAll fibonacci:
185 [1] = 1
186 [2] = 1
187 [3] = 2
188 [4] = 3
189 [5] = 5
190 [6] = 8
191 [7] = 13
192 [8] = 21
193 [9] = 34
194 [10] = 55
195 [11] = 89
196 [12] = 144
197 [13] = 233
198 [14] = 377
199 [15] = 610
200 [16] = 987
201 [17] = 1597
202 [18] = 2584
203 [19] = 4181
204 [20] = 6765
205
206 Subset >= 10:
207 [1] = 13
208 [2] = 21
209 [3] = 34
210 [4] = 55
211 [5] = 89
212 [6] = 144
213 [7] = 233
214 [8] = 377
215 [9] = 610
216 [10] = 987
217 [11] = 1597
218 [12] = 2584
219 [13] = 4181
220 [14] = 6765
221
222 find where x > 10: 7
223 find where x > 100: 12
224 find where x > 10000:
225
226 mapAll plus one:
227 [1] = 2
228 [2] = 2
229 [3] = 3
230 [4] = 4
231 [5] = 6
232 [6] = 9
233 [7] = 14
234 [8] = 22
235 [9] = 35
236 [10] = 56
237 [11] = 90
238 [12] = 145
239 [13] = 234
240 [14] = 378
241 [15] = 611
242 [16] = 988
243 [17] = 1598
244 [18] = 2585
245 [19] = 4182
246 [20] = 6766
247 mapAll == orig? no
248 mapAll original:
249 [1] = 1
250 [2] = 1
251 [3] = 2
252 [4] = 3
253 [5] = 5
254 [6] = 8
255 [7] = 13
256 [8] = 21
257 [9] = 34
258 [10] = 55
259 [11] = 89
260 [12] = 144
261 [13] = 233
262 [14] = 377
263 [15] = 610
264 [16] = 987
265 [17] = 1597
266 [18] = 2584
267 [19] = 4181
268 [20] = 6765
269
270 indexOf 1: 1
271 indexOf 54:
272 indexOf 55: 10
273 indexOf 6765: 20
274
275 lastIndexOf 1: 2
276 lastIndexOf 54:
277 lastIndexOf 55: 10
278 lastIndexOf 6765: 20
279
280 lastIndexWhich(x < 1):
281 lastIndexWhich(x < 2): 2
282 lastIndexWhich(x < 10): 6
283 lastIndexWhich(x < 100): 11
284 lastIndexWhich(x < 10000): 20
285
286 lastValWhich(x < 1):
287 lastValWhich(x < 2): 1
288 lastValWhich(x < 10): 8
289 lastValWhich(x < 100): 89
290 lastValWhich(x < 10000): 6765
291
292 countOf 0: 0
293 countOf 1: 2
294 countOf 55: 1
295
296 countWhich x>10: 14
297 countWhich x>100: 9
298 countWhich x>1000: 4
299 countWhich x>10000: 0
300
301 initially: x =
302 [1] = 2
303 [2] = 4
304 [3] = 6
305 [4] = 8
306 [5] = 10
307 [6] = 12
308 getUnique:
309 [1] = 2
310 [2] = 4
311 [3] = 6
312 [4] = 8
313 [5] = 10
314 [6] = 12
315 initially: x =
316 [1] = 9
317 [2] = 1
318 [3] = 9
319 [4] = 2
320 [5] = 9
321 [6] = 3
322 [7] = 9
323 [8] = 2
324 [9] = 9
325 [10] = 1
326 [11] = 9
327 getUnique:
328 [1] = 9
329 [2] = 1
330 [3] = 2
331 [4] = 3
332
333 appendUnique:
334 [1] = 1
335 [2] = 2
336 [3] = 3
337 [4] = 4
338 [5] = 5
339 [6] = 6
340 [7] = 7
341 [8] = 8
342 [9] = 9
343 [10] = 10
344 [11] = 12
345 [12] = 14
346 [13] = 16
347 [14] = 18
348 [15] = 20
349 appendUnique:
350 [1] = 1
351 [2] = 2
352 [3] = 3
353 [4] = 4
354 [5] = 5
355 [6] = 6
356 [7] = 7
357 [8] = 8
358 [9] = 9
359 [10] = 10
360 [11] = 11
361 [12] = 12
362 [13] = 13
363 [14] = 14
364 [15] = 15
365 appendUnique:
366 [1] = 1
367 [2] = 2
368 [3] = 3
369 [4] = 4
370 [5] = 5
371 [6] = 6
372 [7] = 7
373 [8] = 8
374 [9] = 9
375 [10] = 10
376 appendUnique - list:
377 appendUnique:
378 [1] = 1
379 [2] = 2
380 [3] = 3
381 [4] = 4
382 [5] = 5
383 [6] = 6
384 [7] = 7
385 [8] = 8
386 [9] = 9
387 [10] = 10
388 [11] = 15
389 [12] = 20
390
391 sort:
392 [1] = are
393 [2] = hello
394 [3] = how
395 [4] = there
396 [5] = today
397 [6] = you
398 sort descending:
399 [1] = you
400 [2] = today
401 [3] = there
402 [4] = how
403 [5] = hello
404 [6] = are
405
406 adding list to vector:
407 [1] = 1
408 [2] = 1
409 [3] = 2
410 [4] = 3
411 [5] = 5
412 [6] = 8
413 [7] = 13
414 [8] = 101
415 [9] = 102
416 [10] = 103
417 adding vector to vector:
418 [1] = 1
419 [2] = 1
420 [3] = 2
421 [4] = 3
422 [5] = 5
423 [6] = 8
424 [7] = 13
425 [8] = 987
426 [9] = 654
427 [10] = 321
428 adding vector to vector:
429 [1] = 1
430 [2] = 1
431 [3] = 2
432 [4] = 3
433 [5] = 5
434 [6] = 8
435 [7] = 13
436 [8] = 111
437 [9] = 222
438 [10] = 333
439 subtracting list from vector:
440 [1] = 1
441 [2] = 1
442 [3] = 13
443 subtracting vector from vector:
444 [1] = 2
445 [2] = 3
446 [3] = 5
447 [4] = 8
448 subtracting vector from vector:
449 [1] = 2
450 [2] = 8
451 [3] = 13
452
453 (T3VM) Memory blocks still in use:
454
455 Total blocks in use: 0