Lines Matching defs:mmin
28 #define MMIN(vcpa) ((vcpa)->mmin >= HMIN ? (vcpa)->mmin : HMIN)
54 static Hash_t* hashtable(ssize_t mmin, ssize_t nsrc, ssize_t ntar)
56 static Hash_t* hashtable(mmin, nsrc, ntar)
57 ssize_t mmin; /* segment size to be hashed */
78 hs->poly = (mmin = mmin >= HMIN ? mmin : HMIN);
79 for(hs->coef = 1, n = 1; n < mmin; ++n)
133 ssize_t m, em, n, en, u, mmin, umax, mbeg;
139 mmin = vcpa->mmin <= 1 ? 1 : vcpa->mmin;
140 umax = mmin*(2*vclogi(mmin) + 1);
162 { for(u = mmin, n = 0, en = et-ts; n < en; )
175 if((m-n) < mmin) /* not big enough */
215 ssize_t mmin = MMIN(vcpa); /* minimum match length */
216 /**/DEBUG_ASSERT(vcpa->ntar >= mmin);
219 if(!(hs = hashtable(mmin, vcpa->nsrc, vcpa->ntar)))
221 mmin = hs->poly;
226 ns = (ks = vcpa->src) + mmin;
227 for(endo = (m = hs->src) + vcpa->nsrc - (mmin-1); ; ++ks, ++ns )
236 ns = (ks = vcpa->tar) + mmin; et = ks + vcpa->ntar; /* bounds of target data */
239 for(add = obj = hs->tar, endo = obj + vcpa->ntar - (mmin-1); ; )
244 flen = rlen = vcpa->mmin - 1; /* match length */
303 if(flen >= vcpa->mmin)
339 { sm = vcpa->tar + ((m + mmin-1) - hs->tar);
345 { sm = vcpa->src + ((m + mmin-1) - hs->src);
370 { rpos = m + (mmin-1);
376 if(rlen >= vcpa->mmin)
395 if(n >= vcpa->mmin) /* a potential match */
449 ssize_t mmin = MMIN(vcpa);
481 if((lz = nsrc-lp) < mmin )
493 if((rz = nsrc-rp) < mmin )
519 if(lz >= mmin)