PRBool Init(PRUint32 initSize = PL_DHASH_MIN_SIZE) { return nsTHashtable<EntryType>::Init(initSize); }
nsBaseHashtable<KeyClass,DataType,UserDataType>::Init(PRUint32 initSize, PRBool   threadSafe) { if (!nsTHashtable<EntryType>::Init(initSize)) return PR_FALSE;  if (!threadSafe) { mLock = nsnull; return PR_TRUE; }  mLock = PR_NewRWLock(PR_RWLOCK_RANK_NONE, "nsBaseHashtable");  NS_WARN_IF_FALSE(mLock, "Error creating lock during nsBaseHashtable::Init()");  if (!mLock) return PR_FALSE;  return PR_TRUE; }
  PRBool Init(PRUint32 initSize = PL_DHASH_MIN_SIZE)  { return nsTHashtable<EntryType>::Init(initSize); }