Home
last modified time | relevance | path

Searched defs:HashMapHasherDefault (Results 1 – 4 of 4) sorted by relevance

/dports/devel/godot/godot-3.2.3-stable/core/
H A Dhashfuncs.h135 struct HashMapHasherDefault { struct
137 static _FORCE_INLINE_ uint32_t hash(const String &p_string) { return p_string.hash(); } in hash()
138 static _FORCE_INLINE_ uint32_t hash(const char *p_cstr) { return hash_djb2(p_cstr); } in hash()
144 static _FORCE_INLINE_ uint32_t hash(const uint32_t p_int) { return p_int; } in hash()
145 static _FORCE_INLINE_ uint32_t hash(const int32_t p_int) { return (uint32_t)p_int; } in hash()
146 static _FORCE_INLINE_ uint32_t hash(const uint16_t p_int) { return p_int; } in hash()
147 static _FORCE_INLINE_ uint32_t hash(const int16_t p_int) { return (uint32_t)p_int; } in hash()
148 static _FORCE_INLINE_ uint32_t hash(const uint8_t p_int) { return p_int; } in hash()
149 static _FORCE_INLINE_ uint32_t hash(const int8_t p_int) { return (uint32_t)p_int; } in hash()
150 static _FORCE_INLINE_ uint32_t hash(const wchar_t p_wchar) { return (uint32_t)p_wchar; } in hash()
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/core/
H A Dhashfuncs.h135 struct HashMapHasherDefault { struct
137 static _FORCE_INLINE_ uint32_t hash(const String &p_string) { return p_string.hash(); } in hash()
138 static _FORCE_INLINE_ uint32_t hash(const char *p_cstr) { return hash_djb2(p_cstr); } in hash()
144 static _FORCE_INLINE_ uint32_t hash(const uint32_t p_int) { return p_int; } in hash()
145 static _FORCE_INLINE_ uint32_t hash(const int32_t p_int) { return (uint32_t)p_int; } in hash()
146 static _FORCE_INLINE_ uint32_t hash(const uint16_t p_int) { return p_int; } in hash()
147 static _FORCE_INLINE_ uint32_t hash(const int16_t p_int) { return (uint32_t)p_int; } in hash()
148 static _FORCE_INLINE_ uint32_t hash(const uint8_t p_int) { return p_int; } in hash()
149 static _FORCE_INLINE_ uint32_t hash(const int8_t p_int) { return (uint32_t)p_int; } in hash()
150 static _FORCE_INLINE_ uint32_t hash(const wchar_t p_wchar) { return (uint32_t)p_wchar; } in hash()
[all …]
/dports/devel/godot2/godot-2.1.6-stable/core/
H A Dhash_map.h39 struct HashMapHasherDefault { struct
40 static _FORCE_INLINE_ uint32_t hash(const String &p_string) { return p_string.hash(); } in hash()
41 static _FORCE_INLINE_ uint32_t hash(const char *p_cstr) { return hash_djb2(p_cstr); } in hash()
44 static _FORCE_INLINE_ uint32_t hash(const int64_t p_int) { return hash(uint64_t(p_int)); } in hash()
47 static _FORCE_INLINE_ uint32_t hash(const uint32_t p_int) { return p_int; } in hash()
48 static _FORCE_INLINE_ uint32_t hash(const int32_t p_int) { return (uint32_t)p_int; } in hash()
49 static _FORCE_INLINE_ uint32_t hash(const uint16_t p_int) { return p_int; } in hash()
50 static _FORCE_INLINE_ uint32_t hash(const int16_t p_int) { return (uint32_t)p_int; } in hash()
51 static _FORCE_INLINE_ uint32_t hash(const uint8_t p_int) { return p_int; } in hash()
52 static _FORCE_INLINE_ uint32_t hash(const int8_t p_int) { return (uint32_t)p_int; } in hash()
[all …]
/dports/devel/godot2-tools/godot-2.1.6-stable/core/
H A Dhash_map.h39 struct HashMapHasherDefault { struct
40 static _FORCE_INLINE_ uint32_t hash(const String &p_string) { return p_string.hash(); } in hash()
41 static _FORCE_INLINE_ uint32_t hash(const char *p_cstr) { return hash_djb2(p_cstr); } in hash()
44 static _FORCE_INLINE_ uint32_t hash(const int64_t p_int) { return hash(uint64_t(p_int)); } in hash()
47 static _FORCE_INLINE_ uint32_t hash(const uint32_t p_int) { return p_int; } in hash()
48 static _FORCE_INLINE_ uint32_t hash(const int32_t p_int) { return (uint32_t)p_int; } in hash()
49 static _FORCE_INLINE_ uint32_t hash(const uint16_t p_int) { return p_int; } in hash()
50 static _FORCE_INLINE_ uint32_t hash(const int16_t p_int) { return (uint32_t)p_int; } in hash()
51 static _FORCE_INLINE_ uint32_t hash(const uint8_t p_int) { return p_int; } in hash()
52 static _FORCE_INLINE_ uint32_t hash(const int8_t p_int) { return (uint32_t)p_int; } in hash()
[all …]