ATLAS Offline Software
Functions
hash-pointer.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 pointer_hash (void *location)
 Generate a hash key for a pointer. More...
 

Detailed Description

Hash function for a generic (void) pointer. See pointer_hash.

Definition in file hash-pointer.h.

Function Documentation

◆ pointer_hash()

unsigned long pointer_hash ( void *  location)

Generate a hash key for a pointer.

The value pointed at by the pointer is not used, only the pointer itself.

Parameters
locationThe pointer
Returns
A hash key for the pointer.