You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return hud::hash_64<u64> {}(static_cast<u64>(ptr >> 4)); // 4 lowest bits in 64 bits are likely zero, ignore them
409
405
}
410
406
}
@@ -426,7 +422,7 @@ namespace hud
426
422
* A 32 bit hasher class used for hashing an arbitrary stream of bytes
427
423
* Instances of `hasher_32` usually represent state that is changed while hashing data.
428
424
* `hasher_32` provides a fairly basic interface for retrieving the generated hash.
429
-
* `hasher_32` used all functions in `hud` namespace like `hud::hash_32(const u32 value)`, `hud::hash_32(const ansichar *const value)` or `hud::combine_32(u64 a, u64 b)`.
425
+
* `hasher_32` used all functions in `hud` namespace like `hud::hash_32(const u32 value)`, `hud::hash_32(const char8 *const value)` or `hud::combine_32(u64 a, u64 b)`.
430
426
* If you want to hash a user defined type, add your `hud::hash_my_type(my_type& t)` function and just call `hasher_32::operator()`
431
427
*/
432
428
classhasher_32
@@ -467,7 +463,7 @@ namespace hud
467
463
* A 64 bit hasher class used for hashing an arbitrary stream of bytes
468
464
* Instances of `hasher_64` usually represent state that is changed while hashing data.
469
465
* `hasher_64` provides a fairly basic interface for retrieving the generated hash.
470
-
* `hasher_64` used all functions in `hud` namespace like `hud::hash_64(const u32 value)`, `hud::hash_64(const ansichar *const value)` or `hud::combine_64(u64 a, u64 b)`.
466
+
* `hasher_64` used all functions in `hud` namespace like `hud::hash_64(const u32 value)`, `hud::hash_64(const char8 *const value)` or `hud::combine_64(u64 a, u64 b)`.
471
467
* If you want to hash a user defined type, add your `hud::hash_my_type(my_type& t)` function and just call `hasher_64::operator()`
0 commit comments