Ignore:
Timestamp:
Sep 22, 1999, 11:56:54 AM (26 years ago)
Author:
ansari
Message:

nouvelles toi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/archeopsfile.cc

    r408 r409  
    675675}
    676676#endif
    677  
     677
    678678long ArcheopsFile::searchNextBlock(long pos) {
    679679  static char* buffer = 0;
     
    692692    //if (read<taille_maxi_block_archeops*2) return -1;
    693693    // 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) {
    696699        cout << "trying to skip " << i << " bytes to pos="<<pos+i << endl;
    697700        return pos+i;
     
    704707}
    705708
    706  
     709
    707710
    708711
     
    931934}
    932935
     936double ArcheopsFile::getMuVBolo2T(int ibolo, int imesure) {
     937  return getMuVBolo2(ibolo, imesure) - getDACV(ibolo);
     938}
    933939
    934940// SST, gyros...
Note: See TracChangeset for help on using the changeset viewer.