diff options
author | Ivan Blinkov <ivan@blinkov.ru> | 2022-02-10 16:47:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:10 +0300 |
commit | 1aeb9a455974457866f78722ad98114bafc84e8a (patch) | |
tree | e4340eaf1668684d83a0a58c36947c5def5350ad /contrib/libs/hyperscan/src/rose/rose_build_dump.h | |
parent | bd5ef432f5cfb1e18851381329d94665a4c22470 (diff) | |
download | ydb-1aeb9a455974457866f78722ad98114bafc84e8a.tar.gz |
Restoring authorship annotation for Ivan Blinkov <ivan@blinkov.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/hyperscan/src/rose/rose_build_dump.h')
-rw-r--r-- | contrib/libs/hyperscan/src/rose/rose_build_dump.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/contrib/libs/hyperscan/src/rose/rose_build_dump.h b/contrib/libs/hyperscan/src/rose/rose_build_dump.h index d4c620a3e6..0c92a23cc3 100644 --- a/contrib/libs/hyperscan/src/rose/rose_build_dump.h +++ b/contrib/libs/hyperscan/src/rose/rose_build_dump.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: @@ -29,53 +29,53 @@ #ifndef ROSE_BUILD_DUMP_H #define ROSE_BUILD_DUMP_H -#include "ue2common.h" - -#include <map> -#include <string> -#include <vector> - +#include "ue2common.h" + +#include <map> +#include <string> +#include <vector> + struct RoseEngine; namespace ue2 { -class RoseBuildImpl; +class RoseBuildImpl; struct Grey; -struct hwlmLiteral; -struct LitFragment; -struct left_id; -struct suffix_id; +struct hwlmLiteral; +struct LitFragment; +struct left_id; +struct suffix_id; #ifdef DUMP_SUPPORT // Dump the Rose graph in graphviz representation. -void dumpRoseGraph(const RoseBuildImpl &build, const char *filename); - -void dumpRose(const RoseBuildImpl &build, - const std::vector<LitFragment> &fragments, - const std::map<left_id, u32> &leftfix_queue_map, - const std::map<suffix_id, u32> &suffix_queue_map, - const RoseEngine *t); - -void dumpMatcherLiterals(const std::vector<hwlmLiteral> &lits, - const std::string &name, const Grey &grey); - +void dumpRoseGraph(const RoseBuildImpl &build, const char *filename); + +void dumpRose(const RoseBuildImpl &build, + const std::vector<LitFragment> &fragments, + const std::map<left_id, u32> &leftfix_queue_map, + const std::map<suffix_id, u32> &suffix_queue_map, + const RoseEngine *t); + +void dumpMatcherLiterals(const std::vector<hwlmLiteral> &lits, + const std::string &name, const Grey &grey); + #else static UNUSED -void dumpRoseGraph(const RoseBuildImpl &, const char *) { -} - -static UNUSED -void dumpRose(const RoseBuildImpl &, const std::vector<LitFragment> &, - const std::map<left_id, u32> &, const std::map<suffix_id, u32> &, - const RoseEngine *) { +void dumpRoseGraph(const RoseBuildImpl &, const char *) { } static UNUSED -void dumpMatcherLiterals(const std::vector<hwlmLiteral> &, const std::string &, - const Grey &) { +void dumpRose(const RoseBuildImpl &, const std::vector<LitFragment> &, + const std::map<left_id, u32> &, const std::map<suffix_id, u32> &, + const RoseEngine *) { } +static UNUSED +void dumpMatcherLiterals(const std::vector<hwlmLiteral> &, const std::string &, + const Grey &) { +} + #endif } // namespace ue2 |