diff options
author | Ivan Blinkov <ivan@blinkov.ru> | 2022-02-10 16:47:11 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:11 +0300 |
commit | 5b283123c882433dafbaf6b338adeea16c1a0ea0 (patch) | |
tree | 339adc63bce23800021202ae4a8328a843dc447a /contrib/libs/hyperscan/src/nfa/mcclellan_internal.h | |
parent | 1aeb9a455974457866f78722ad98114bafc84e8a (diff) | |
download | ydb-5b283123c882433dafbaf6b338adeea16c1a0ea0.tar.gz |
Restoring authorship annotation for Ivan Blinkov <ivan@blinkov.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/hyperscan/src/nfa/mcclellan_internal.h')
-rw-r--r-- | contrib/libs/hyperscan/src/nfa/mcclellan_internal.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/contrib/libs/hyperscan/src/nfa/mcclellan_internal.h b/contrib/libs/hyperscan/src/nfa/mcclellan_internal.h index c2571a0468..482fdb1bc9 100644 --- a/contrib/libs/hyperscan/src/nfa/mcclellan_internal.h +++ b/contrib/libs/hyperscan/src/nfa/mcclellan_internal.h @@ -81,18 +81,18 @@ struct mcclellan { u16 start_floating; /**< floating start state */ u32 aux_offset; /**< offset of the aux structures relative to the start of * the nfa structure */ - u32 sherman_offset; /**< offset of array of sherman state offsets the - * state_info structures relative to the start of the - * nfa structure */ - u32 sherman_end; /**< offset of the end of the state_info structures - * relative to the start of the nfa structure */ + u32 sherman_offset; /**< offset of array of sherman state offsets the + * state_info structures relative to the start of the + * nfa structure */ + u32 sherman_end; /**< offset of the end of the state_info structures + * relative to the start of the nfa structure */ u16 accel_limit_8; /**< 8 bit, lowest accelerable state */ u16 accept_limit_8; /**< 8 bit, lowest accept state */ u16 sherman_limit; /**< lowest sherman state */ u16 wide_limit; /**< 8/16 bit, lowest wide head state */ u8 alphaShift; u8 flags; - u8 has_accel; /**< 1 iff there are any accel plans */ + u8 has_accel; /**< 1 iff there are any accel plans */ u8 has_wide; /**< 1 iff there exists any wide state */ u8 remap[256]; /**< remaps characters to a smaller alphabet */ ReportID arb_report; /**< one of the accepts that this dfa may raise */ @@ -104,8 +104,8 @@ struct mcclellan { static really_inline const char *findShermanState(UNUSED const struct mcclellan *m, - const char *sherman_base_offset, u32 sherman_base, - u32 s) { + const char *sherman_base_offset, u32 sherman_base, + u32 s) { const char *rv = sherman_base_offset + SHERMAN_FIXED_SIZE * (s - sherman_base); assert(rv < (const char *)m + m->length - sizeof(struct NFA)); @@ -116,7 +116,7 @@ const char *findShermanState(UNUSED const struct mcclellan *m, static really_inline char *findMutableShermanState(char *sherman_base_offset, u16 sherman_base, - u32 s) { + u32 s) { return sherman_base_offset + SHERMAN_FIXED_SIZE * (s - sherman_base); } |