1#ifndef __DCL_HASH_FUN_H__
2#define __DCL_HASH_FUN_H__ 20110303
5#include <bits/types/wint_t.h>
8#ifndef __DCL_STRING_H__
14template<
typename TYPE>
24 h = 5 * h + (wint_t) *_psz;
32 unsigned int hashKey(
const String& _str)
const
41 unsigned int hashKey(
const wchar_t* _psz)
const
50 unsigned int hashKey(
const wchar_t* _psz)
const
61 h = 5 * h + (
unsigned char) *_psz;
69 unsigned int hashKey(
const ByteString& _str)
const
78 unsigned int hashKey(
const char* _psz)
const
87 unsigned int hashKey(
const char* _psz)
const
170 return (
unsigned int) _n;
177 unsigned int hashKey(
unsigned long long _n)
const
179 return (
unsigned int) _n;
188 return (
unsigned int) (size_t) _p;
197 return (
unsigned int) (size_t) _p;
unsigned int __byte_string_hashKey(const char *_psz)
unsigned int __wide_string_hashKey(const wchar_t *_psz)
DCLCAPI size_t DCLGetNextPrimNumber(size_t _n)
unsigned int hashKey(const ByteString &_str) const
unsigned int hashKey(const String &_str) const
unsigned int hashKey(char _c) const
unsigned int hashKey(const char *_psz) const
unsigned int hashKey(const char *_psz) const
unsigned int hashKey(const void *_p) const
unsigned int hashKey(const wchar_t *_psz) const
unsigned int hashKey(int _n) const
unsigned int hashKey(long _n) const
unsigned int hashKey(long long _n) const
unsigned int hashKey(short _n) const
unsigned int hashKey(unsigned char _c) const
unsigned int hashKey(unsigned int _n) const
unsigned int hashKey(unsigned long _n) const
unsigned int hashKey(unsigned long long _n) const
unsigned int hashKey(unsigned short _n) const
unsigned int hashKey(void *_p) const
unsigned int hashKey(const wchar_t *_psz) const