MOS Source Code
Loading...
Searching...
No Matches
hashmap_common.c File Reference
+ Include dependency graph for hashmap_common.c:

Go to the source code of this file.

Functions

static hash_t __pure string_hash (const char *s, const int n)
 
hash_t __pure hashmap_hash_string (uintn key)
 
int __pure hashmap_compare_string (uintn key1, uintn key2)
 
int __pure hashmap_simple_key_compare (uintn key1, uintn key2)
 
hash_t hashmap_identity_hash (uintn key)
 

Function Documentation

◆ string_hash()

static hash_t __pure string_hash ( const char * s,
const int n )
static

Definition at line 7 of file hashmap_common.c.

Referenced by hashmap_hash_string().