mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-01 03:57:43 +03:00
misc: docs, typo fixes, small cleanups
This commit is contained in:
committed by
Chang, Harry
parent
ea9d1f69fb
commit
ce7cfbde82
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015-2017, Intel Corporation
|
||||
* Copyright (c) 2015-2018, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -374,7 +374,7 @@ unique_ptr<GoughGraph> makeCFG(const raw_som_dfa &raw) {
|
||||
}
|
||||
|
||||
u16 top_sym = raw.alpha_remap[TOP];
|
||||
DEBUG_PRINTF("top: %hu, kind %d\n", top_sym, raw.kind);
|
||||
DEBUG_PRINTF("top: %hu, kind %s\n", top_sym, to_string(raw.kind).c_str());
|
||||
|
||||
/* create edges, JOIN variables (on edge targets) */
|
||||
map<dstate_id_t, GoughEdge> seen;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015-2016, Intel Corporation
|
||||
* Copyright (c) 2015-2018, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -84,7 +84,7 @@ struct mcclellan {
|
||||
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 */
|
||||
u32 accel_offset; /**< offset of accel structures from start of McClellan */
|
||||
u32 haig_offset; /**< reserved for use by Haig, relative to start of NFA */
|
||||
};
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016, Intel Corporation
|
||||
* Copyright (c) 2016-2018, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -84,7 +84,7 @@ struct mcsheng {
|
||||
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 */
|
||||
u32 accel_offset; /**< offset of accel structures from start of McClellan */
|
||||
m128 sheng_masks[N_CHARS];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user