Changeset 39634
- Timestamp:
- Jul 21, 2016, 10:49:58 AM (10 years ago)
- Location:
- trunk/Ohana/src/opihi
- Files:
-
- 3 edited
-
cmd.data/read_vectors.c (modified) (1 diff)
-
cmd.data/test/read.sh (modified) (4 diffs)
-
dvo/gstar.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/read_vectors.c
r39534 r39634 246 246 c1 = c0 + Nstart; 247 247 bufferStatus = FALSE; 248 if (Nstart == 0) continue; // if we have reached EOF and c0 points at the last valid character, we are done 248 249 } else { 249 250 // if we have not reached EOF, we need to shift the buffer to the start of this line and read more data -
trunk/Ohana/src/opihi/cmd.data/test/read.sh
r33662 r39634 1 1 2 2 list tests 3 #test14 #test25 #test36 #test43 test1 4 test2 5 test3 6 test4 7 7 test5 8 8 test6 … … 38 38 read t1:int 1 t2:int 2 t3:int 3 39 39 40 vtype t1 -var type; if ("$type" != "INT") set PASS = 0 41 vtype t2 -var type; if ("$type" != "INT") set PASS = 0 42 vtype t3 -var type; if ("$type" != "INT") set PASS = 0 43 40 44 # note: no way to verify the mode of a vector 41 vectors45 if ($VERBOSE >= 2) vectors 42 46 43 47 if (t1[0] != 1) set PASS = 0 … … 83 87 read t1:int 1 t2:int 2 t3:int 3 84 88 85 # note: no way to verify the mode of a vector 86 vectors 89 vtype t1 -var type; if ("$type" != "INT") set PASS = 0 90 vtype t2 -var type; if ("$type" != "INT") set PASS = 0 91 vtype t3 -var type; if ("$type" != "INT") set PASS = 0 92 93 if ($VERBOSE >= 2) vectors 87 94 88 95 if (t1[0] != 1) set PASS = 0 … … 128 135 read t1:int 1 t2:int 2 t3:int 3 129 136 130 # note: no way to verify the mode of a vector 131 vectors 137 vtype t1 -var type; if ("$type" != "INT") set PASS = 0 138 vtype t2 -var type; if ("$type" != "INT") set PASS = 0 139 vtype t3 -var type; if ("$type" != "INT") set PASS = 0 140 141 if ($VERBOSE >= 2) vectors 132 142 133 143 if (t1[0] != 1) set PASS = 0 -
trunk/Ohana/src/opihi/dvo/gstar.c
r39604 r39634 761 761 if (FULL_OUTPUT) { 762 762 gprint (GP_LOG, "%6.3f ", catalog.measure[Nv].Mcal); 763 gprint (GP_LOG, "%6.3f ", catalog.measure[Nv].Mflat); 763 764 gprint (GP_LOG, "%6.3f ", catalog.measure[Nv].Map); 764 765 gprint (GP_LOG, "%6.3f ", catalog.measure[Nv].Mkron);
Note:
See TracChangeset
for help on using the changeset viewer.
