45 static inline FXuint SUM(FXuint sum,FXuchar byte){
47 FXuint s1=(sum&65535)+byte;
48 FXuint s2=(sum>>16)+s1;
49 return ((s1%65521)<<16)|(s2%65521);
54 static inline FXuint SUM(FXuint sum,FXushort x){
55 union{ FXushort s; FXuchar b[2]; } z={x};
58 #if FOX_BIGENDIAN == 1 65 return ((s1%65521)<<16)|(s2%65521);
70 static inline FXuint SUM(FXuint sum,FXuint x){
71 union{ FXuint i; FXuchar b[4]; } z={x};
74 #if FOX_BIGENDIAN == 1 85 return ((s1%65521)<<16)|(s2%65521);
90 static inline FXuint SUM(FXuint sum,FXulong x){
91 union{ FXulong l; FXuchar b[8]; } z={x};
94 #if FOX_BIGENDIAN == 1 113 return ((s1%65521)<<16)|(s2%65521);
118 static inline FXuint SUM(FXuint sum,
const FXuchar *buf,FXival len){
123 len-=(cnt=FXMIN(len,5552));
Definition: FX4Splitter.h:28