unreachable values for CityHash32 and CityHash64

55 views
Skip to first unread message

rom...@gmail.com

unread,
Jun 17, 2014, 8:35:13 AM6/17/14
to cityhash...@googlegroups.com
Hi,

I need at least 2 uint32 and uint64 values that can not be produced by CityHashXX functions.

The reason for that is that I would like to use them for dense_hash_set data structure that requires 2 special values for marking its state.

Do you know of such values?

Thanks!

rom...@gmail.com

unread,
Jun 17, 2014, 8:52:25 AM6/17/14
to cityhash...@googlegroups.com, rom...@gmail.com
Update: if applying CityHash32 on 4 byte value described by integer 1005356300 (stored as little endian)
we get 0. So 0 is reachable.

Jyrki Alakuijala

unread,
Jun 17, 2014, 8:52:55 AM6/17/14
to cityhash...@googlegroups.com
there are no reserved values
Reply all
Reply to author
Forward
0 new messages