本文整理汇总了C++中FixedSizeUnorderedSet::size方法的典型用法代码示例。如果您正苦于以下问题:C++ FixedSizeUnorderedSet::size方法的具体用法?C++ FixedSizeUnorderedSet::size怎么用?C++ FixedSizeUnorderedSet::size使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FixedSizeUnorderedSet
的用法示例。
在下文中一共展示了FixedSizeUnorderedSet::size方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: IsTempBreakPoint
bool CBreakPoints::IsTempBreakPoint(u32 _iAddress)
{
for (size_t i = 0; i < m_iBreakPoints.size(); i++)
if (m_iBreakPoints[i].iAddress == _iAddress && m_iBreakPoints[i].bTemporary)
return true;
return false;
}
示例2: IsAddressBreakPoint
bool CBreakPoints::IsAddressBreakPoint(u32 _iAddress)
{
for (size_t i = 0; i < m_iBreakPoints.size(); i++)
if (m_iBreakPoints[i].iAddress == _iAddress)
return true;
return false;
}
示例3: ClearTemporaryBreakPoints
void CBreakPoints::ClearTemporaryBreakPoints()
{
if (m_iBreakPoints.size() == 0) return;
bool update = false;
for (int i = (int)m_iBreakPoints.size()-1; i >= 0; --i)
{
if (m_iBreakPoints[i].bTemporary)
{
InvalidateJit(m_iBreakPoints[i].iAddress);
m_iBreakPoints.remove(m_iBreakPoints[i]);
update = true;
}
}
if (update) host->UpdateDisassembly(); // redraw in order to not show the breakpoint anymore
}
示例4: RemoveBreakPoint
void CBreakPoints::RemoveBreakPoint(u32 _iAddress)
{
for (size_t i = 0; i < m_iBreakPoints.size(); i++)
{
if (m_iBreakPoints[i].iAddress == _iAddress)
{
m_iBreakPoints.remove(m_iBreakPoints[i]);
break;
}
}
}
示例5: RemoveBreakPoint
void CBreakPoints::RemoveBreakPoint(u32 _iAddress)
{
for (size_t i = 0; i < m_iBreakPoints.size(); i++)
{
if (m_iBreakPoints[i].iAddress == _iAddress)
{
m_iBreakPoints.remove(m_iBreakPoints[i]);
InvalidateJit(_iAddress);
host->UpdateDisassembly(); // redraw in order to not show the breakpoint anymore
break;
}
}
}
示例6: GetNumBreakpoints
int CBreakPoints::GetNumBreakpoints()
{
return (int)m_iBreakPoints.size();
}