mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00

* origin/topic/gilbert/rand-pool: Updating tests. Updated uid pools to use integer values instead of strings. Updating tests. Test no longer relevant. Need a way to generate and test collisions. A few minor tweaks to make code less braindead. Fixed-length piece of pool name now only used to hash when determinism is not required; otherwise, whole pool name is used. Note that collisions between pool name hashes will lead to sensitivity to initialization order within the UID generator. Testing long (>32 character) pool names. Simple test to verify various pools are not affecting each other. Some working code. Adds UID pools classified by string. Just compiles and runs; need to go back through and make sure this code is actually doing what I want it to do. Note, I've removed the collision detection. Seems unlikely to occur and even if, it's not really that bad.
6 lines
83 B
Text
6 lines
83 B
Text
A-56gKBmhBBB6
|
|
B-PjbroujOxH4
|
|
C-N4zgPFAv3J
|
|
D-R8BqVlcp23e
|
|
E-duYdXg7bTa3
|
|
F-FSX5JvMaA88
|