Changeset 409 in Sophya for trunk/Poubelle/archTOI.old/archeopsfile.cc
- Timestamp:
- Sep 22, 1999, 11:56:54 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/archeopsfile.cc
r408 r409 675 675 } 676 676 #endif 677 677 678 678 long ArcheopsFile::searchNextBlock(long pos) { 679 679 static char* buffer = 0; … … 692 692 //if (read<taille_maxi_block_archeops*2) return -1; 693 693 // EA 150999 changed i+=4 to i++ -> unaligned, but can lose bytes in flight recorder 694 for (size_t i=4; i<read; i++) { 695 if (*(int4*)(buffer+i) == debswp) { 694 #ifndef __DECCXX 695 #define __unaligned 696 #endif 697 for (size_t i=4; i<read; i++) { 698 if (*(__unaligned int4*)(buffer+i) == debswp) { 696 699 cout << "trying to skip " << i << " bytes to pos="<<pos+i << endl; 697 700 return pos+i; … … 704 707 } 705 708 706 709 707 710 708 711 … … 931 934 } 932 935 936 double ArcheopsFile::getMuVBolo2T(int ibolo, int imesure) { 937 return getMuVBolo2(ibolo, imesure) - getDACV(ibolo); 938 } 933 939 934 940 // SST, gyros...
Note:
See TracChangeset
for help on using the changeset viewer.