Lines Matching refs:diff
231 uint32_t n, diff;
245 diff = range[i].seq2 - range[i].seq1;
246 if (n + diff >= ctx->partial1) {
251 n += diff + 1;
259 diff = range[i].seq2 - range[i].seq1;
260 if (n + diff >= ctx->partial2) {
265 n += diff + 1;
284 float diff, imap_score;
293 diff = ctx->max_relevancy - ctx->min_relevancy;
294 if (diff == 0)
295 diff = 1.0;
299 imap_score = (scores[i] - ctx->min_relevancy) / diff * 100.0;