]> git.saurik.com Git - apple/dyld.git/blame - unit-tests/test-cases/big-jump-table/funcs.c
dyld-360.22.tar.gz
[apple/dyld.git] / unit-tests / test-cases / big-jump-table / funcs.c
CommitLineData
8bc9f0af
A
1/*
2 * Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
39a8cd10
A
23#include <mach/mach_time.h>
24#include <stdio.h>
8bc9f0af
A
25#include "foo.h"
26
27static void __attribute__((constructor)) myinit()
28{
39a8cd10 29// uint64_t t1 = mach_absolute_time();
8bc9f0af
A
30 foo002();
31 foo003();
32 foo004();
33 foo005();
34 foo006();
35 foo007();
36 foo008();
37 foo009();
38 foo010();
39 foo011();
40 foo012();
41 foo013();
42 foo014();
43 foo015();
44 foo016();
45 foo017();
46 foo018();
47 foo019();
48 foo020();
49 foo021();
50 foo022();
51 foo023();
52 foo024();
53 foo025();
54 foo026();
55 foo027();
56 foo028();
57 foo029();
58 foo030();
59 foo031();
60 foo032();
61 foo033();
62 foo034();
63 foo035();
64 foo036();
65 foo037();
66 foo038();
67 foo039();
68 foo040();
69 foo041();
70 foo042();
71 foo043();
72 foo044();
73 foo045();
74 foo046();
75 foo047();
76 foo048();
77 foo049();
78 foo050();
79 foo051();
80 foo052();
81 foo053();
82 foo054();
83 foo055();
84 foo056();
85 foo057();
86 foo058();
87 foo059();
88 foo060();
89 foo061();
90 foo062();
91 foo063();
92 foo064();
93 foo065();
94 foo066();
95 foo067();
96 foo068();
97 foo069();
98 foo070();
99 foo071();
100 foo072();
101 foo073();
102 foo074();
103 foo075();
104 foo076();
105 foo077();
106 foo078();
107 foo079();
108 foo080();
109 foo081();
110 foo082();
111 foo083();
112 foo084();
113 foo085();
114 foo086();
115 foo087();
116 foo088();
117 foo089();
118 foo090();
119 foo091();
120 foo092();
121 foo093();
122 foo094();
123 foo095();
124 foo096();
125 foo097();
126 foo098();
127 foo099();
128 foo100();
129 foo101();
130 foo102();
131 foo103();
132 foo104();
133 foo105();
134 foo106();
135 foo107();
136 foo108();
137 foo109();
138 foo110();
139 foo111();
140 foo112();
141 foo113();
142 foo114();
143 foo115();
144 foo116();
145 foo117();
146 foo118();
147 foo119();
148 foo120();
149 foo121();
150 foo122();
151 foo123();
152 foo124();
153 foo125();
154 foo126();
155 foo127();
156 foo128();
157 foo129();
158 foo130();
159 foo131();
160 foo132();
161 foo133();
162 foo134();
163 foo135();
164 foo136();
165 foo137();
166 foo138();
167 foo139();
168 foo140();
169 foo141();
170 foo142();
171 foo143();
172 foo144();
173 foo145();
174 foo146();
175 foo147();
176 foo148();
177 foo149();
178 foo150();
179 foo151();
180 foo152();
181 foo153();
182 foo154();
183 foo155();
184 foo156();
185 foo157();
186 foo158();
187 foo159();
188 foo160();
189 foo161();
190 foo162();
191 foo163();
192 foo164();
193 foo165();
194 foo166();
195 foo167();
196 foo168();
197 foo169();
198 foo170();
199 foo171();
200 foo172();
201 foo173();
202 foo174();
203 foo175();
204 foo176();
205 foo177();
206 foo178();
207 foo179();
208 foo180();
209 foo181();
210 foo182();
211 foo183();
212 foo184();
213 foo185();
214 foo186();
215 foo187();
216 foo188();
217 foo189();
218 foo190();
219 foo191();
220 foo192();
221 foo193();
222 foo194();
223 foo195();
224 foo196();
225 foo197();
226 foo198();
227 foo199();
228 foo200();
229 foo201();
230 foo202();
231 foo203();
232 foo204();
233 foo205();
234 foo206();
235 foo207();
236 foo208();
237 foo209();
238 foo210();
239 foo211();
240 foo212();
241 foo213();
242 foo214();
243 foo215();
244 foo216();
245 foo217();
246 foo218();
247 foo219();
248 foo220();
249 foo221();
250 foo222();
251 foo223();
252 foo224();
253 foo225();
254 foo226();
255 foo227();
256 foo228();
257 foo229();
258 foo230();
259 foo231();
260 foo232();
261 foo233();
262 foo234();
263 foo235();
264 foo236();
265 foo237();
266 foo238();
267 foo239();
268 foo240();
269 foo241();
270 foo242();
271 foo243();
272 foo244();
273 foo245();
274 foo246();
275 foo247();
276 foo248();
277 foo249();
278 foo250();
279 foo251();
280 foo252();
281 foo253();
282 foo254();
283 foo255();
284 foo256();
285 foo257();
286 foo258();
287 foo259();
288 foo260();
289 foo261();
290 foo262();
291 foo263();
292 foo264();
293 foo265();
294 foo266();
295 foo267();
296 foo268();
297 foo269();
298 foo270();
299 foo271();
300 foo272();
301 foo273();
302 foo274();
303 foo275();
304 foo276();
305 foo277();
306 foo278();
307 foo279();
308 foo280();
309 foo281();
310 foo282();
311 foo283();
312 foo284();
313 foo285();
314 foo286();
315 foo287();
316 foo288();
317 foo289();
318 foo290();
319 foo291();
320 foo292();
321 foo293();
322 foo294();
323 foo295();
324 foo296();
325 foo297();
326 foo298();
327 foo299();
328 foo300();
329 foo301();
330 foo302();
331 foo303();
332 foo304();
333 foo305();
334 foo306();
335 foo307();
336 foo308();
337 foo309();
338 foo310();
339 foo311();
340 foo312();
341 foo313();
342 foo314();
343 foo315();
344 foo316();
345 foo317();
346 foo318();
347 foo319();
348 foo320();
349 foo321();
350 foo322();
351 foo323();
352 foo324();
353 foo325();
354 foo326();
355 foo327();
356 foo328();
357 foo329();
358 foo330();
359 foo331();
360 foo332();
361 foo333();
362 foo334();
363 foo335();
364 foo336();
365 foo337();
366 foo338();
367 foo339();
368 foo340();
369 foo341();
370 foo342();
371 foo343();
372 foo344();
373 foo345();
374 foo346();
375 foo347();
376 foo348();
377 foo349();
378 foo350();
379 foo351();
380 foo352();
381 foo353();
382 foo354();
383 foo355();
384 foo356();
385 foo357();
386 foo358();
387 foo359();
388 foo360();
389 foo361();
390 foo362();
391 foo363();
392 foo364();
393 foo365();
394 foo366();
395 foo367();
396 foo368();
397 foo369();
398 foo370();
399 foo371();
400 foo372();
401 foo373();
402 foo374();
403 foo375();
404 foo376();
405 foo377();
406 foo378();
407 foo379();
408 foo380();
409 foo381();
410 foo382();
411 foo383();
412 foo384();
413 foo385();
414 foo386();
415 foo387();
416 foo388();
417 foo389();
418 foo390();
419 foo391();
420 foo392();
421 foo393();
422 foo394();
423 foo395();
424 foo396();
425 foo397();
426 foo398();
427 foo399();
428 foo400();
429 foo401();
430 foo402();
431 foo403();
432 foo404();
433 foo405();
434 foo406();
435 foo407();
436 foo408();
437 foo409();
438 foo410();
439 foo411();
440 foo412();
441 foo413();
442 foo414();
443 foo415();
444 foo416();
445 foo417();
446 foo418();
447 foo419();
448 foo420();
449 foo421();
450 foo422();
451 foo423();
452 foo424();
453 foo425();
454 foo426();
455 foo427();
456 foo428();
457 foo429();
458 foo430();
459 foo431();
460 foo432();
461 foo433();
462 foo434();
463 foo435();
464 foo436();
465 foo437();
466 foo438();
467 foo439();
468 foo440();
469 foo441();
470 foo442();
471 foo443();
472 foo444();
473 foo445();
474 foo446();
475 foo447();
476 foo448();
477 foo449();
478 foo450();
479 foo451();
480 foo452();
481 foo453();
482 foo454();
483 foo455();
484 foo456();
485 foo457();
486 foo458();
487 foo459();
488 foo460();
489 foo461();
490 foo462();
491 foo463();
492 foo464();
493 foo465();
494 foo466();
495 foo467();
496 foo468();
497 foo469();
498 foo470();
499 foo471();
500 foo472();
501 foo473();
502 foo474();
503 foo475();
504 foo476();
505 foo477();
506 foo478();
507 foo479();
508 foo480();
509 foo481();
510 foo482();
511 foo483();
512 foo484();
513 foo485();
514 foo486();
515 foo487();
516 foo488();
517 foo489();
518 foo490();
519 foo491();
520 foo492();
521 foo493();
522 foo494();
523 foo495();
524 foo496();
525 foo497();
526 foo498();
527 foo499();
528 foo500();
529 foo501();
530 foo502();
531 foo503();
532 foo504();
533 foo505();
534 foo506();
535 foo507();
536 foo508();
537 foo509();
538 foo510();
539 foo511();
540 foo512();
541 foo513();
542 foo514();
543 foo515();
544 foo516();
545 foo517();
546 foo518();
547 foo519();
548 foo520();
549 foo521();
550 foo522();
551 foo523();
552 foo524();
553 foo525();
554 foo526();
555 foo527();
556 foo528();
557 foo529();
558 foo530();
559 foo531();
560 foo532();
561 foo533();
562 foo534();
563 foo535();
564 foo536();
565 foo537();
566 foo538();
567 foo539();
568 foo540();
569 foo541();
570 foo542();
571 foo543();
572 foo544();
573 foo545();
574 foo546();
575 foo547();
576 foo548();
577 foo549();
578 foo550();
579 foo551();
580 foo552();
581 foo553();
582 foo554();
583 foo555();
584 foo556();
585 foo557();
586 foo558();
587 foo559();
588 foo560();
589 foo561();
590 foo562();
591 foo563();
592 foo564();
593 foo565();
594 foo566();
595 foo567();
596 foo568();
597 foo569();
598 foo570();
599 foo571();
600 foo572();
601 foo573();
602 foo574();
603 foo575();
604 foo576();
605 foo577();
606 foo578();
607 foo579();
608 foo580();
609 foo581();
610 foo582();
611 foo583();
612 foo584();
613 foo585();
614 foo586();
615 foo587();
616 foo588();
617 foo589();
618 foo590();
619 foo591();
620 foo592();
621 foo593();
622 foo594();
623 foo595();
624 foo596();
625 foo597();
626 foo598();
627 foo599();
628 foo600();
629 foo601();
630 foo602();
631 foo603();
632 foo604();
633 foo605();
634 foo606();
635 foo607();
636 foo608();
637 foo609();
638 foo610();
639 foo611();
640 foo612();
641 foo613();
642 foo614();
643 foo615();
644 foo616();
645 foo617();
646 foo618();
647 foo619();
648 foo620();
649 foo621();
650 foo622();
651 foo623();
652 foo624();
653 foo625();
654 foo626();
655 foo627();
656 foo628();
657 foo629();
658 foo630();
659 foo631();
660 foo632();
661 foo633();
662 foo634();
663 foo635();
664 foo636();
665 foo637();
666 foo638();
667 foo639();
668 foo640();
669 foo641();
670 foo642();
671 foo643();
672 foo644();
673 foo645();
674 foo646();
675 foo647();
676 foo648();
677 foo649();
678 foo650();
679 foo651();
680 foo652();
681 foo653();
682 foo654();
683 foo655();
684 foo656();
685 foo657();
686 foo658();
687 foo659();
688 foo660();
689 foo661();
690 foo662();
691 foo663();
692 foo664();
693 foo665();
694 foo666();
695 foo667();
696 foo668();
697 foo669();
698 foo670();
699 foo671();
700 foo672();
701 foo673();
702 foo674();
703 foo675();
704 foo676();
705 foo677();
706 foo678();
707 foo679();
708 foo680();
709 foo681();
710 foo682();
711 foo683();
712 foo684();
713 foo685();
714 foo686();
715 foo687();
716 foo688();
717 foo689();
718 foo690();
719 foo691();
720 foo692();
721 foo693();
722 foo694();
723 foo695();
724 foo696();
725 foo697();
726 foo698();
727 foo699();
728 foo700();
729 foo701();
730 foo702();
731 foo703();
732 foo704();
733 foo705();
734 foo706();
735 foo707();
736 foo708();
737 foo709();
738 foo710();
739 foo711();
740 foo712();
741 foo713();
742 foo714();
743 foo715();
744 foo716();
745 foo717();
746 foo718();
747 foo719();
748 foo720();
749 foo721();
750 foo722();
751 foo723();
752 foo724();
753 foo725();
754 foo726();
755 foo727();
756 foo728();
757 foo729();
758 foo730();
759 foo731();
760 foo732();
761 foo733();
762 foo734();
763 foo735();
764 foo736();
765 foo737();
766 foo738();
767 foo739();
768 foo740();
769 foo741();
770 foo742();
771 foo743();
772 foo744();
773 foo745();
774 foo746();
775 foo747();
776 foo748();
777 foo749();
778 foo750();
779 foo751();
780 foo752();
781 foo753();
782 foo754();
783 foo755();
784 foo756();
785 foo757();
786 foo758();
787 foo759();
788 foo760();
789 foo761();
790 foo762();
791 foo763();
792 foo764();
793 foo765();
794 foo766();
795 foo767();
796 foo768();
797 foo769();
798 foo770();
799 foo771();
800 foo772();
801 foo773();
802 foo774();
803 foo775();
804 foo776();
805 foo777();
806 foo778();
807 foo779();
808 foo780();
809 foo781();
810 foo782();
811 foo783();
812 foo784();
813 foo785();
814 foo786();
815 foo787();
816 foo788();
817 foo789();
818 foo790();
819 foo791();
820 foo792();
821 foo793();
822 foo794();
823 foo795();
824 foo796();
825 foo797();
826 foo798();
827 foo799();
828 foo800();
829 foo801();
830 foo802();
831 foo803();
832 foo804();
833 foo805();
834 foo806();
835 foo807();
836 foo808();
837 foo809();
838 foo810();
839 foo811();
840 foo812();
841 foo813();
842#if CASE <= 4
843 foo814();
844#endif
845#if CASE <= 3
846 foo815();
847#endif
848#if CASE <= 2
849 foo816();
850#endif
851#if CASE <= 1
852 foo817();
853#endif
39a8cd10
A
854
855// uint64_t t2 = mach_absolute_time();
856// fprintf(stderr, "total time = %lld\n", t2-t1);
857
8bc9f0af
A
858}
859