MCPcopy Create free account
hub / github.com/SerenityOS/serenity / string_hash

Function string_hash

AK/StringHash.h:17–29  ·  view source on GitHub ↗

FIXME: This hashing algorithm isn't well-known and may not be good at all. We can't use SipHash since that depends on runtime parameters, but some string hashes like IPC endpoint magic numbers need to be deterministic. Maybe use a SipHash with a statically-known key?

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 13

compute_hashMethod · 0.85
hashFunction · 0.85
compute_hashMethod · 0.85
hashMethod · 0.85
hashMethod · 0.85
mask_for_keyMethod · 0.85
hashMethod · 0.85
compute_hashMethod · 0.85
hashMethod · 0.85
hashMethod · 0.85
get_inode_indexMethod · 0.85
hashMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected