// These three functions provide an wrappers around MurmurHash3 // for common use cases. // In particular, they deal with taking the output of MurmurHash3, // and transforming it into an Int which fits into a GAP // immediate integer. // The 'seed' parameter sets the initial seed of the hash, different // values (should) produce different hash values.
// Hash a block of memory Int HASHKEY_MEM_NC(constvoid * ptr, UInt4 seed, Int read);
// Hash an entire bag Int HASHKEY_WHOLE_BAG_NC(Obj obj, UInt4 seed);
// Hash a bag starting at position 'skip', reading 'read' bytes. // Does NOT perform bounds checking Int HASHKEY_BAG_NC(Obj obj, UInt4 seed, Int skip, int read);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.