ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/cs/CLZF.cs
(Generate patch)

Comparing liblzf/cs/CLZF.cs (file contents):
Revision 1.2 by root, Fri Jul 7 15:34:40 2006 UTC vs.
Revision 1.3 by root, Mon Dec 14 02:05:14 2009 UTC

136 return ((v) << 8) | Array[ptr+2]; 136 return ((v) << 8) | Array[ptr+2];
137 } 137 }
138 138
139 UInt32 IDX(UInt32 h) 139 UInt32 IDX(UInt32 h)
140 { 140 {
141 return ((h ^ (h << 5)) >> (int)(((3*8 - HLOG)) - h*5) & (HSIZE - 1)); 141 return ((((h ^ (h << 5)) >> (int) (3*8 - HLOG)) - h*5) & (HSIZE - 1));
142 } 142 }
143 143
144 /* 144 /*
145 * compressed format 145 * compressed format
146 * 146 *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines