Documentation ¶
Overview ¶
Package hash provides the hashing functionality
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombineHashes ¶
CombineHashes combines two hashes and return a new one
Types ¶
type IHashable ¶
type IHashable interface { // Returns a 32 bit hash of the the entity which implements it. // The hash should be constant to the life time of the implementor. Hash() uint32 }
IHashable is the interface types which allows expressions to have a hash value that doesn't change through out their life time. The origin of each expression can be checked by comparing their hashes. Basically two expressions with the same hash consider to be the same.
Click to show internal directories.
Click to hide internal directories.