aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/hyperscan/src/fdr/teddy_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/teddy_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/teddy_internal.h')
-rw-r--r--contrib/libs/hyperscan/src/fdr/teddy_internal.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/contrib/libs/hyperscan/src/fdr/teddy_internal.h b/contrib/libs/hyperscan/src/fdr/teddy_internal.h
index 1e9e603fa7..95f5ab2baa 100644
--- a/contrib/libs/hyperscan/src/fdr/teddy_internal.h
+++ b/contrib/libs/hyperscan/src/fdr/teddy_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:
@@ -26,28 +26,28 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-/* Teddy bytecode layout:
- * * |-----|
- * * | | struct Teddy
- * * |-----|
- * * | | teddy masks
- * * | |
- * * |-----|
- * * | | reinforcement mask table for bucket 0..7
- * * | |
- * * |-----|
- * * | | reinforcement mask table for bucket 8..15 (FAT teddy)
- * * | |
- * * |-----|
- * * | | confirm
- * * | |
- * * | |
- * * |-----|
- * * | | flood control
- * * | |
- * * |-----|
- */
-
+/* Teddy bytecode layout:
+ * * |-----|
+ * * | | struct Teddy
+ * * |-----|
+ * * | | teddy masks
+ * * | |
+ * * |-----|
+ * * | | reinforcement mask table for bucket 0..7
+ * * | |
+ * * |-----|
+ * * | | reinforcement mask table for bucket 8..15 (FAT teddy)
+ * * | |
+ * * |-----|
+ * * | | confirm
+ * * | |
+ * * | |
+ * * |-----|
+ * * | | flood control
+ * * | |
+ * * |-----|
+ */
+
#ifndef TEDDY_INTERNAL_H
#define TEDDY_INTERNAL_H
@@ -58,8 +58,8 @@ struct Teddy {
u32 engineID;
u32 size;
u32 maxStringLen;
- u32 numStrings;
- u32 confOffset;
+ u32 numStrings;
+ u32 confOffset;
u32 floodOffset;
};