Home
last modified time | relevance | path

Searched refs:m_NumOfBuckets (Results 1 – 4 of 4) sorted by relevance

/frameworks/compile/mclinker/include/mcld/ADT/
DHashBase.tcc57 m_NumOfBuckets(0), in HashTableImpl()
74 m_NumOfBuckets = 0; in HashTableImpl()
99 m_NumOfBuckets = pInitSize? compute_bucket_count(pInitSize): NumOfInitBuckets; in init()
105 m_Buckets = (bucket_type*)calloc(m_NumOfBuckets, sizeof(bucket_type)); in init()
116 m_NumOfBuckets = 0; in clear()
128 if (0 == m_NumOfBuckets) { in lookUpBucketFor()
134 unsigned int index = full_hash % m_NumOfBuckets; in lookUpBucketFor()
165 if (index == m_NumOfBuckets) in lookUpBucketFor()
176 if (0 == m_NumOfBuckets) in findKey()
180 unsigned int index = full_hash % m_NumOfBuckets; in findKey()
[all …]
DHashBase.h91 { return m_NumOfBuckets; } in numOfBuckets()
129 unsigned int m_NumOfBuckets; variable
DHashIterator.h40 m_EndIndex = m_Index = m_HashValue % m_pHashTable->m_NumOfBuckets; in ChainIteratorBase()
54 if (m_Index == m_pHashTable->m_NumOfBuckets) in ChainIteratorBase()
116 if (m_Index == m_pHashTable->m_NumOfBuckets) in advance()
224 if (m_pHashTable->m_NumOfBuckets == m_Index) { // to the end in advance()
DHashTable.tcc29 for (unsigned int i=0; i < BaseTy::m_NumOfBuckets; ++i) { in ~HashTable()
46 for (unsigned int i=0; i < BaseTy::m_NumOfBuckets; ++i) { in clear()
157 return ((float)BaseTy::m_NumOfEntries/(float)BaseTy::m_NumOfBuckets); in load_factor()