tclHash.c File Reference#include "tclInt.h"
Go to the source code of this file.
Define Documentation
#define RANDOM_INDEX |
( |
tablePtr, |
|
|
i |
|
) |
(((((long) (i))*1103515245) >> (tablePtr)->downShift) & (tablePtr)->mask) |
#define REBUILD_MULTIPLIER 3 |
Function Documentation
Definition at line 260 of file tclHash.c.
References Tcl_HashKeyType::allocEntryProc, Tcl_HashTable::buckets, ckalloc, Tcl_HashEntry::clientData, Tcl_HashKeyType::compareKeysProc, Tcl_HashKeyType::flags, Tcl_HashEntry::hash, Tcl_HashKeyType::hashKeyProc, Tcl_HashEntry::key, Tcl_HashTable::keyType, Tcl_HashTable::mask, Tcl_HashEntry::nextPtr, Tcl_HashTable::numEntries, Tcl_HashEntry::oneWordValue, PTR2UINT, RANDOM_INDEX, Tcl_HashTable::rebuildSize, Tcl_HashEntry::tablePtr, TCL_CUSTOM_PTR_KEYS, TCL_CUSTOM_TYPE_KEYS, TCL_HASH_KEY_RANDOMIZE_HASH, TCL_ONE_WORD_KEYS, TCL_STRING_KEYS, tclArrayHashKeyType, tclOneWordHashKeyType, tclStringHashKeyType, Tcl_HashTable::typePtr, UINT2PTR, and VOID.
Definition at line 391 of file tclHash.c.
References Tcl_HashTable::buckets, Tcl_HashKeyType::flags, Tcl_HashEntry::hash, Tcl_HashKeyType::hashKeyProc, Tcl_HashTable::keyType, Tcl_HashTable::mask, Tcl_HashEntry::nextPtr, PTR2UINT, RANDOM_INDEX, Tcl_HashEntry::tablePtr, TCL_CUSTOM_PTR_KEYS, TCL_CUSTOM_TYPE_KEYS, TCL_HASH_KEY_RANDOMIZE_HASH, TCL_ONE_WORD_KEYS, Tcl_Panic(), TCL_STRING_KEYS, tclArrayHashKeyType, tclOneWordHashKeyType, tclStringHashKeyType, and Tcl_HashTable::typePtr.
Referenced by Tcl_ArrayObjCmd(), Tcl_DbDecrRefCount(), Tcl_DeleteAssocData(), Tcl_DeleteCommandFromToken(), Tcl_DeleteNamespace(), Tcl_DontCallWhenDeleted(), Tcl_ExposeCommand(), Tcl_HideCommand(), Tcl_PackageObjCmd(), TclDeleteNamespaceVars(), TclProcCleanupProc(), TclRegisterAuxDataType(), TclRenameCommand(), and TclTeardownNamespace().
Definition at line 545 of file tclHash.c.
References Tcl_HashSearch::nextEntryPtr, Tcl_HashSearch::nextIndex, Tcl_HashSearch::tablePtr, and Tcl_NextHashEntry().
Referenced by PkguaFreeTokensHashTable(), Tcl_AppendAllObjTypes(), Tcl_DontCallWhenDeleted(), Tcl_ForgetImport(), Tcl_GetChannelNamesEx(), Tcl_GetEncodingNames(), Tcl_Import(), Tcl_InterpObjCmd(), Tcl_ListMathFuncs(), Tcl_PackageObjCmd(), TclFinalizeEncodingSubsystem(), TclFreePackageInfo(), TclRemoveScriptLimitCallbacks(), and TclTeardownNamespace().
Definition at line 618 of file tclHash.c.
References Tcl_HashTable::buckets, Tcl_HashTable::keyType, Tcl_HashEntry::nextPtr, NUM_COUNTERS, Tcl_HashTable::numBuckets, Tcl_HashTable::numEntries, TCL_CUSTOM_PTR_KEYS, TCL_CUSTOM_TYPE_KEYS, TCL_ONE_WORD_KEYS, TCL_STRING_KEYS, tclArrayHashKeyType, tclOneWordHashKeyType, tclStringHashKeyType, and Tcl_HashTable::typePtr.
Referenced by Tcl_ArrayObjCmd().
void Tcl_InitHashTable |
( |
register Tcl_HashTable * |
tablePtr, |
|
|
int |
keyType | |
|
) |
| | |
Variable Documentation
Generated on Wed Mar 12 12:18:30 2008 by
1.5.1
|