home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 January / macpower199701.bin / AMUG / Programming_10 / Videotoolbox 96-08-22-c.sit / VideoToolbox / (Demos) / TestAssign.c < prev    next >
MacBinary  |  1995-11-08  |  5.5 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: TestAssign.c

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Nov 8 21:31:38 1995, modified Wed Nov 8 21:31:38 1995, creator 'CWIE', type ASCII, 4870 bytes "TestAssign.c" , at 0x1386 490 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 54 65 73 74 41 73 | 73 69 67 6e 2e 63 00 00 |..TestAs|sign.c..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 13 06 00 | 00 01 ea ac c7 18 8a ac |........|........|
|00000060| c7 18 8a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 90 a3 00 00 |........|........|
|00000080| 2f 2a 0d 54 65 73 74 41 | 73 73 69 67 6e 2e 63 0d |/*.TestA|ssign.c.|
|00000090| 0d 54 68 69 73 20 69 73 | 20 73 69 67 6e 69 66 69 |.This is| signifi|
|000000a0| 63 61 6e 74 6c 79 20 6d | 6f 72 65 20 63 6f 6d 70 |cantly m|ore comp|
|000000b0| 6c 69 63 61 74 65 64 20 | 74 68 61 6e 20 69 74 20 |licated |than it |
|000000c0| 6e 65 65 64 73 20 74 6f | 20 62 65 2e 20 54 68 65 |needs to| be. The|
|000000d0| 20 66 61 6e 63 79 20 73 | 74 75 66 66 0d 69 73 20 | fancy s|tuff.is |
|000000e0| 6d 65 72 65 6c 79 20 74 | 6f 20 70 75 74 20 41 73 |merely t|o put As|
|000000f0| 73 69 67 6e 2e 63 20 74 | 68 72 6f 75 67 68 20 69 |sign.c t|hrough i|
|00000100| 74 73 20 70 61 63 65 73 | 2e 20 49 6e 20 70 61 72 |ts paces|. In par|
|00000110| 74 69 63 75 6c 61 72 2c | 20 69 66 20 74 68 65 20 |ticular,| if the |
|00000120| 61 72 72 61 79 20 61 5b | 5d 0d 64 69 64 6e 27 74 |array a[|].didn't|
|00000130| 20 63 68 61 6e 67 65 20 | 64 69 6d 65 6e 73 69 6f | change |dimensio|
|00000140| 6e 73 20 66 72 6f 6d 20 | 62 6c 6f 63 6b 20 74 6f |ns from |block to|
|00000150| 20 62 6c 6f 63 6b 20 69 | 6e 20 74 65 73 74 41 73 | block i|n testAs|
|00000160| 73 69 67 6e 31 20 74 68 | 65 6e 20 77 65 20 63 6f |sign1 th|en we co|
|00000170| 75 6c 64 0d 72 65 61 64 | 20 74 68 65 20 77 68 6f |uld.read| the who|
|00000180| 6c 65 20 66 69 6c 65 20 | 62 79 20 61 20 73 69 6e |le file |by a sin|
|00000190| 67 6c 65 20 63 61 6c 6c | 20 74 6f 20 52 65 61 64 |gle call| to Read|
|000001a0| 41 73 73 69 67 6e 6d 65 | 6e 74 46 69 6c 65 2c 20 |Assignme|ntFile, |
|000001b0| 69 6e 73 74 65 61 64 20 | 6f 66 0d 6f 70 65 6e 69 |instead |of.openi|
|000001c0| 6e 67 20 74 68 65 20 66 | 69 6c 65 20 61 6e 64 20 |ng the f|ile and |
|000001d0| 6d 61 6b 69 6e 67 20 72 | 65 70 65 61 74 65 64 20 |making r|epeated |
|000001e0| 63 61 6c 6c 73 20 74 6f | 20 52 65 61 64 41 73 73 |calls to| ReadAss|
|000001f0| 69 67 6e 6d 65 6e 74 42 | 6c 6f 63 6b 2c 20 65 74 |ignmentB|lock, et|
|00000200| 63 2e 0d 0d 46 6f 72 20 | 61 20 67 6f 6f 64 20 65 |c...For |a good e|
|00000210| 78 61 6d 70 6c 65 20 6f | 66 20 74 68 65 20 75 73 |xample o|f the us|
|00000220| 65 20 6f 66 20 41 73 73 | 69 67 6e 2c 20 73 65 65 |e of Ass|ign, see|
|00000230| 20 52 65 61 64 4c 75 6d | 69 6e 61 6e 63 65 52 65 | ReadLum|inanceRe|
|00000240| 63 6f 72 64 2e 63 2e 0d | 0d 48 49 53 54 4f 52 59 |cord.c..|.HISTORY|
|00000250| 3a 0d 38 2f 39 33 09 64 | 67 70 09 63 72 65 61 74 |:.8/93.d|gp.creat|
|00000260| 65 64 20 74 68 69 73 20 | 6e 65 77 20 76 65 72 73 |ed this |new vers|
|00000270| 69 6f 6e 2c 20 77 68 69 | 63 68 20 63 6f 62 62 6c |ion, whi|ch cobbl|
|00000280| 65 73 20 74 6f 67 65 74 | 68 65 72 20 73 65 76 65 |es toget|her seve|
|00000290| 72 61 6c 20 6f 6c 64 65 | 72 20 76 65 72 73 69 6f |ral olde|r versio|
|000002a0| 6e 73 2e 0d 38 2f 31 32 | 2f 39 33 09 64 67 70 09 |ns..8/12|/93.dgp.|
|000002b0| 75 70 64 61 74 65 64 20 | 74 6f 20 77 6f 72 6b 20 |updated |to work |
|000002c0| 77 69 74 68 20 6e 65 77 | 20 41 73 73 69 67 6e 2e |with new| Assign.|
|000002d0| 63 0d 39 2f 38 2f 39 33 | 09 64 67 70 09 63 61 6c |c.9/8/93|.dgp.cal|
|000002e0| 6c 20 52 65 71 75 69 72 | 65 28 29 20 61 6e 64 20 |l Requir|e() and |
|000002f0| 75 73 65 20 6e 65 77 20 | 41 6c 6c 6f 63 61 74 65 |use new |Allocate|
|00000300| 44 65 73 63 72 69 70 74 | 69 6f 6e 73 2e 0d 39 2f |Descript|ions..9/|
|00000310| 35 2f 39 34 20 64 67 70 | 20 72 65 6d 6f 76 65 64 |5/94 dgp| removed|
|00000320| 20 61 73 73 75 6d 70 74 | 69 6f 6e 20 69 6e 20 70 | assumpt|ion in p|
|00000330| 72 69 6e 74 66 27 73 20 | 74 68 61 74 20 69 6e 74 |rintf's |that int|
|00000340| 3d 3d 73 68 6f 72 74 2e | 0d 31 31 2f 38 2f 39 35 |==short.|.11/8/95|
|00000350| 20 64 67 70 20 74 72 61 | 63 6b 65 64 20 64 6f 77 | dgp tra|cked dow|
|00000360| 6e 20 61 6e 64 20 66 69 | 78 65 64 20 62 75 67 20 |n and fi|xed bug |
|00000370| 69 6e 20 41 73 73 69 67 | 6e 2e 63 2c 20 74 68 65 |in Assig|n.c, the|
|00000380| 20 44 65 73 63 72 69 70 | 74 69 6f 6e 20 77 61 73 | Descrip|tion was|
|00000390| 20 62 65 69 6e 67 20 63 | 6f 72 72 75 70 74 65 64 | being c|orrupted|
|000003a0| 0d 62 79 20 66 72 65 65 | 69 6e 67 20 61 6e 20 75 |.by free|ing an u|
|000003b0| 6e 61 6c 6c 6f 63 61 74 | 65 64 20 76 61 72 69 61 |nallocat|ed varia|
|000003c0| 62 6c 65 2e 20 54 68 65 | 20 66 69 78 20 69 73 20 |ble. The| fix is |
|000003d0| 6d 61 72 6b 65 64 20 62 | 79 20 22 31 31 2f 31 38 |marked b|y "11/18|
|000003e0| 2f 39 35 22 2e 0d 2a 2f | 0d 23 69 6e 63 6c 75 64 |/95"..*/|.#includ|
|000003f0| 65 20 22 56 69 64 65 6f | 54 6f 6f 6c 62 6f 78 2e |e "Video|Toolbox.|
|00000400| 68 22 0d 23 69 66 20 4d | 41 43 5f 43 0d 09 23 69 |h".#if M|AC_C..#i|
|00000410| 6e 63 6c 75 64 65 20 22 | 4c 75 6d 69 6e 61 6e 63 |nclude "|Luminanc|
|00000420| 65 2e 68 22 0d 23 65 6e | 64 69 66 0d 23 64 65 66 |e.h".#en|dif.#def|
|00000430| 69 6e 65 20 50 52 45 46 | 45 52 45 4e 43 45 53 5f |ine PREF|ERENCES_|
|00000440| 46 4f 4c 44 45 52 20 30 | 0d 76 6f 69 64 20 6d 6f |FOLDER 0|.void mo|
|00000450| 72 65 54 65 73 74 73 28 | 76 6f 69 64 29 3b 0d 76 |reTests(|void);.v|
|00000460| 6f 69 64 20 6d 61 69 6e | 28 76 6f 69 64 29 3b 0d |oid main|(void);.|
|00000470| 0d 74 79 70 65 64 65 66 | 20 73 74 72 75 63 74 20 |.typedef| struct |
|00000480| 7b 0d 09 64 6f 75 62 6c | 65 20 2a 61 2c 6c 6f 67 |{..doubl|e *a,log|
|00000490| 43 2c 76 69 65 77 69 6e | 67 44 69 73 74 61 6e 63 |C,viewin|gDistanc|
|000004a0| 65 3b 0d 09 6c 6f 6e 67 | 20 74 72 69 61 6c 73 3b |e;..long| trials;|
|000004b0| 0d 09 63 68 61 72 20 2a | 6d 65 73 73 61 67 65 3b |..char *|message;|
|000004c0| 0d 09 75 6e 73 69 67 6e | 65 64 20 63 68 61 72 20 |..unsign|ed char |
|000004d0| 2a 6d 3b 0d 7d 20 50 73 | 79 63 68 6f 70 68 79 73 |*m;.} Ps|ychophys|
|000004e0| 69 63 73 3b 0d 44 65 73 | 63 72 69 70 74 69 6f 6e |ics;.Des|cription|
|000004f0| 20 2a 44 65 73 63 72 69 | 62 65 50 73 79 63 68 6f | *Descri|bePsycho|
|00000500| 70 68 79 73 69 63 73 28 | 50 73 79 63 68 6f 70 68 |physics(|Psychoph|
|00000510| 79 73 69 63 73 20 2a 70 | 29 3b 0d 0d 44 65 73 63 |ysics *p|);..Desc|
|00000520| 72 69 70 74 69 6f 6e 20 | 2a 44 65 73 63 72 69 62 |ription |*Describ|
|00000530| 65 50 73 79 63 68 6f 70 | 68 79 73 69 63 73 28 50 |ePsychop|hysics(P|
|00000540| 73 79 63 68 6f 70 68 79 | 73 69 63 73 20 2a 70 29 |sychophy|sics *p)|
|00000550| 0d 7b 0d 09 44 65 73 63 | 72 69 70 74 69 6f 6e 20 |.{..Desc|ription |
|00000560| 2a 64 3b 0d 09 69 6e 74 | 20 69 3b 0d 09 0d 09 64 |*d;..int| i;....d|
|00000570| 3d 41 6c 6c 6f 63 61 74 | 65 44 65 73 63 72 69 70 |=Allocat|eDescrip|
|00000580| 74 69 6f 6e 73 28 31 30 | 29 3b 0d 09 69 3d 30 3b |tions(10|);..i=0;|
|00000590| 0d 09 64 5b 69 2b 2b 5d | 3d 44 65 73 63 72 69 62 |..d[i++]|=Describ|
|000005a0| 65 28 73 74 72 69 6e 67 | 54 79 70 65 2c 26 70 2d |e(string|Type,&p-|
|000005b0| 3e 6d 65 73 73 61 67 65 | 2c 22 6d 65 73 73 61 67 |>message|,"messag|
|000005c0| 65 22 2c 4e 55 4c 4c 29 | 3b 0d 09 64 5b 69 2b 2b |e",NULL)|;..d[i++|
|000005d0| 5d 3d 44 65 73 63 72 69 | 62 65 28 75 6e 73 69 67 |]=Descri|be(unsig|
|000005e0| 6e 65 64 43 68 61 72 50 | 74 72 54 79 70 65 2c 26 |nedCharP|trType,&|
|000005f0| 70 2d 3e 6d 2c 22 6d 22 | 2c 4e 55 4c 4c 29 3b 0d |p->m,"m"|,NULL);.|
|00000600| 09 64 5b 69 2b 2b 5d 3d | 44 65 73 63 72 69 62 65 |.d[i++]=|Describe|
|00000610| 28 64 6f 75 62 6c 65 50 | 74 72 54 79 70 65 2c 26 |(doubleP|trType,&|
|00000620| 70 2d 3e 61 2c 22 61 22 | 2c 4e 55 4c 4c 29 3b 0d |p->a,"a"|,NULL);.|
|00000630| 09 64 5b 69 2b 2b 5d 3d | 44 65 73 63 72 69 62 65 |.d[i++]=|Describe|
|00000640| 28 73 68 6f 72 74 54 79 | 70 65 2c 26 70 2d 3e 74 |(shortTy|pe,&p->t|
|00000650| 72 69 61 6c 73 2c 22 74 | 72 69 61 6c 73 22 2c 4e |rials,"t|rials",N|
|00000660| 55 4c 4c 29 3b 0d 09 64 | 5b 69 2b 2b 5d 3d 44 65 |ULL);..d|[i++]=De|
|00000670| 73 63 72 69 62 65 28 64 | 6f 75 62 6c 65 54 79 70 |scribe(d|oubleTyp|
|00000680| 65 2c 26 70 2d 3e 76 69 | 65 77 69 6e 67 44 69 73 |e,&p->vi|ewingDis|
|00000690| 74 61 6e 63 65 2c 22 76 | 69 65 77 69 6e 67 44 69 |tance,"v|iewingDi|
|000006a0| 73 74 61 6e 63 65 22 2c | 4e 55 4c 4c 29 3b 0d 09 |stance",|NULL);..|
|000006b0| 64 5b 69 2b 2b 5d 3d 44 | 65 73 63 72 69 62 65 28 |d[i++]=D|escribe(|
|000006c0| 64 6f 75 62 6c 65 54 79 | 70 65 2c 26 70 2d 3e 6c |doubleTy|pe,&p->l|
|000006d0| 6f 67 43 2c 22 6c 6f 67 | 43 22 2c 4e 55 4c 4c 29 |ogC,"log|C",NULL)|
|000006e0| 3b 0d 09 61 73 73 65 72 | 74 28 69 3c 3d 31 30 29 |;..asser|t(i<=10)|
|000006f0| 3b 09 09 2f 2a 20 20 6d | 61 6b 65 20 73 75 72 65 |;../* m|ake sure|
|00000700| 20 61 72 72 61 79 20 77 | 61 73 20 62 69 67 20 65 | array w|as big e|
|00000710| 6e 6f 75 67 68 20 2a 2f | 0d 09 64 5b 69 2b 2b 5d |nough */|..d[i++]|
|00000720| 3d 4e 75 6c 6c 44 65 73 | 63 72 69 70 74 69 6f 6e |=NullDes|cription|
|00000730| 28 29 3b 09 09 2f 2a 20 | 20 6d 61 72 6b 20 65 6e |();../* | mark en|
|00000740| 64 20 6f 66 20 61 72 72 | 61 79 20 2a 2f 0d 09 72 |d of arr|ay */..r|
|00000750| 65 74 75 72 6e 20 64 3b | 0d 7d 0d 0d 76 6f 69 64 |eturn d;|.}..void|
|00000760| 20 6d 61 69 6e 28 76 6f | 69 64 29 0d 7b 0d 09 44 | main(vo|id).{..D|
|00000770| 65 73 63 72 69 70 74 69 | 6f 6e 20 2a 64 3b 0d 09 |escripti|on *d;..|
|00000780| 73 74 61 74 69 63 20 50 | 73 79 63 68 6f 70 68 79 |static P|sychophy|
|00000790| 73 69 63 73 20 70 73 79 | 63 68 6f 70 68 79 73 69 |sics psy|chophysi|
|000007a0| 63 73 2c 2a 70 3b 0d 09 | 73 68 6f 72 74 20 69 2c |cs,*p;..|short i,|
|000007b0| 6a 2c 66 6c 61 67 73 3d | 61 73 73 69 67 6e 52 65 |j,flags=|assignRe|
|000007c0| 70 6f 72 74 55 6e 6b 6e | 6f 77 6e 3b 2f 2f 61 73 |portUnkn|own;//as|
|000007d0| 73 69 67 6e 45 63 68 6f | 46 69 6c 65 20 7c 20 61 |signEcho|File | a|
|000007e0| 73 73 69 67 6e 45 63 68 | 6f 41 73 73 69 67 6e 6d |ssignEch|oAssignm|
|000007f0| 65 6e 74 73 3b 0d 09 46 | 49 4c 45 20 2a 73 74 72 |ents;..F|ILE *str|
|00000800| 65 61 6d 3b 0d 09 63 68 | 61 72 20 66 69 6c 65 6e |eam;..ch|ar filen|
|00000810| 61 6d 65 5b 5d 3d 22 74 | 65 73 74 41 73 73 69 67 |ame[]="t|estAssig|
|00000820| 6e 31 22 3b 0d 09 0d 09 | 53 74 61 63 6b 47 72 6f |n1";....|StackGro|
|00000830| 77 28 32 30 30 30 30 29 | 3b 0d 09 52 65 71 75 69 |w(20000)|;..Requi|
|00000840| 72 65 28 30 29 3b 0d 09 | 23 69 66 20 4d 41 43 5f |re(0);..|#if MAC_|
|00000850| 43 0d 09 09 4d 61 78 69 | 6d 69 7a 65 43 6f 6e 73 |C...Maxi|mizeCons|
|00000860| 6f 6c 65 48 65 69 67 68 | 74 28 29 3b 0d 09 23 65 |oleHeigh|t();..#e|
|00000870| 6e 64 69 66 0d 09 70 3d | 26 70 73 79 63 68 6f 70 |ndif..p=|&psychop|
|00000880| 68 79 73 69 63 73 3b 0d | 09 64 3d 44 65 73 63 72 |hysics;.|.d=Descr|
|00000890| 69 62 65 50 73 79 63 68 | 6f 70 68 79 73 69 63 73 |ibePsych|ophysics|
|000008a0| 28 70 29 3b 0d 09 49 6e | 69 74 69 61 6c 69 7a 65 |(p);..In|itialize|
|000008b0| 44 65 73 63 72 69 62 65 | 64 56 61 72 73 28 64 2c |Describe|dVars(d,|
|000008c0| 66 6c 61 67 73 29 3b 0d | 09 73 74 72 65 61 6d 3d |flags);.|.stream=|
|000008d0| 66 6f 70 65 6e 28 66 69 | 6c 65 6e 61 6d 65 2c 22 |fopen(fi|lename,"|
|000008e0| 72 22 29 3b 0d 09 64 6f | 7b 0d 09 09 70 72 69 6e |r");..do|{...prin|
|000008f0| 74 66 28 22 5c 6e 2f 2a | 2a 2a 2a 2a 2a 2a 2a 20 |tf("\n/*|******* |
|00000900| 4e 65 77 20 62 6c 6f 63 | 6b 20 2a 2a 2a 2a 2a 2a |New bloc|k ******|
|00000910| 2a 2a 2f 5c 6e 22 29 3b | 0d 2f 2f 09 09 69 3d 52 |**/\n");|.//..i=R|
|00000920| 65 61 64 41 73 73 69 67 | 6e 6d 65 6e 74 4c 69 6e |eadAssig|nmentLin|
|00000930| 65 28 73 74 72 65 61 6d | 2c 64 2c 66 6c 61 67 73 |e(stream|,d,flags|
|00000940| 29 3b 0d 09 09 52 65 61 | 64 41 73 73 69 67 6e 6d |);...Rea|dAssignm|
|00000950| 65 6e 74 42 6c 6f 63 6b | 28 73 74 72 65 61 6d 2c |entBlock|(stream,|
|00000960| 64 2c 66 6c 61 67 73 29 | 3b 0d 09 09 09 2f 2a 20 |d,flags)|;..../* |
|00000970| 61 20 72 65 61 6c 20 70 | 72 6f 67 72 61 6d 20 77 |a real p|rogram w|
|00000980| 6f 75 6c 64 20 64 6f 20 | 73 6f 6d 65 74 68 69 6e |ould do |somethin|
|00000990| 67 20 75 73 65 66 75 6c | 20 68 65 72 65 20 77 69 |g useful| here wi|
|000009a0| 74 68 20 74 68 65 20 64 | 61 74 61 20 69 6e 20 70 |th the d|ata in p|
|000009b0| 20 2a 2f 0d 09 09 09 2f | 2a 20 69 6e 73 74 65 61 | */..../|* instea|
|000009c0| 64 20 77 65 20 66 6f 6f | 6c 20 61 72 6f 75 6e 64 |d we foo|l around|
|000009d0| 20 77 69 74 68 20 70 72 | 69 6e 74 20 73 74 61 74 | with pr|int stat|
|000009e0| 65 6d 65 6e 74 73 20 2a | 2f 0d 09 09 09 50 72 69 |ements *|/....Pri|
|000009f0| 6e 74 41 73 73 69 67 6e | 6d 65 6e 74 73 28 73 74 |ntAssign|ments(st|
|00000a00| 64 6f 75 74 2c 64 2c 66 | 6c 61 67 73 29 3b 0d 09 |dout,d,f|lags);..|
|00000a10| 09 09 70 72 69 6e 74 66 | 28 22 4e 6f 77 20 64 69 |..printf|("Now di|
|00000a20| 6d 65 6e 73 69 6f 6e 65 | 64 20 61 73 20 61 22 29 |mensione|d as a")|
|00000a30| 3b 0d 09 09 09 66 6f 72 | 28 69 3d 30 3b 3b 69 2b |;....for|(i=0;;i+|
|00000a40| 2b 29 7b 0d 09 09 09 09 | 6a 3d 46 69 6e 64 44 65 |+){.....|j=FindDe|
|00000a50| 73 63 72 69 62 65 64 44 | 69 6d 28 64 2c 26 70 2d |scribedD|im(d,&p-|
|00000a60| 3e 61 2c 69 2c 66 6c 61 | 67 73 29 3b 0d 09 09 09 |>a,i,fla|gs);....|
|00000a70| 09 69 66 28 6a 3c 3d 30 | 29 62 72 65 61 6b 3b 0d |.if(j<=0|)break;.|
|00000a80| 09 09 09 09 70 72 69 6e | 74 66 28 22 5b 25 64 5d |....prin|tf("[%d]|
|00000a90| 22 2c 28 69 6e 74 29 6a | 29 3b 0d 09 09 09 7d 0d |",(int)j|);....}.|
|00000aa0| 09 09 09 70 72 69 6e 74 | 66 28 22 2e 5c 6e 22 29 |...print|f(".\n")|
|00000ab0| 3b 0d 09 09 46 72 65 65 | 44 65 73 63 72 69 62 65 |;...Free|Describe|
|00000ac0| 64 50 74 72 56 61 72 73 | 28 64 2c 66 6c 61 67 73 |dPtrVars|(d,flags|
|00000ad0| 29 3b 0d 09 7d 20 77 68 | 69 6c 65 28 21 66 65 6f |);..} wh|ile(!feo|
|00000ae0| 66 28 73 74 72 65 61 6d | 29 29 3b 0d 09 66 63 6c |f(stream|));..fcl|
|00000af0| 6f 73 65 28 73 74 72 65 | 61 6d 29 3b 0d 09 46 72 |ose(stre|am);..Fr|
|00000b00| 65 65 44 65 73 63 72 69 | 62 65 64 56 61 72 73 28 |eeDescri|bedVars(|
|00000b10| 64 2c 66 6c 61 67 73 29 | 3b 0d 09 46 72 65 65 44 |d,flags)|;..FreeD|
|00000b20| 65 73 63 72 69 70 74 69 | 6f 6e 73 28 64 29 3b 0d |escripti|ons(d);.|
|00000b30| 09 69 66 28 30 29 6d 6f | 72 65 54 65 73 74 73 28 |.if(0)mo|reTests(|
|00000b40| 29 3b 0d 7d 0d 76 6f 69 | 64 20 6d 6f 72 65 54 65 |);.}.voi|d moreTe|
|00000b50| 73 74 73 28 76 6f 69 64 | 29 0d 7b 0d 09 73 74 61 |sts(void|).{..sta|
|00000b60| 74 69 63 20 64 6f 75 62 | 6c 65 20 6c 6f 67 43 2c |tic doub|le logC,|
|00000b70| 6d 61 73 6b 4c 6f 67 43 | 2c 76 69 65 77 69 6e 67 |maskLogC|,viewing|
|00000b80| 44 69 73 74 61 6e 63 65 | 2c 2a 61 2c 63 6f 6e 64 |Distance|,*a,cond|
|00000b90| 69 74 69 6f 6e 4c 6f 67 | 43 5b 34 5d 2c 63 6f 6e |itionLog|C[4],con|
|00000ba0| 64 69 74 69 6f 6e 4d 61 | 73 6b 4c 6f 67 43 5b 34 |ditionMa|skLogC[4|
|00000bb0| 5d 3b 0d 09 73 68 6f 72 | 74 20 74 72 69 61 6c 73 |];..shor|t trials|
|00000bc0| 2c 69 2c 66 6c 61 67 73 | 3b 0d 09 73 74 61 74 69 |,i,flags|;..stati|
|00000bd0| 63 20 63 68 61 72 20 2a | 6b 69 6e 64 4f 66 54 72 |c char *|kindOfTr|
|00000be0| 69 61 6c 2c 2a 6d 65 73 | 73 61 67 65 2c 69 6d 61 |ial,*mes|sage,ima|
|00000bf0| 67 65 5b 31 30 30 30 5d | 3b 0d 09 75 6e 73 69 67 |ge[1000]|;..unsig|
|00000c00| 6e 65 64 20 63 68 61 72 | 20 2a 6d 3b 0d 09 44 65 |ned char| *m;..De|
|00000c10| 73 63 72 69 70 74 69 6f | 6e 20 2a 64 3b 0d 09 46 |scriptio|n *d;..F|
|00000c20| 49 4c 45 20 2a 73 74 72 | 65 61 6d 3b 0d 09 73 74 |ILE *str|eam;..st|
|00000c30| 61 74 69 63 20 63 68 61 | 72 20 66 69 6c 65 6e 61 |atic cha|r filena|
|00000c40| 6d 65 5b 5d 3d 22 74 65 | 73 74 41 73 73 69 67 6e |me[]="te|stAssign|
|00000c50| 32 22 3b 0d 09 69 6e 74 | 20 65 72 72 6f 72 3b 0d |2";..int| error;.|
|00000c60| 09 73 74 61 74 69 63 20 | 64 6f 75 62 6c 65 20 62 |.static |double b|
|00000c70| 5b 32 5d 5b 32 5d 2c 63 | 5b 31 5d 5b 32 5d 5b 33 |[2][2],c|[1][2][3|
|00000c80| 5d 3b 0d 09 0d 09 66 6c | 61 67 73 3d 61 73 73 69 |];....fl|ags=assi|
|00000c90| 67 6e 52 65 70 6f 72 74 | 55 6e 6b 6e 6f 77 6e 3b |gnReport|Unknown;|
|00000ca0| 0d 09 0d 09 70 72 69 6e | 74 66 28 22 5c 6e 5c 6e |....prin|tf("\n\n|
|00000cb0| 5c 6e 4d 6f 72 65 20 74 | 65 73 74 73 2e 5c 6e 22 |\nMore t|ests.\n"|
|00000cc0| 29 3b 0d 09 23 69 66 64 | 65 66 20 5f 4c 55 4d 49 |);..#ifd|ef _LUMI|
|00000cd0| 4e 41 4e 43 45 5f 0d 09 | 09 69 66 28 31 29 7b 0d |NANCE_..|.if(1){.|
|00000ce0| 09 09 09 73 74 61 74 69 | 63 20 4c 75 6d 69 6e 61 |...stati|c Lumina|
|00000cf0| 6e 63 65 52 65 63 6f 72 | 64 20 4c 52 3b 0d 09 09 |nceRecor|d LR;...|
|00000d00| 09 0d 09 09 09 2f 2f 20 | 54 65 73 74 20 52 65 61 |.....// |Test Rea|
|00000d10| 64 4c 75 6d 69 6e 61 6e | 63 65 52 65 63 6f 72 64 |dLuminan|ceRecord|
|00000d20| 2e 63 0d 09 09 09 69 66 | 28 50 52 45 46 45 52 45 |.c....if|(PREFERE|
|00000d30| 4e 43 45 53 5f 46 4f 4c | 44 45 52 29 65 72 72 6f |NCES_FOL|DER)erro|
|00000d40| 72 3d 4f 70 65 6e 50 72 | 65 66 65 72 65 6e 63 65 |r=OpenPr|eference|
|00000d50| 73 46 6f 6c 64 65 72 28 | 29 3b 0d 09 09 09 69 3d |sFolder(|);....i=|
|00000d60| 52 65 61 64 4c 75 6d 69 | 6e 61 6e 63 65 52 65 63 |ReadLumi|nanceRec|
|00000d70| 6f 72 64 28 22 4c 75 6d | 69 6e 61 6e 63 65 52 65 |ord("Lum|inanceRe|
|00000d80| 63 6f 72 64 31 2e 68 22 | 2c 26 4c 52 2c 66 6c 61 |cord1.h"|,&LR,fla|
|00000d90| 67 73 29 3b 0d 09 09 09 | 69 66 28 50 52 45 46 45 |gs);....|if(PREFE|
|00000da0| 52 45 4e 43 45 53 5f 46 | 4f 4c 44 45 52 29 65 72 |RENCES_F|OLDER)er|
|00000db0| 72 6f 72 3d 43 6c 6f 73 | 65 50 72 65 66 65 72 65 |ror=Clos|ePrefere|
|00000dc0| 6e 63 65 73 46 6f 6c 64 | 65 72 28 29 3b 0d 09 09 |ncesFold|er();...|
|00000dd0| 09 69 66 28 69 3c 3d 30 | 29 50 72 69 6e 74 66 45 |.if(i<=0|)PrintfE|
|00000de0| 78 69 74 28 22 43 6f 75 | 6c 64 6e 27 74 20 72 65 |xit("Cou|ldn't re|
|00000df0| 61 64 20 4c 75 6d 69 6e | 61 6e 63 65 52 65 63 6f |ad Lumin|anceReco|
|00000e00| 72 64 2c 20 65 72 72 6f | 72 20 25 64 2e 5c 6e 22 |rd, erro|r %d.\n"|
|00000e10| 2c 28 69 6e 74 29 69 29 | 3b 0d 09 09 09 69 3d 57 |,(int)i)|;....i=W|
|00000e20| 72 69 74 65 4c 75 6d 69 | 6e 61 6e 63 65 52 65 63 |riteLumi|nanceRec|
|00000e30| 6f 72 64 28 22 4c 52 2e | 68 22 2c 26 4c 52 2c 66 |ord("LR.|h",&LR,f|
|00000e40| 6c 61 67 73 29 3b 0d 09 | 09 09 69 66 28 69 3c 3d |lags);..|..if(i<=|
|00000e50| 30 29 50 72 69 6e 74 66 | 45 78 69 74 28 22 43 6f |0)Printf|Exit("Co|
|00000e60| 75 6c 64 6e 27 74 20 77 | 72 69 74 65 2f 76 65 72 |uldn't w|rite/ver|
|00000e70| 69 66 79 20 4c 75 6d 69 | 6e 61 6e 63 65 52 65 63 |ify Lumi|nanceRec|
|00000e80| 6f 72 64 2c 20 65 72 72 | 6f 72 20 25 64 2e 5c 6e |ord, err|or %d.\n|
|00000e90| 22 2c 28 69 6e 74 29 69 | 29 3b 0d 09 09 09 70 72 |",(int)i|);....pr|
|00000ea0| 69 6e 74 66 28 22 52 65 | 61 64 4c 75 6d 69 6e 61 |intf("Re|adLumina|
|00000eb0| 6e 63 65 52 65 63 6f 72 | 64 2e 63 20 73 65 65 6d |nceRecor|d.c seem|
|00000ec0| 73 20 74 6f 20 77 6f 72 | 6b 20 66 69 6e 65 2e 20 |s to wor|k fine. |
|00000ed0| 43 72 65 61 74 65 64 20 | 4c 52 2e 68 5c 6e 5c 6e |Created |LR.h\n\n|
|00000ee0| 22 29 3b 0d 09 09 7d 0d | 09 23 65 6e 64 69 66 0d |");...}.|.#endif.|
|00000ef0| 09 23 69 66 20 31 0d 09 | 09 2f 2a 20 70 61 72 73 |.#if 1..|./* pars|
|00000f00| 65 20 74 65 73 74 41 73 | 73 69 67 6e 32 20 2a 2f |e testAs|sign2 */|
|00000f10| 0d 09 09 64 3d 41 6c 6c | 6f 63 61 74 65 44 65 73 |...d=All|ocateDes|
|00000f20| 63 72 69 70 74 69 6f 6e | 73 28 31 34 29 3b 0d 09 |cription|s(14);..|
|00000f30| 09 69 3d 30 3b 0d 09 09 | 64 5b 69 2b 2b 5d 3d 44 |.i=0;...|d[i++]=D|
|00000f40| 65 73 63 72 69 62 65 28 | 64 6f 75 62 6c 65 50 74 |escribe(|doublePt|
|00000f50| 72 54 79 70 65 2c 26 61 | 2c 22 61 22 2c 22 61 72 |rType,&a|,"a","ar|
|00000f60| 72 61 79 22 29 3b 0d 09 | 09 64 5b 69 2b 2b 5d 3d |ray");..|.d[i++]=|
|00000f70| 44 65 73 63 72 69 62 65 | 28 75 6e 73 69 67 6e 65 |Describe|(unsigne|
|00000f80| 64 43 68 61 72 50 74 72 | 54 79 70 65 2c 26 6d 2c |dCharPtr|Type,&m,|
|00000f90| 22 6d 22 2c 22 63 68 61 | 72 73 22 29 3b 0d 09 09 |"m","cha|rs");...|
|00000fa0| 64 5b 69 2b 2b 5d 3d 44 | 65 73 63 72 69 62 65 41 |d[i++]=D|escribeA|
|00000fb0| 72 72 61 79 28 63 68 61 | 72 54 79 70 65 2c 26 69 |rray(cha|rType,&i|
|00000fc0| 6d 61 67 65 2c 22 69 6d | 61 67 65 22 2c 22 49 6d |mage,"im|age","Im|
|00000fd0| 61 67 65 20 64 61 74 61 | 22 2c 31 30 30 4c 2c 30 |age data|",100L,0|
|00000fe0| 4c 29 3b 0d 09 09 64 5b | 69 2b 2b 5d 3d 44 65 73 |L);...d[|i++]=Des|
|00000ff0| 63 72 69 62 65 28 73 74 | 72 69 6e 67 54 79 70 65 |cribe(st|ringType|
|00001000| 2c 26 6d 65 73 73 61 67 | 65 2c 22 6d 65 73 73 61 |,&messag|e,"messa|
|00001010| 67 65 22 2c 4e 55 4c 4c | 29 3b 0d 09 09 64 5b 69 |ge",NULL|);...d[i|
|00001020| 2b 2b 5d 3d 44 65 73 63 | 72 69 62 65 28 64 6f 75 |++]=Desc|ribe(dou|
|00001030| 62 6c 65 54 79 70 65 2c | 26 6c 6f 67 43 2c 22 6c |bleType,|&logC,"l|
|00001040| 6f 67 43 22 2c 22 6c 6f | 67 20 63 6f 6e 74 72 61 |ogC","lo|g contra|
|00001050| 73 74 22 29 3b 0d 09 09 | 64 5b 69 2b 2b 5d 3d 44 |st");...|d[i++]=D|
|00001060| 65 73 63 72 69 62 65 28 | 64 6f 75 62 6c 65 54 79 |escribe(|doubleTy|
|00001070| 70 65 2c 26 6d 61 73 6b | 4c 6f 67 43 2c 22 6d 61 |pe,&mask|LogC,"ma|
|00001080| 73 6b 4c 6f 67 43 22 2c | 4e 55 4c 4c 29 3b 0d 09 |skLogC",|NULL);..|
|00001090| 09 64 5b 69 2b 2b 5d 3d | 44 65 73 63 72 69 62 65 |.d[i++]=|Describe|
|000010a0| 28 73 74 72 69 6e 67 54 | 79 70 65 2c 26 6b 69 6e |(stringT|ype,&kin|
|000010b0| 64 4f 66 54 72 69 61 6c | 2c 22 6b 69 6e 64 4f 66 |dOfTrial|,"kindOf|
|000010c0| 54 72 69 61 6c 22 2c 4e | 55 4c 4c 29 3b 0d 09 09 |Trial",N|ULL);...|
|000010d0| 64 5b 69 2b 2b 5d 3d 44 | 65 73 63 72 69 62 65 28 |d[i++]=D|escribe(|
|000010e0| 64 6f 75 62 6c 65 54 79 | 70 65 2c 26 76 69 65 77 |doubleTy|pe,&view|
|000010f0| 69 6e 67 44 69 73 74 61 | 6e 63 65 2c 22 76 69 65 |ingDista|nce,"vie|
|00001100| 77 69 6e 67 44 69 73 74 | 61 6e 63 65 22 2c 22 69 |wingDist|ance","i|
|00001110| 6e 63 68 65 73 22 29 3b | 0d 09 09 64 5b 69 2b 2b |nches");|...d[i++|
|00001120| 5d 3d 44 65 73 63 72 69 | 62 65 28 73 68 6f 72 74 |]=Descri|be(short|
|00001130| 54 79 70 65 2c 26 74 72 | 69 61 6c 73 2c 22 74 72 |Type,&tr|ials,"tr|
|00001140| 69 61 6c 73 22 2c 4e 55 | 4c 4c 29 3b 0d 09 09 64 |ials",NU|LL);...d|
|00001150| 5b 69 2b 2b 5d 3d 44 65 | 73 63 72 69 62 65 41 72 |[i++]=De|scribeAr|
|00001160| 72 61 79 28 64 6f 75 62 | 6c 65 54 79 70 65 2c 26 |ray(doub|leType,&|
|00001170| 62 2c 22 62 22 2c 4e 55 | 4c 4c 2c 32 4c 2c 32 4c |b,"b",NU|LL,2L,2L|
|00001180| 2c 30 4c 29 3b 0d 09 09 | 64 5b 69 2b 2b 5d 3d 44 |,0L);...|d[i++]=D|
|00001190| 65 73 63 72 69 62 65 41 | 72 72 61 79 28 64 6f 75 |escribeA|rray(dou|
|000011a0| 62 6c 65 54 79 70 65 2c | 26 63 2c 22 63 22 2c 4e |bleType,|&c,"c",N|
|000011b0| 55 4c 4c 2c 31 4c 2c 32 | 4c 2c 33 4c 2c 30 4c 29 |ULL,1L,2|L,3L,0L)|
|000011c0| 3b 0d 09 09 61 73 73 65 | 72 74 28 69 3c 3d 31 34 |;...asse|rt(i<=14|
|000011d0| 29 3b 09 09 09 09 09 09 | 09 09 2f 2a 20 6d 61 6b |);......|../* mak|
|000011e0| 65 20 73 75 72 65 20 61 | 72 72 61 79 20 77 61 73 |e sure a|rray was|
|000011f0| 20 62 69 67 20 65 6e 6f | 75 67 68 20 2a 2f 0d 09 | big eno|ugh */..|
|00001200| 09 64 5b 69 2b 2b 5d 3d | 4e 75 6c 6c 44 65 73 63 |.d[i++]=|NullDesc|
|00001210| 72 69 70 74 69 6f 6e 28 | 29 3b 09 09 09 09 09 2f |ription(|);...../|
|00001220| 2a 20 6d 61 72 6b 20 65 | 6e 64 20 6f 66 20 61 72 |* mark e|nd of ar|
|00001230| 72 61 79 20 2a 2f 0d 09 | 09 49 6e 69 74 69 61 6c |ray */..|.Initial|
|00001240| 69 7a 65 44 65 73 63 72 | 69 62 65 64 56 61 72 73 |izeDescr|ibedVars|
|00001250| 28 64 2c 30 29 3b 0d 09 | 09 73 74 72 65 61 6d 3d |(d,0);..|.stream=|
|00001260| 66 6f 70 65 6e 28 66 69 | 6c 65 6e 61 6d 65 2c 22 |fopen(fi|lename,"|
|00001270| 72 22 29 3b 0d 09 09 52 | 65 61 64 41 73 73 69 67 |r");...R|eadAssig|
|00001280| 6e 6d 65 6e 74 4c 69 6e | 65 28 73 74 72 65 61 6d |nmentLin|e(stream|
|00001290| 2c 64 0d 09 09 09 2c 61 | 73 73 69 67 6e 48 65 78 |,d....,a|ssignHex|
|000012a0| 46 6c 6f 61 74 73 7c 61 | 73 73 69 67 6e 52 65 70 |Floats|a|ssignRep|
|000012b0| 6f 72 74 55 6e 6b 6e 6f | 77 6e 7c 61 73 73 69 67 |ortUnkno|wn|assig|
|000012c0| 6e 45 63 68 6f 41 73 73 | 69 67 6e 6d 65 6e 74 73 |nEchoAss|ignments|
|000012d0| 29 3b 0d 09 09 46 72 65 | 65 44 65 73 63 72 69 62 |);...Fre|eDescrib|
|000012e0| 65 64 56 61 72 73 28 64 | 2c 30 29 3b 0d 09 09 66 |edVars(d|,0);...f|
|000012f0| 63 6c 6f 73 65 28 73 74 | 72 65 61 6d 29 3b 0d 09 |close(st|ream);..|
|00001300| 09 52 65 61 64 41 73 73 | 69 67 6e 6d 65 6e 74 46 |.ReadAss|ignmentF|
|00001310| 69 6c 65 28 66 69 6c 65 | 6e 61 6d 65 2c 64 2c 61 |ile(file|name,d,a|
|00001320| 73 73 69 67 6e 48 65 78 | 46 6c 6f 61 74 73 7c 61 |ssignHex|Floats|a|
|00001330| 73 73 69 67 6e 52 65 70 | 6f 72 74 55 6e 6b 6e 6f |ssignRep|ortUnkno|
|00001340| 77 6e 29 3b 0d 09 09 50 | 72 69 6e 74 41 73 73 69 |wn);...P|rintAssi|
|00001350| 67 6e 6d 65 6e 74 73 28 | 73 74 64 6f 75 74 2c 64 |gnments(|stdout,d|
|00001360| 2c 30 29 3b 0d 09 09 46 | 72 65 65 44 65 73 63 72 |,0);...F|reeDescr|
|00001370| 69 70 74 69 6f 6e 73 28 | 64 29 3b 0d 09 23 65 6e |iptions(|d);..#en|
|00001380| 64 69 66 0d 7d 0d 00 00 | 00 00 00 00 00 00 00 00 |dif.}...|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 01 00 00 00 01 98 | 00 00 00 98 00 00 00 52 |........|.......R|
|00001410| 00 48 e7 01 08 28 6e 00 | 08 2f 2e 00 0c 2f 0c 4e |.H...(n.|./.../.N|
|00001420| ba 00 a0 2e 00 70 fc b0 | 87 66 04 70 00 60 0a 20 |.....p..|.f.p.`. |
|00001430| 0c 54 65 73 74 41 73 73 | 69 67 6e 2e 63 73 02 00 |.TestAss|ign.cs..|
|00001440| 00 00 54 45 58 54 43 57 | 49 45 01 00 01 04 00 60 |..TEXTCW|IE.....`|
|00001450| 00 00 54 45 58 54 43 57 | 49 45 01 00 01 04 00 60 |..TEXTCW|IE.....`|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 a8 34 59 ba 00 00 | 13 06 00 00 01 ea 00 48 |...4Y...|.......H|
|00001480| 6e ff f4 4e ad 04 f2 26 | 40 20 0b 58 8f 66 d4 20 |n..N...&|@ .X.f. |
|00001490| 54 70 00 20 80 4c ee 18 | 00 ff ec 4e 5e 4e 75 4e |Tp. .L..|...N^NuN|
|000014a0| 56 00 00 2f 0c 28 6e 00 | 08 2f 0c 4e ba ff 98 70 |V../.(n.|./.N...p|
|000014b0| 00 2f 00 2f 0c 4e ba fe | 6e 28 6e ff fc 4e 5e 4e |././.N..|n(n..N^N|
|000014c0| 75 4e 56 ff f4 48 e7 01 | 08 2e 2e 00 0c 2f 2e 00 |uNV..H..|...../..|
|000014d0| 08 48 6e ff f4 4e ad 04 | e2 41 ee ff f4 50 8f 60 |.Hn..N..|.A...P.`|
|000014e0| 18 2f 0c 20 54 20 50 22 | 68 00 1c 4e 91 be 80 58 |./. T P"|h..N...X|
|000014f0| 8f 66 06 20 2e ff f8 60 | 12 48 6e ff f4 4e ad 04 |.f. ...`|.Hn..N..|
|00001500| 00 00 00 40 00 03 00 00 | 04 20 00 00 04 35 15 44 |...@....|. ...5.D|
|00001510| 65 73 63 72 69 62 65 50 | 73 79 63 68 6f 70 68 79 |escribeP|sychophy|
|00001520| 73 69 63 73 00 00 06 58 | 00 00 06 5c 05 6d 61 69 |sics...X|...\.mai|
|00001530| 6e 00 00 00 09 db 00 00 | 09 e4 09 6d 6f 72 65 54 |n.......|...moreT|
|00001540| 65 73 74 73 00 00 00 48 | 00 09 4d 6f 6e 61 63 6f |ests...H|..Monaco|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 03 00 04 00 3b |........|.......;|
|00001570| 00 c1 02 69 03 39 00 3b | 00 c1 02 69 03 39 ac c7 |...i.9.;|...i.9..|
|00001580| 24 ff 00 00 08 9f 00 00 | 08 b1 00 00 04 d3 00 00 |$.......|........|
|00001590| 00 00 00 04 00 01 00 01 | 00 00 01 00 00 00 01 98 |........|........|
|000015a0| 00 00 00 98 00 00 00 52 | 01 ea 14 a0 33 c8 00 00 |.......R|....3...|
|000015b0| 00 1c 00 52 00 01 4d 50 | 53 52 00 01 00 12 4d 57 |...R..MP|SR....MW|
|000015c0| 42 42 00 00 00 2a 03 ef | ff ff 00 00 00 00 00 00 |BB...*..|........|
|000015d0| 00 00 03 ed ff ff 00 00 | 00 44 00 00 00 00 03 f0 |........|.D......|
|000015e0| ff ff 00 00 00 90 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+