Lines Matching refs:sliceLen
258 TextIdx sliceLen = static_cast<TextIdx>(slice_len); in durchschlag_prepare() local
259 if (sliceLen != slice_len) fatal("slice_len is too large"); in durchschlag_prepare()
260 if (sliceLen < 1) fatal("slice_len is too small"); in durchschlag_prepare()
276 if (total < sliceLen) fatal("slice_len is larger than corpus size"); in durchschlag_prepare()
277 TextIdx end = total - static_cast<TextIdx>(sliceLen) + 1; in durchschlag_prepare()
288 for (TextIdx i = 0; i < sliceLen - 1; ++i) { in durchschlag_prepare()
292 TextIdx lShiftX = (lShift * (sliceLen - 1)) % hashLen; in durchschlag_prepare()
301 TextIdx v = data[i + sliceLen - 1]; in durchschlag_prepare()
310 for (TextIdx j = 0; j < sliceLen; ++j) { in durchschlag_prepare()
330 return {total, sliceLen, static_cast<TextIdx>(map.size()), in durchschlag_prepare()
337 TextIdx sliceLen = static_cast<TextIdx>(slice_len); in durchschlag_prepare() local
338 if (sliceLen != slice_len) fatal("slice_len is too large"); in durchschlag_prepare()
339 if (sliceLen < 1) fatal("slice_len is too small"); in durchschlag_prepare()
356 if (total < sliceLen) fatal("slice_len is larger than corpus size"); in durchschlag_prepare()
358 TextIdx end = total - sliceLen + 1; in durchschlag_prepare()
363 if (lcp[current - 1] < sliceLen) { in durchschlag_prepare()
386 return {total, sliceLen, counter, std::move(offsets), std::move(sliceMap)}; in durchschlag_prepare()
452 TextIdx sliceLen = context.sliceLen; in durchschlagGenerateExclusive() local
465 if (blockLen < sliceLen) { in durchschlagGenerateExclusive()
473 TextIdx end = total - sliceLen + 1; in durchschlagGenerateExclusive()
475 TextIdx span = blockLen - sliceLen + 1; in durchschlagGenerateExclusive()
558 TextIdx sliceLen = context.sliceLen; in durchschlagGenerateCollaborative() local
571 if (blockLen < sliceLen) { in durchschlagGenerateCollaborative()
579 TextIdx end = total - sliceLen + 1; in durchschlagGenerateCollaborative()
581 TextIdx span = blockLen - sliceLen + 1; in durchschlagGenerateCollaborative()
666 TextIdx sliceLen = context.sliceLen; in durchschlag_distill() local
668 TextIdx end = total - sliceLen + 1; in durchschlag_distill()
683 lastNonUniquePos = readPos + sliceLen; in durchschlag_distill()
708 TextIdx sliceLen = context.sliceLen; in durchschlag_purify() local
710 TextIdx end = total - sliceLen + 1; in durchschlag_purify()
719 lastNonUniquePos = readPos + sliceLen; in durchschlag_purify()