![]() |
Qt 6.x
The Qt SDK
|
#include <qstringhash_p.h>
Classes | |
struct | IteratorData |
Public Types | |
enum | { MinNumBits = 4 } |
Public Member Functions | |
QStringHashData ()=default | |
~QStringHashData ()=default | |
void | rehashToBits (short bits) |
void | rehashToSize (int size) |
void | rehashNode (QStringHashNode **newBuckets, int nb, QStringHashNode *node) |
Public Attributes | |
QStringHashNode ** | buckets = nullptr |
int | numBuckets = 0 |
int | size = 0 |
short | numBits = 0 |
Definition at line 144 of file qstringhash_p.h.
anonymous enum |
Enumerator | |
---|---|
MinNumBits |
Definition at line 155 of file qstringhash_p.h.
|
default |
|
default |
|
inline |
Definition at line 207 of file qstringhash_p.h.
References QTaggedPointer< T, Tag >::data(), QStringHashNode::hash, next, QStringHashNode::next, and rehashNode().
Referenced by rehashNode(), and rehashToBits().
|
inline |
Definition at line 173 of file qstringhash_p.h.
References buckets, i, MinNumBits, numBits, numBuckets, qMax(), qPrimeForNumBits(), and rehashNode().
Referenced by rehashToSize().
|
inline |
Definition at line 197 of file qstringhash_p.h.
References MinNumBits, numBits, qMax(), qPrimeForNumBits(), and rehashToBits().
QStringHashNode** QStringHashData::buckets = nullptr |
Definition at line 157 of file qstringhash_p.h.
Referenced by rehashToBits().
short QStringHashData::numBits = 0 |
Definition at line 160 of file qstringhash_p.h.
Referenced by rehashToBits(), and rehashToSize().
int QStringHashData::numBuckets = 0 |
Definition at line 158 of file qstringhash_p.h.
Referenced by rehashToBits().
int QStringHashData::size = 0 |
Definition at line 159 of file qstringhash_p.h.