OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:IntHash
(Results
1 - 3
of
3
) sorted by null
/external/webkit/Source/WebCore/platform/graphics/
IntRectHash.h
37
template<> struct
IntHash
<WebCore::IntRect> {
40
return
intHash
(static_cast<uint64_t>(DefaultHash<WebCore::IntPoint>::Hash::hash(key.location())) << 32 | DefaultHash<WebCore::IntSize>::Hash::hash(key.size()));
48
template<> struct DefaultHash<WebCore::IntRect> { typedef
IntHash
<WebCore::IntRect> Hash; };
IntSizeHash.h
29
template<> struct
IntHash
<WebCore::IntSize> {
30
static unsigned hash(const WebCore::IntSize& key) { return
intHash
((static_cast<uint64_t>(key.width()) << 32 | key.height())); }
34
template<> struct DefaultHash<WebCore::IntSize> { typedef
IntHash
<WebCore::IntSize> Hash; };
/external/webkit/Source/JavaScriptCore/wtf/
HashFunctions.h
37
// Thomas Wang's 32 Bit Mix Function: http://www.cris.com/~Ttwang/tech/
inthash
.htm
38
inline unsigned
intHash
(uint8_t key8)
50
// Thomas Wang's 32 Bit Mix Function: http://www.cris.com/~Ttwang/tech/
inthash
.htm
51
inline unsigned
intHash
(uint16_t key16)
63
// Thomas Wang's 32 Bit Mix Function: http://www.cris.com/~Ttwang/tech/
inthash
.htm
64
inline unsigned
intHash
(uint32_t key)
75
// Thomas Wang's 64 bit Mix Function: http://www.cris.com/~Ttwang/tech/
inthash
.htm
76
inline unsigned
intHash
(uint64_t key)
89
template<typename T> struct
IntHash
{
90
static unsigned hash(T key) { return
intHash
(static_cast<typename IntTypes<sizeof(T)>::UnsignedType>(key));
[
all
...]
Completed in 55 milliseconds