hash2 overloads
Declared in <bdlb_hashutil.h>
Same as the preceding overload for the specified key type.
static
unsigned int
hash2(bsls::Types::Int64 key);
» more...
Same as the preceding overload for the specified key type.
static
unsigned int
hash2(bsls::Types::Uint64 key);
» more...
Return an unsigned integer hash value corresponding to the specified key. Note that the return value is seemingly random (i.e., the hash is good) but identical on all platforms (irrespective of endianness). Both functions hash1 and hash2 return a hash, but both hashes can be assumed to be independent (i.e., there are no known correlations between the results of both hash functions given the same input data).
static
unsigned int
hash2(char key);
» more...
Same as the preceding overload for the specified key type.
static
unsigned int
hash2(double key);
» more...
Same as the preceding overload for the specified key type.
static
unsigned int
hash2(float key);
» more...
Same as the preceding overload for the specified key type.
static
unsigned int
hash2(int key);
» more...
Same as the preceding overload for the specified key type.
static
unsigned int
hash2(long key);
» more...
Same as the preceding overload for the specified key type.
static
unsigned int
hash2(short key);
» more...
Same as the preceding overload for the specified key type.
static
unsigned int
hash2(signed char key);
» more...
Same as the preceding overload for the specified key type.
static
unsigned int
hash2(unsigned char key);
» more...
Same as the preceding overload for the specified key type.
static
unsigned int
hash2(unsigned int key);
» more...
Same as the preceding overload for the specified key type.
static
unsigned int
hash2(unsigned long key);
» more...
Same as the preceding overload for the specified key type.
static
unsigned int
hash2(unsigned short key);
» more...
Same as the preceding overload for the specified pointer key.
static
unsigned int
hash2(void const* key);
» more...
static
unsigned int
hash2(
char const* data,
int length);
» more...