aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/hyperscan/src/rose/runtime.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:12 +0300
commit49116032d905455a7b1c994e4a696afc885c1e71 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/hyperscan/src/rose/runtime.h
parent4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff)
downloadydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/hyperscan/src/rose/runtime.h')
-rw-r--r--contrib/libs/hyperscan/src/rose/runtime.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/contrib/libs/hyperscan/src/rose/runtime.h b/contrib/libs/hyperscan/src/rose/runtime.h
index 9579ff5e31..5fbb2b7416 100644
--- a/contrib/libs/hyperscan/src/rose/runtime.h
+++ b/contrib/libs/hyperscan/src/rose/runtime.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2018, Intel Corporation
+ * Copyright (c) 2015-2018, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -128,15 +128,15 @@ void updateLastMatchOffset(struct RoseContext *tctxt, u64a offset) {
}
static really_inline
-void updateLastCombMatchOffset(struct RoseContext *tctxt, u64a offset) {
- DEBUG_PRINTF("match @%llu, last match @%llu\n", offset,
- tctxt->lastCombMatchOffset);
-
- assert(offset >= tctxt->lastCombMatchOffset);
- tctxt->lastCombMatchOffset = offset;
-}
-
-static really_inline
+void updateLastCombMatchOffset(struct RoseContext *tctxt, u64a offset) {
+ DEBUG_PRINTF("match @%llu, last match @%llu\n", offset,
+ tctxt->lastCombMatchOffset);
+
+ assert(offset >= tctxt->lastCombMatchOffset);
+ tctxt->lastCombMatchOffset = offset;
+}
+
+static really_inline
void updateMinMatchOffset(struct RoseContext *tctxt, u64a offset) {
DEBUG_PRINTF("min match now @%llu, was @%llu\n", offset,
tctxt->minMatchOffset);