42 static const unsigned int InitialFNV = 2166136261u;
48 for (
int i = 0;
m_string1.c_str()[i]; i++)
133 const bool VOID_IS_8 = ((
sizeof(
void*) == 8));
147template <
class Value>
182template <
class Value>
218template <
class Key,
class Value>
const T & btMax(const T &a, const T &b)
#define SIMD_FORCE_INLINE
The btAlignedObjectArray template class uses a subset of the stl::vector interface for its methods It...
int size() const
return the number of elements in the array
void resize(int newsize, const T &fillData=T())
void clear()
clear the array, deallocated memory. Generally it is better to use array.resize(0),...
void push_back(const T &_Val)
int capacity() const
return the pre-allocated (reserved) elements, this is at least as large as the total number of elemen...
unsigned int getHash() const
bool equals(const btHashInt &other) const
bool equals(const btHashKeyPtr< Value > &other) const
unsigned int getHash() const
unsigned int getHash() const
bool equals(const btHashKey< Value > &other) const
The btHashMap template class implements a generic and lightweight hashmap.
void insert(const Key &key, const Value &value)
Key getKeyAtIndex(int index)
void growTables(const Key &)
Value * operator[](const Key &key)
int findIndex(const Key &key) const
const Key getKeyAtIndex(int index) const
Value * find(const Key &key)
void remove(const Key &key)
btAlignedObjectArray< int > m_hashTable
btAlignedObjectArray< int > m_next
const Value * getAtIndex(int index) const
btAlignedObjectArray< Key > m_keyArray
btAlignedObjectArray< Value > m_valueArray
const Value * find(const Key &key) const
Value * getAtIndex(int index)
const Value * operator[](const Key &key) const
const void * getPointer() const
btHashPtr(const void *ptr)
bool equals(const btHashPtr &other) const
unsigned int getHash() const
unsigned int m_hashValues[2]
very basic hashable string implementation, compatible with btHashMap
bool equals(const btHashString &other) const
unsigned int getHash() const
btHashString(const char *name)