Support Forum G3D Web Page |
G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License. More...
Classes | |
struct | HashTrait< T > |
Must be specialized for custom types. More... | |
struct | HashTrait< G3D::int16 > |
struct | HashTrait< G3D::int32 > |
struct | HashTrait< G3D::int64 > |
struct | HashTrait< G3D::String > |
struct | HashTrait< G3D::uint128 > |
struct | HashTrait< G3D::uint16 > |
struct | HashTrait< G3D::uint32 > |
struct | HashTrait< G3D::uint64 > |
struct | HashTrait< long unsigned int > |
struct | HashTrait< std::shared_ptr< T > > |
struct | HashTrait< std::thread::id > |
struct | HashTrait< std::type_info *const > |
For use with. More... | |
struct | HashTrait< T * > |
Namespaces | |
G3D | |
Macros | |
#define | G3D_base_HashTrait_h |
#define | get16bits(d) (*((const uint16_t *) (d))) |
Functions | |
uint32_t | G3D::superFastHash (const void *_data, size_t numBytes) |
A hash function that is faster than CRC32 for arbitrary long strings. More... | |
uint32_t | G3D::wangHash6432Shift (int64 key) |
Thomas Wang's 64-to-32-bit mix hash based on Robert Jenkin's hash http://www.concentric.net/~ttwang/tech/inthash.htm More... | |
G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License.
#define G3D_base_HashTrait_h |
#define get16bits | ( | d | ) | (*((const uint16_t *) (d))) |
Referenced by G3D::superFastHash().