Qt 4.8
|
Go to the source code of this file.
Functions | |
static int | countBits (int hint) |
static uint | hash (const uchar *p, int n) |
static uint | hash (const QChar *p, int n) |
static int | primeForNumBits (int numBits) |
uint | qHash (const QByteArray &key) |
Returns the hash value for the key. More... | |
uint | qHash (const QString &key) |
uint | qHash (const QStringRef &key) |
uint | qHash (const QBitArray &bitArray) |
Variables | |
const int | MinNumBits = 4 |
static const uchar | prime_deltas [] |
|
static |
Definition at line 68 of file qhash.cpp.
Referenced by QPatternist::XsdStateMachine< XsdSchemaToken::NodeName >::addTransition(), QMetaObject::changeGuard(), cleanup_cmaps(), QObjectPrivate::clearGuards(), convert_RGB_to_Indexed8(), digestMd5ResponseHelper(), QTranslatorPrivate::do_translate(), QResourceRoot::findNode(), QResourceRoot::findOffset(), QApplication::font(), QGLMaskTextureCache::getMask(), QPatternist::XsdParticleChecker::hasDuplicatedElements(), hasDuplicatedElementsInternal(), QDeclarativeDebugService::idForObject(), internalParticleLookupMap(), QDeclarativeDebugService::objectForId(), operator<<(), QProcessEnvironmentPrivate::OrderedMutexLocker::OrderedMutexLocker(), QApplication::palette(), QXmlStreamReaderPrivate::parse(), qEncodeHmacMd5(), qHash(), qStringFromUcs2Le(), qt_CoCreateGuid(), qt_delete_glyph_hash(), qt_fallback_font_family(), qt_gl_choose_cmap(), qt_transparent_pixel(), qt_x11_set_fallback_font_family(), QVariant::QVariant(), QMetaObject::removeGuard(), QDeclarativeWorkerScriptEnginePrivate::scriptValueToVariant(), QTextControl::setExtraSelections(), QApplication::setFont(), QApplicationPrivate::setPalette_helper(), QPatternist::XsdSchemaContext::setupBuiltinTypesFacetList(), QNetworkDiskCachePrivate::uniqueFileName(), unregWinClasses(), QPropertyAnimation::updateState(), QPatternist::TokenLookup::value(), and QDeclarativeWorkerScriptEnginePrivate::variantToScriptValue().
|
inlinestatic |
uint qHash | ( | const QByteArray & | key | ) |
Returns the hash value for the key.
Definition at line 92 of file qhash.cpp.
Definition at line 97 of file qhash.cpp.
Referenced by qHash().
uint qHash | ( | const QStringRef & | key | ) |
Definition at line 102 of file qhash.cpp.
Definition at line 107 of file qhash.cpp.
const int MinNumBits = 4 |
Definition at line 166 of file qhash.cpp.
Referenced by QHashData::rehash().
|
static |
Definition at line 130 of file qhash.cpp.
Referenced by countBits(), and primeForNumBits().