Lines Matching refs:hs
186 UInt32 hs; in MatchFinder_Create() local
191 hs = (1 << 16) - 1; in MatchFinder_Create()
194 hs = historySize - 1; in MatchFinder_Create()
195 hs |= (hs >> 1); in MatchFinder_Create()
196 hs |= (hs >> 2); in MatchFinder_Create()
197 hs |= (hs >> 4); in MatchFinder_Create()
198 hs |= (hs >> 8); in MatchFinder_Create()
199 hs >>= 1; in MatchFinder_Create()
201 hs |= 0xFFFF; /* don't change it! It's required for Deflate */ in MatchFinder_Create()
202 if (hs > (1 << 24)) in MatchFinder_Create()
205 hs = (1 << 24) - 1; in MatchFinder_Create()
207 hs >>= 1; in MatchFinder_Create()
210 p->hashMask = hs; in MatchFinder_Create()
211 hs++; in MatchFinder_Create()
215 hs += p->fixedHashSize; in MatchFinder_Create()
222 p->hashSizeSum = hs; in MatchFinder_Create()