Lines Matching refs:hs
192 UInt32 hs; in MatchFinder_Create() local
197 hs = (1 << 16) - 1; in MatchFinder_Create()
200 hs = historySize - 1; in MatchFinder_Create()
201 hs |= (hs >> 1); in MatchFinder_Create()
202 hs |= (hs >> 2); in MatchFinder_Create()
203 hs |= (hs >> 4); in MatchFinder_Create()
204 hs |= (hs >> 8); in MatchFinder_Create()
205 hs >>= 1; in MatchFinder_Create()
206 hs |= 0xFFFF; /* don't change it! It's required for Deflate */ in MatchFinder_Create()
207 if (hs > (1 << 24)) in MatchFinder_Create()
210 hs = (1 << 24) - 1; in MatchFinder_Create()
212 hs >>= 1; in MatchFinder_Create()
215 p->hashMask = hs; in MatchFinder_Create()
216 hs++; in MatchFinder_Create()
220 hs += p->fixedHashSize; in MatchFinder_Create()
227 p->hashSizeSum = hs; in MatchFinder_Create()