mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-20 19:06:39 +03:00
introduce Sheng-McClellan hybrid
This commit is contained in:
@@ -71,17 +71,17 @@ 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 to 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 */
|
||||
u8 alphaShift;
|
||||
u8 flags;
|
||||
u8 has_accel; /**< 1 iff there are any accel planes */
|
||||
u8 has_accel; /**< 1 iff there are any accel plans */
|
||||
u8 remap[256]; /**< remaps characters to a smaller alphabet */
|
||||
ReportID arb_report; /**< one of the accepts that this dfa may raise */
|
||||
u32 accel_offset; /**< offset of the accel structures from start of NFA */
|
||||
|
||||
Reference in New Issue
Block a user