|
Message
From: cvs at opencores.org<cvs@o...>
Date: Sun Jun 25 14:41:47 CEST 2006
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/06/06 25:14:41 Modified: jop/java/target/src/bench/jbe/ejip TcpIp.java Log: correction on loop bound for checksum generation Revision Changes Path 1.3 jop/java/target/src/bench/jbe/ejip/TcpIp.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/bench/jbe/ejip/TcpIp.java.diff?r1=1.2&r2=1.3 (In the diff below, changes in quantity of whitespace are not shown.) Index: TcpIp.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/bench/jbe/ejip/TcpIp.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- TcpIp.java 24 Jun 2006 22:11:00 -0000 1.2 +++ TcpIp.java 25 Jun 2006 12:41:46 -0000 1.3 @@ -77,8 +77,8 @@ int i; int sum = 0; - cnt = (cnt+3)>>2; // word count - while (cnt != 0) { // @WCA loop<=1500 + cnt = (cnt+3)>>2; // word count (max is 375) + while (cnt != 0) { // @WCA loop<=375 i = buf[off]; sum += i & 0xffff; sum += i>>>16;
|