Home
last modified time | relevance | path

Searched refs:m_Heap (Results 1 – 20 of 20) sorted by relevance

/dports/games/0ad/0ad-0.0.23b-alpha/source/simulation2/helpers/
H A DPriorityQueue.h76 m_Heap.push_back(item); in push()
77 push_heap(m_Heap.begin(), m_Heap.end(), QueueItemPriority<Item, CMP>()); in push()
85 if (m_Heap[n].id == id) in promote()
91 m_Heap[n].h = newh; in promote()
101 ENSURE(m_Heap.size()); in pop()
103 Item r = m_Heap[0]; in pop()
104 pop_heap(m_Heap.begin(), m_Heap.end(), QueueItemPriority<Item, CMP>()); in pop()
105 m_Heap.pop_back(); in pop()
111 return m_Heap.empty(); in empty()
116 return m_Heap.size(); in size()
[all …]
/dports/graphics/povray37/povray-3.7.0.10/windows/
H A Dpvmem.h159 if (m_Heap == NULL) in WinHeap()
174 if (m_Heap != NULL) in ~WinHeap()
177 HeapDestroy(m_Heap); in ~WinHeap()
184 … bool Validate(const void *p = NULL) const { return m_Heap != NULL && HeapValidate(m_Heap, 0, p); }
219 if (m_Heap == NULL)
229 HANDLE m_Heap; variable
266 return m_Heap->Alloc(len + size); in new()
273 m_Heap->Free(p); in delete()
287 if (m_Heap->Validate(this) == false)
298 size_t len = m_Heap->BlockSize(this); in Size()
[all …]
H A Dpvmem.cpp74 WinHeap *WinMemBlock::m_Heap = NULL; member in povwin::WinMemBlock
/dports/graphics/apngasm/apngasm-2.91/7z/
H A DHuffmanEncoder.cc16 m_Heap = new UINT32[m_HeapSize]; in CEncoder()
23 delete []m_Heap; in ~CEncoder()
47 UINT32 aTop = m_Heap[kSmallest]; in RemoveSmallest()
48 m_Heap[kSmallest] = m_Heap[m_HeapLength--]; in RemoveSmallest()
71 UINT32 aSymbol = m_Heap[k]; in DownHeap()
75 if (j < m_HeapLength && Smaller(m_Heap[j+1], m_Heap[j])) in DownHeap()
84 m_Heap[k] = aSymbol; in DownHeap()
112 UINT32 aSymbol = m_Heap[h]; in GenerateBitLen()
158 UINT32 m = m_Heap[--h]; in GenerateBitLen()
265 m_Heap[--aHeapMax] = m; in BuildTree()
[all …]
H A DHuffmanEncoder.h22 UINT32 *m_Heap; variable
/dports/archivers/advancecomp/advancecomp-2.1-6-g7b08f7a/7z/
H A DHuffmanEncoder.cc16 m_Heap = new UINT32[m_HeapSize]; in CEncoder()
23 delete []m_Heap; in ~CEncoder()
47 UINT32 aTop = m_Heap[kSmallest]; in RemoveSmallest()
48 m_Heap[kSmallest] = m_Heap[m_HeapLength--]; in RemoveSmallest()
71 UINT32 aSymbol = m_Heap[k]; in DownHeap()
75 if (j < m_HeapLength && Smaller(m_Heap[j+1], m_Heap[j])) in DownHeap()
84 m_Heap[k] = aSymbol; in DownHeap()
112 UINT32 aSymbol = m_Heap[h]; in GenerateBitLen()
158 UINT32 m = m_Heap[--h]; in GenerateBitLen()
265 m_Heap[--aHeapMax] = m; in BuildTree()
[all …]
H A DHuffmanEncoder.h22 UINT32 *m_Heap; variable
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgUtil/tristripper/include/detail/
H A Dheap_array.h81 linked_heap m_Heap; variable
98 m_Heap.clear(); in clear()
107 return m_Heap.empty(); in empty()
121 m_Heap.reserve(Size); in reserve()
129 return m_Heap.size(); in size()
165 m_Heap.pop_back(); in pop()
203 m_Heap.pop_back(); in erase()
255 for (j = i; (j > 0) && (Less(m_Heap[(j - 1) / 2], m_Heap[j])); j = ((j - 1) / 2)) in Adjust()
260 if ((j + 1 < size()) && (Less(m_Heap[j], m_Heap[j + 1]))) in Adjust()
263 if (Less(m_Heap[j], m_Heap[i])) in Adjust()
[all …]
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgUtil/tristripper/include/detail/
H A Dheap_array.h81 linked_heap m_Heap; variable
98 m_Heap.clear(); in clear()
107 return m_Heap.empty(); in empty()
121 m_Heap.reserve(Size); in reserve()
129 return m_Heap.size(); in size()
165 m_Heap.pop_back(); in pop()
203 m_Heap.pop_back(); in erase()
255 for (j = i; (j > 0) && (Less(m_Heap[(j - 1) / 2], m_Heap[j])); j = ((j - 1) / 2)) in Adjust()
260 if ((j + 1 < size()) && (Less(m_Heap[j], m_Heap[j + 1]))) in Adjust()
263 if (Less(m_Heap[j], m_Heap[i])) in Adjust()
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Filtering/FastMarching/include/
H A DitkFastMarchingBase.hxx99 while ( !m_Heap.empty() ) in Initialize()
101 m_Heap.pop(); in Initialize()
137 while( !m_Heap.empty() ) in GenerateData()
146 NodePairType current_node_pair = m_Heap.top(); in GenerateData()
147 m_Heap.pop(); in GenerateData()
190 while( !m_Heap.empty() ) in GenerateData()
192 m_Heap.pop(); in GenerateData()
205 while( !m_Heap.empty() ) in GenerateData()
207 m_Heap.pop(); in GenerateData()
H A DitkFastMarchingBase.h242 PriorityQueueType m_Heap; variable
H A DitkFastMarchingExtensionImageFilterBase.hxx251 this->m_Heap.push( NodePairType( iNode, outputPixel ) ); in UpdateValue()
H A DitkFastMarchingQuadEdgeMeshFilterBase.hxx227 this->m_Heap.push( NodePairType( iNode, outputPixel ) ); in UpdateValue()
715 this->m_Heap.push( pointsIter->Value() ); in InitializeOutput()
H A DitkFastMarchingImageFilterBase.hxx216 this->m_Heap.push( NodePairType( iNode, outputPixel ) ); in UpdateValue()
600 this->m_Heap.push( pointsIter->Value() ); in InitializeOutput()
/dports/databases/pgrouting/pgrouting-3.2.0/include/yen/
H A Dpgr_ksp.hpp105 m_Heap.clear(); in clear()
135 if (m_Heap.empty()) break; in executeYen()
136 curr_result_path = *m_Heap.begin(); in executeYen()
139 m_Heap.erase(m_Heap.begin()); in executeYen()
185 m_Heap.insert(rootPath); in doNextCycle()
207 if (m_heap_paths && !m_Heap.empty()) { in get_results()
208 paths.insert(paths.end(), m_Heap.begin(), m_Heap.end()); in get_results()
232 pSet m_Heap; //!< the heap member in pgrouting::yen::Pgr_ksp
H A Dpgr_turnRestrictedPath.hpp116 pgassert(this->m_Heap.empty()); in turnRestrictedPath()
/dports/multimedia/kodi/xbmc-19.3-Matrix/lib/win32/Effects11/
H A DEffectNonRuntime.cpp785 assert(nullptr == m_pRasterizerBlocks || m_Heap.IsInHeap(m_pRasterizerBlocks)); in ~CEffect()
791 assert(nullptr == m_pBlendBlocks || m_Heap.IsInHeap(m_pBlendBlocks)); in ~CEffect()
803 assert(nullptr == m_pSamplerBlocks || m_Heap.IsInHeap(m_pSamplerBlocks)); in ~CEffect()
809 assert(nullptr == m_pShaderResources || m_Heap.IsInHeap(m_pShaderResources)); in ~CEffect()
833 assert(nullptr == m_pMemberDataBlocks || m_Heap.IsInHeap(m_pMemberDataBlocks)); in ~CEffect()
864 assert(nullptr == m_pCBs || m_Heap.IsInHeap(m_pCBs)); in ~CEffect()
871 assert(nullptr == m_pShaderBlocks || m_Heap.IsInHeap(m_pShaderBlocks)); in ~CEffect()
916 assert(nullptr == m_pBlendBlocks || pEffectSource->m_Heap.IsInHeap(m_pBlendBlocks)); in AddRefAllForCloning()
992 assert(pEffectSource->m_Heap.IsInHeap(m_pCBs)); in AddRefAllForCloning()
2025 …>pName - (UINT_PTR)pEffectSource->m_pReflection->m_Heap.GetDataStart() + (UINT_PTR)m_pReflection-> in FixupMemberInterface()
[all …]
H A DEffect.h1057 CEffectHeap m_Heap;
1076 CEffectHeap m_Heap;
1223 bool IsReflectionData(void *pData) const { return m_pReflection->m_Heap.IsInHeap(pData); }
1224 bool IsRuntimeData(void *pData) const { return m_Heap.IsInHeap(pData); }
H A DEffectLoad.cpp917 VB( m_pReflection->m_Heap.GetSize() == m_ReflectionMemory ); in LoadEffect()
3181 VHD( m_pReflection->m_Heap.MoveData((void**) ppAnnotations, cAnnotations * sizeof(SAnnotation)), in ReallocateAnnotationData()
3190 …VHD( m_pReflection->m_Heap.MoveString(&pAn->pName), "Internal loading error: cannot move annotatio… in ReallocateAnnotationData()
3195 …VHD( m_pReflection->m_Heap.MoveData( &pAn->Data.pGeneric, pAn->pType->TotalSize ), "Internal loadi… in ReallocateAnnotationData()
3204 …VHD( m_pReflection->m_Heap.MoveString(&pAn->Data.pString[j].pString), "Internal loading error: can… in ReallocateAnnotationData()
3221 CEffectHeap *pHeap = &m_pReflection->m_Heap; in InitializeReflectionDataAndMoveStrings()
3289 CEffectHeap *pHeap = &m_pReflection->m_Heap; in ReallocateReflectionData()
3365 CEffectHeap *pHeap = &m_pEffect->m_Heap; in ReallocateBlockAssignments()
3500 CEffectHeap *pHeap = &m_pEffect->m_Heap; in ReallocateShaderBlocks()
3646 CEffectHeap *pHeap = &m_pEffect->m_Heap; in ReallocateEffectData()
[all …]
H A DEffectReflection.cpp149 if( pTopLevelEntity->pEffect->m_Heap.GetSize() > 0 ) in CreatePooledVariableMemberInterface()