src/cx/hash_key.h

changeset 604
056e5f592d84
parent 603
c49104015a6b
child 628
1e2be40f0cb5
     1.1 --- a/src/cx/hash_key.h	Sun Nov 06 14:46:59 2022 +0100
     1.2 +++ b/src/cx/hash_key.h	Sun Nov 06 16:07:32 2022 +0100
     1.3 @@ -69,11 +69,13 @@
     1.4  typedef struct cx_hash_key_s CxHashKey;
     1.5  
     1.6  /**
     1.7 - * Computes a murmur hash-2.
     1.8 + * Computes a murmur2 32 bit hash.
     1.9   *
    1.10 - * You need to initialize data and len in the key struct.
    1.11 + * You need to initialize \c data and \c len in the key struct.
    1.12   * The hash is then directly written to that struct.
    1.13   *
    1.14 + * \note If \c data is \c NULL, the hash is defined as 1574210520.
    1.15 + *
    1.16   * @param key the key, the hash shall be computed for
    1.17   */
    1.18  void cx_hash_murmur(CxHashKey *key);

mercurial