mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
AK: Rename double_hash to rehash_for_collision
The name is currently quite confusing as it indicates it hashes doubles.
This commit is contained in:
parent
dbc04bbf1b
commit
4f5353cbb8
3 changed files with 8 additions and 8 deletions
|
@ -19,7 +19,7 @@ constexpr unsigned int_hash(u32 key)
|
|||
return key;
|
||||
}
|
||||
|
||||
constexpr unsigned double_hash(u32 key)
|
||||
constexpr unsigned rehash_for_collision(u32 key)
|
||||
{
|
||||
unsigned const magic = 0xBA5EDB01;
|
||||
if (key == magic)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue