MD5Stream.st
changeset 15992 24d68f700fdf
parent 15988 c096b155b704
child 15997 46cd77ec80df
equal deleted inserted replaced
15991:84ded9e95455 15992:24d68f700fdf
   359                 case WORDARRAY:
   359                 case WORDARRAY:
   360                 case LONGARRAY:
   360                 case LONGARRAY:
   361                 case SWORDARRAY:
   361                 case SWORDARRAY:
   362                 case SLONGARRAY:
   362                 case SLONGARRAY:
   363                 case FLOATARRAY:
   363                 case FLOATARRAY:
       
   364                     break;
   364                 case DOUBLEARRAY:
   365                 case DOUBLEARRAY:
   365 #ifdef __NEED_DOUBLE_ALIGN
   366 #ifdef __NEED_DOUBLE_ALIGN
   366                     nInstBytes = (nInstBytes-1+__DOUBLE_ALIGN) &~ (__DOUBLE_ALIGN-1);
   367                     nInstBytes = (nInstBytes-1+__DOUBLE_ALIGN) &~ (__DOUBLE_ALIGN-1);
   367 #endif
   368 #endif
   368                     break;
   369                     break;
   369                 case LONGLONGARRAY:
   370                 case LONGLONGARRAY:
   370                 case SLONGLONGARRAY:
   371                 case SLONGLONGARRAY:
   371 #ifdef __NEED_LONGLONG_ALIGN
   372 #ifdef __NEED_LONGLONG_ALIGN
   372                     nInstBytes = (nInstBytes-1+__LONGLONG_ALIGN) &~ (__LONGLONG_ALIGN-1);
   373                     nInstBytes = (nInstBytes-1+__LONGLONG_ALIGN) &~ (__LONGLONG_ALIGN-1);
   373 #endif
   374 #endif
       
   375                     break;
   374                 default:
   376                 default:
   375                     goto bad;
   377                     goto bad;
   376             }
   378             }
   377             // nInstBytes is the number of bytes occupied by pointer instance variables
   379             // nInstBytes is the number of bytes occupied by pointer instance variables
   378             // subtract from size and add to byte-pointer
   380             // subtract from size and add to byte-pointer
   391 ! !
   393 ! !
   392 
   394 
   393 !MD5Stream class methodsFor:'documentation'!
   395 !MD5Stream class methodsFor:'documentation'!
   394 
   396 
   395 version
   397 version
   396     ^ '$Header: /cvs/stx/stx/libbasic/MD5Stream.st,v 1.27 2014-02-12 12:54:43 stefan Exp $'
   398     ^ '$Header: /cvs/stx/stx/libbasic/MD5Stream.st,v 1.28 2014-02-12 14:14:07 stefan Exp $'
   397 !
   399 !
   398 
   400 
   399 version_CVS
   401 version_CVS
   400     ^ '$Header: /cvs/stx/stx/libbasic/MD5Stream.st,v 1.27 2014-02-12 12:54:43 stefan Exp $'
   402     ^ '$Header: /cvs/stx/stx/libbasic/MD5Stream.st,v 1.28 2014-02-12 14:14:07 stefan Exp $'
   401 ! !
   403 ! !
   402 
   404 
   403 
   405 
   404 MD5Stream initialize!
   406 MD5Stream initialize!