| 1179:ca4c6f590a08 | 1180:4c3a69b9723a | 
|---|---|
| 74 * | 74 * | 
| 75 * @param key the key, the hash shall be computed for | 75 * @param key the key, the hash shall be computed for | 
| 76 * @see cx_hash_key() | 76 * @see cx_hash_key() | 
| 77 */ | 77 */ | 
| 78 cx_attr_nonnull | 78 cx_attr_nonnull | 
| 79 cx_attr_export | |
| 79 void cx_hash_murmur(CxHashKey *key); | 80 void cx_hash_murmur(CxHashKey *key); | 
| 80 | 81 | 
| 81 /** | 82 /** | 
| 82 * Computes a hash key from a string. | 83 * Computes a hash key from a string. | 
| 83 * | 84 * | 
| 86 * @param str the string | 87 * @param str the string | 
| 87 * @return the hash key | 88 * @return the hash key | 
| 88 */ | 89 */ | 
| 89 cx_attr_nodiscard | 90 cx_attr_nodiscard | 
| 90 cx_attr_cstr_arg(1) | 91 cx_attr_cstr_arg(1) | 
| 92 cx_attr_export | |
| 91 CxHashKey cx_hash_key_str(const char *str); | 93 CxHashKey cx_hash_key_str(const char *str); | 
| 92 | 94 | 
| 93 /** | 95 /** | 
| 94 * Computes a hash key from a byte array. | 96 * Computes a hash key from a byte array. | 
| 95 * | 97 * | 
| 97 * @param len the length | 99 * @param len the length | 
| 98 * @return the hash key | 100 * @return the hash key | 
| 99 */ | 101 */ | 
| 100 cx_attr_nodiscard | 102 cx_attr_nodiscard | 
| 101 cx_attr_access_r(1, 2) | 103 cx_attr_access_r(1, 2) | 
| 104 cx_attr_export | |
| 102 CxHashKey cx_hash_key_bytes( | 105 CxHashKey cx_hash_key_bytes( | 
| 103 const unsigned char *bytes, | 106 const unsigned char *bytes, | 
| 104 size_t len | 107 size_t len | 
| 105 ); | 108 ); | 
| 106 | 109 | 
| 115 * @param len the length of object in memory | 118 * @param len the length of object in memory | 
| 116 * @return the hash key | 119 * @return the hash key | 
| 117 */ | 120 */ | 
| 118 cx_attr_nodiscard | 121 cx_attr_nodiscard | 
| 119 cx_attr_access_r(1, 2) | 122 cx_attr_access_r(1, 2) | 
| 123 cx_attr_export | |
| 120 CxHashKey cx_hash_key( | 124 CxHashKey cx_hash_key( | 
| 121 const void *obj, | 125 const void *obj, | 
| 122 size_t len | 126 size_t len | 
| 123 ); | 127 ); | 
| 124 | 128 |