RTEMS
5.1
|
Provides a 32bit Hash of a String used to Search a Directory. More...
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
uint32_t | rtems_rfs_dir_hash (const void *key, size_t length) |
Provides a 32bit Hash of a String used to Search a Directory.
RTEMS File Systems Directory Hash provides a 32bit hash of a string. This is used to search a directory.
uint32_t rtems_rfs_dir_hash | ( | const void * | key, |
size_t | length | ||
) |
Compute a hash of the key over the length of string.
[in] | key | is a pointer to the key to calculate the hash of. |
[in] | length | is the length of the key in bytes. |
hash | The computed uint32_t hash. |