if (diff > info->repeatMax) {
DEBUG_PRINTF("range list is stale\n");
return REPEAT_STALE;
- } else if (diff >= info->repeatMin && diff <= info->repeatMax) {
+ } else if (diff >= info->repeatMin) {
return REPEAT_MATCH;
}
if (diff > info->repeatMax) {
DEBUG_PRINTF("stale\n");
return REPEAT_STALE;
- } else if (diff >= info->repeatMin && diff <= info->repeatMax) {
+ } else if (diff >= info->repeatMin) {
return REPEAT_MATCH;
}
}
static
-bool buildLeftfixes(RoseBuildImpl &tbi, build_context &bc,
+void buildLeftfixes(RoseBuildImpl &tbi, build_context &bc,
QueueIndexFactory &qif, set<u32> *no_retrigger_queues,
set<u32> *eager_queues, bool do_prefix) {
RoseGraph &g = tbi.g;
leftfix);
}
- return true;
+ return ;
}
static
suffixTriggers.clear();
*leftfixBeginQueue = qif.allocated_count();
-
- if (!buildLeftfixes(tbi, bc, qif, no_retrigger_queues, eager_queues,
- true)) {
- return false;
- }
-
- if (!buildLeftfixes(tbi, bc, qif, no_retrigger_queues, eager_queues,
- false)) {
- return false;
- }
+ buildLeftfixes(tbi, bc, qif, no_retrigger_queues, eager_queues,true);
+ buildLeftfixes(tbi, bc, qif, no_retrigger_queues, eager_queues,false);
return true;
}
struct hs_scratch scratch;
scratch.fdr_conf = NULL;
- while (1) {
+ while (c != 255) {
SCOPED_TRACE((unsigned int)c);
u8 bit = 1 << (c & 0x7);
u8 cAlt = c ^ bit;
}
matchesCounts.clear();
- if (++c == 0) {
- break;
- }
+ ++c;
}
}
struct hs_scratch scratch;
scratch.fdr_conf = NULL;
- while (1) {
+ while (c != 255) {
u8 bit = 1 << (c & 0x7);
u8 cAlt = c ^ bit;
SCOPED_TRACE((unsigned int)c);
}
matchesCounts.clear();
- if (++c == '\0') {
- break;
- }
+ ++c;
}
}
struct hs_scratch scratch;
scratch.fdr_conf = NULL;
- while (1) {
+ while (c != 255) {
u8 bit = 1 << (c & 0x7);
u8 cAlt = c ^ bit;
SCOPED_TRACE((unsigned int)c);
}
}
- if (++c == '\0') {
- break;
- }
+ ++c;
}
matchesCounts.clear();
}