aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/hyperscan/src/fdr/fdr_internal.h
diff options
context:
space:
mode:
authorIvan Blinkov <ivan@blinkov.ru>2022-02-10 16:47:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:10 +0300
commit1aeb9a455974457866f78722ad98114bafc84e8a (patch)
treee4340eaf1668684d83a0a58c36947c5def5350ad /contrib/libs/hyperscan/src/fdr/fdr_internal.h
parentbd5ef432f5cfb1e18851381329d94665a4c22470 (diff)
downloadydb-1aeb9a455974457866f78722ad98114bafc84e8a.tar.gz
Restoring authorship annotation for Ivan Blinkov <ivan@blinkov.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/hyperscan/src/fdr/fdr_internal.h')
-rw-r--r--contrib/libs/hyperscan/src/fdr/fdr_internal.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/contrib/libs/hyperscan/src/fdr/fdr_internal.h b/contrib/libs/hyperscan/src/fdr/fdr_internal.h
index c79f61c1f1..d0395e0fef 100644
--- a/contrib/libs/hyperscan/src/fdr/fdr_internal.h
+++ b/contrib/libs/hyperscan/src/fdr/fdr_internal.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2015-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -36,8 +36,8 @@
#include "ue2common.h"
#include "hwlm/hwlm.h" // for hwlm_group_t, HWLMCallback
-struct hs_scratch;
-
+struct hs_scratch;
+
typedef enum {
NOT_CAUTIOUS, //!< not near a boundary (quantify?)
VECTORING //!< potentially vectoring
@@ -70,18 +70,18 @@ struct FDR {
u32 engineID;
u32 size;
u32 maxStringLen;
- u32 numStrings;
- u32 confOffset;
+ u32 numStrings;
+ u32 confOffset;
u32 floodOffset;
- u8 stride; /* stride - how frequently the data is consulted by the first
- * stage matcher */
- u8 domain; /* number of bits used to index into main FDR table. This value
- * is used only of debugging/asserts. */
+ u8 stride; /* stride - how frequently the data is consulted by the first
+ * stage matcher */
+ u8 domain; /* number of bits used to index into main FDR table. This value
+ * is used only of debugging/asserts. */
u16 domainMask; /* pre-computed domain mask */
u32 tabSize; /* pre-computed hashtable size in bytes */
- m128 start; /* initial start state to use at offset 0. The state has been
- * set up based on the min length of buckets to reduce the need
- * for pointless confirms. */
+ m128 start; /* initial start state to use at offset 0. The state has been
+ * set up based on the min length of buckets to reduce the need
+ * for pointless confirms. */
};
/** \brief FDR runtime arguments.
@@ -97,7 +97,7 @@ struct FDR_Runtime_Args {
size_t len_history;
size_t start_offset;
HWLMCallback cb;
- struct hs_scratch *scratch;
+ struct hs_scratch *scratch;
const u8 *firstFloodDetect;
const u64a histBytes;
};