ATLAS Offline Software
Functions
hash-string.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

unsigned long string_hash (void *string)
 Generate a hash key from a string. More...
 
unsigned long string_nocase_hash (void *string)
 Generate a hash key from a string, ignoring the case of letters. More...
 

Detailed Description

Hash functions for text strings. For more information see string_hash or string_nocase_hash.

Definition in file hash-string.h.

Function Documentation

◆ string_hash()

unsigned long string_hash ( void *  string)

Generate a hash key from a string.

Parameters
stringThe string.
Returns
A hash key for the string.

◆ string_nocase_hash()

unsigned long string_nocase_hash ( void *  string)

Generate a hash key from a string, ignoring the case of letters.

Parameters
stringThe string.
Returns
A hash key for the string.