aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/hyperscan/src/grey.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/grey.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/grey.h')
-rw-r--r--contrib/libs/hyperscan/src/grey.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/contrib/libs/hyperscan/src/grey.h b/contrib/libs/hyperscan/src/grey.h
index ed2f845a4b..4396411ebb 100644
--- a/contrib/libs/hyperscan/src/grey.h
+++ b/contrib/libs/hyperscan/src/grey.h
@@ -41,7 +41,7 @@ struct Grey {
bool optimiseComponentTree;
- bool calcComponents;
+ bool calcComponents;
bool performGraphSimplification;
bool prefilterReductions;
bool removeEdgeRedundancy;
@@ -51,31 +51,31 @@ struct Grey {
bool allowLitHaig;
bool allowLbr;
bool allowMcClellan;
- bool allowSheng;
- bool allowMcSheng;
+ bool allowSheng;
+ bool allowMcSheng;
bool allowPuff;
- bool allowLiteral;
- bool allowViolet;
+ bool allowLiteral;
+ bool allowViolet;
bool allowExtendedNFA;
bool allowLimExNFA;
bool allowAnchoredAcyclic;
bool allowSmallLiteralSet;
bool allowCastle;
bool allowDecoratedLiteral;
- bool allowApproximateMatching;
+ bool allowApproximateMatching;
bool allowNoodle;
bool fdrAllowTeddy;
- bool fdrAllowFlood;
-
- u32 violetAvoidSuffixes; /* 0=never, 1=sometimes, 2=always */
- bool violetAvoidWeakInfixes;
- bool violetDoubleCut;
- bool violetExtractStrongLiterals;
- bool violetLiteralChains;
- u32 violetDoubleCutLiteralLen;
- u32 violetEarlyCleanLiteralLen;
-
+ bool fdrAllowFlood;
+
+ u32 violetAvoidSuffixes; /* 0=never, 1=sometimes, 2=always */
+ bool violetAvoidWeakInfixes;
+ bool violetDoubleCut;
+ bool violetExtractStrongLiterals;
+ bool violetLiteralChains;
+ u32 violetDoubleCutLiteralLen;
+ u32 violetEarlyCleanLiteralLen;
+
bool puffImproveHead;
bool castleExclusive; // enable castle mutual exclusion analysis
@@ -110,7 +110,7 @@ struct Grey {
u32 minRoseLiteralLength;
u32 minRoseNetflowLiteralLength;
u32 maxRoseNetflowEdges;
- u32 maxEditDistance;
+ u32 maxEditDistance;
u32 minExtBoundedRepeatSize; /* to be considered for ng_repeat */
@@ -152,18 +152,18 @@ struct Grey {
// SmallWrite engine
bool allowSmallWrite;
- bool allowSmallWriteSheng;
+ bool allowSmallWriteSheng;
u32 smallWriteLargestBuffer; // largest buffer that can be small write
u32 smallWriteLargestBufferBad;// largest buffer that can be small write
u32 limitSmallWriteOutfixSize; //!< max total size of outfix DFAs
- u32 smallWriteMaxPatterns; // only try small writes if fewer patterns
- u32 smallWriteMaxLiterals; // only try small writes if fewer literals
- u32 smallWriteMergeBatchSize; // number of DFAs to merge in a batch
-
- // Tamarama engine
- bool allowTamarama;
- u32 tamaChunkSize; //!< max chunk size for exclusivity analysis in Tamarama
-
+ u32 smallWriteMaxPatterns; // only try small writes if fewer patterns
+ u32 smallWriteMaxLiterals; // only try small writes if fewer literals
+ u32 smallWriteMergeBatchSize; // number of DFAs to merge in a batch
+
+ // Tamarama engine
+ bool allowTamarama;
+ u32 tamaChunkSize; //!< max chunk size for exclusivity analysis in Tamarama
+
enum DumpFlags {
DUMP_NONE = 0,
DUMP_BASICS = 1 << 0, // Dump basic textual data
@@ -204,9 +204,9 @@ struct Grey {
u32 limitDFASize; //!< max size of a DFA (in bytes)
u32 limitNFASize; //!< max size of an NFA (in bytes)
u32 limitLBRSize; //!< max size of an LBR engine (in bytes)
-
- // Approximate matching limits.
- u32 limitApproxMatchingVertices; //!< max number of vertices per graph
+
+ // Approximate matching limits.
+ u32 limitApproxMatchingVertices; //!< max number of vertices per graph
};
#ifndef RELEASE_BUILD