ConflictSet::Init() { static const size_t kBucketSizes[] = { sizeof(ClusterEntry), sizeof(SupportEntry), sizeof(BindingEntry), MatchSet::kEntrySize, MatchSet::kIndexSize };  static const PRInt32 kNumBuckets = sizeof(kBucketSizes) / sizeof(size_t);  static const PRInt32 kNumResourceElements = 64;   static const PRInt32 kInitialSize = 256;  mPool.Init("ConflictSet", kBucketSizes, kNumBuckets, kInitialSize);  mClusters = PL_NewHashTable(kNumResourceElements , ClusterKey::HashClusterKey, ClusterKey::CompareClusterKeys, PL_CompareValues, &gClusterAllocOps, &mPool);  mSupport = PL_NewHashTable(kNumResourceElements,  HashMemoryElement, CompareMemoryElements, PL_CompareValues, &gSupportAllocOps, &mPool);  mBindingDependencies = PL_NewHashTable(kNumResourceElements , HashBindingElement, CompareBindingElements, PL_CompareValues, &gBindingAllocOps, &mPool);  return NS_OK; }
Init() { PL_DHashTableInit(&mTable, PL_DHashGetStubOps(), nsnull, sizeof(Entry), PL_DHASH_MIN_SIZE); }
ConflictSet::Init(){    static const size_t kBucketSizes[] = {        sizeof(ClusterEntry),        sizeof(SupportEntry),        sizeof(BindingEntry),        MatchSet::kEntrySize,        MatchSet::kIndexSize    };    static const PRInt32 kNumBuckets = sizeof(kBucketSizes) / sizeof(size_t);    static const PRInt32 kNumResourceElements = 64;    // Per news://news.mozilla.org/39BEC105.5090206%40netscape.com    static const PRInt32 kInitialSize = 256;    mPool.Init("ConflictSet", kBucketSizes, kNumBuckets, kInitialSize);    mClusters =        PL_NewHashTable(kNumResourceElements /* XXXwaterson we need a way to give a hint? */,                        ClusterKey::HashClusterKey,                        ClusterKey::CompareClusterKeys,                        PL_CompareValues,                        &gClusterAllocOps,                        &mPool);    mSupport =        PL_NewHashTable(kNumResourceElements, /* XXXwaterson need hint */                        HashMemoryElement,                        CompareMemoryElements,                        PL_CompareValues,                        &gSupportAllocOps,                        &mPool);    mBindingDependencies =        PL_NewHashTable(kNumResourceElements /* XXX arbitrary */,                        HashBindingElement,                        CompareBindingElements,                        PL_CompareValues,                        &gBindingAllocOps,                        &mPool);    return NS_OK;}