mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Improvements in FNV1A hash functions
- Add FNV1a64 hash function - make hash function type aware - add unit tests
This commit is contained in:
parent
4656faed6c
commit
ee84c0c59a
9 changed files with 154 additions and 50 deletions
|
@ -252,6 +252,7 @@ static std::unordered_map<std::string, unsigned int> func_attrs = {
|
|||
{"fmt", ATTR_FOLDABLE},
|
||||
{"fmt_ftp_port", ATTR_IDEMPOTENT}, // can error
|
||||
{"fnv1a32", ATTR_FOLDABLE},
|
||||
{"fnv1a64", ATTR_FOLDABLE},
|
||||
{"generate_all_events", ATTR_NO_SCRIPT_SIDE_EFFECTS},
|
||||
{"get_broker_stats", ATTR_NO_ZEEK_SIDE_EFFECTS},
|
||||
{"get_conn_stats", ATTR_NO_ZEEK_SIDE_EFFECTS},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue