Cisco Cisco Email Security Appliance C690 發佈版本通知

下载
页码 221
             Open Source Used In Cisco AsyncOS 8.5.5 for Email Security
              73
       s1+=buf[index++]&0xff; s2+=s1;
       s1+=buf[index++]&0xff; s2+=s1;
       s1+=buf[index++]&0xff; s2+=s1;
       s1+=buf[index++]&0xff; s2+=s1;
       s1+=buf[index++]&0xff; s2+=s1;
       s1+=buf[index++]&0xff; s2+=s1;
       s1+=buf[index++]&0xff; s2+=s1;
       s1+=buf[index++]&0xff; s2+=s1;
       s1+=buf[index++]&0xff; s2+=s1;
       s1+=buf[index++]&0xff; s2+=s1;
       k-=16;
     }
     if(k!=0){
       do{
         s1+=buf[index++]&0xff; s2+=s1;
       }
       while(--k!=0);
     }
     s1%=BASE;
     s2%=BASE;
   }
   return (s2<<16)|s1;
 }
 
 /*
 private java.util.zip.Adler32 adler=new java.util.zip.Adler32();
 long adler32(long value, byte[] buf, int index, int len){
   if(value==1) {adler.reset();}
   if(buf==null) {adler.reset();}
   else{adler.update(buf, index, len);}
   return adler.getValue();
 }
 */
}
 
1.31 libev 4.03 
1.31.1 Available under license : 
All files in libev are Copyright (C)2007,2008,2009 Marc Alexander Lehmann.
 
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
 
   * Redistributions of source code must retain the above copyright
     notice, this list of conditions and the following disclaimer.