static PRInt32 kInitialResourceTableSize = 1023; if ((mResources = PL_NewHashTable(kInitialResourceTableSize, HashPointer, PL_CompareValues, PL_CompareValues, nsnull, nsnull)) == nsnull) { NS_ERROR("could not create hash table for resources"); }
MOZ_COUNT_CTOR(nsElementMap);   static const size_t kBucketSizes[] = { sizeof(PLHashEntry), sizeof(ContentListItem) };  static const PRInt32 kNumBuckets = sizeof(kBucketSizes) / sizeof(size_t);  static const PRInt32 kInitialNumElements = 64;   static const PRInt32 kInitialPoolSize = 512;  mPool.Init("nsElementMap", kBucketSizes, kNumBuckets, kInitialPoolSize);  mMap = PL_NewHashTable(kInitialNumElements, Hash, Compare, PL_CompareValues, &gAllocOps, &mPool);  NS_ASSERTION(mMap != nsnull, "could not create hash table for resources");  #ifdef PR_LOGGING if (! gMapLog) gMapLog = PR_NewLogModule("nsElementMap");   PR_LOG(gMapLog, PR_LOG_ALWAYS, ("xulelemap(%p) created", this)); #endif
nsElementMap::nsElementMap(){    // Create a table for mapping RDF resources to elements in the    // content tree.    static PRInt32 kInitialResourceTableSize = 1023;    if ((mResources = PL_NewHashTable(kInitialResourceTableSize,                                      HashPointer,                                      PL_CompareValues,                                      PL_CompareValues,                                      nsnull,                                      nsnull)) == nsnull) {        NS_ERROR("could not create hash table for resources");    }}