Home | History | Annotate | Download | only in compact_lang_det

Lines Matching refs:testsize

1062 bool CheapSqueezeTriggerTest(const char* src, int srclen, int testsize) {
1064 if (srclen < testsize) {return false;}
1065 int space_thresh = (testsize * kSpacesTriggerPercent) / 100;
1066 int predict_thresh = (testsize * kPredictTriggerPercent) / 100;
1073 if ((CountSpaces4(src, testsize) >= space_thresh) ||
1074 (CountPredictedBytes(src, testsize, &hash, predict_tbl) >=