A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCNCMMBlocksSet.html below:

NCBI C++ ToolKit: CNCMMBlocksSet Class Reference

Search Toolkit Book for CNCMMBlocksSet

Set of equally-sized blocks with size less than size of the chunk (when subtracted size of meta-data of the set. More...

#include "nc_memory.hpp"
(Private to src/app/netcache.)

Set of equally-sized blocks with size less than size of the chunk (when subtracted size of meta-data of the set.

Definition at line 483 of file nc_memory.hpp.

◆ CNCMMBlocksSet() [1/2] CNCMMBlocksSet::CNCMMBlocksSet ( CNCMMSizePoolpool, unsigned int  size_index  )

Create set of blocks with given size index, make set belonging to given equally-sized blocks pool.

Definition at line 1259 of file nc_memory.cpp.

References _ASSERT, CNCMMStats::BlocksSetCreated(), kNCMMBlocksPerSet, kNCMMSetDataSize, kNCMMSmallSize, CNCMMBlocksSetBase::m_BlocksSize, m_Data, CNCMMBlocksSetBase::m_LastFree, CNCMMBlocksSetBase::m_NextInPool, CNCMMBlocksSetBase::m_Pool, CNCMMBlocksSetBase::m_PrevInPool, NULL, and x_GetFirstFreePtr().

◆ ~CNCMMBlocksSet() CNCMMBlocksSet::~CNCMMBlocksSet ( void  ) inline ◆ CNCMMBlocksSet() [2/2]

Prohibit accidental use of non-implemented methods.

◆ CountFreeBlocks() unsigned int CNCMMBlocksSet::CountFreeBlocks ( void  ) inline ◆ GetBlock() void * CNCMMBlocksSet::GetBlock ( void  ) inline ◆ GetEmptyGrade() unsigned int CNCMMBlocksSet::GetEmptyGrade ( void  ) inline ◆ GetPool() ◆ operator delete() void CNCMMBlocksSet::operator delete ( void *  mem_ptr ) inline ◆ operator new() [1/2] void * CNCMMBlocksSet::operator new ( size_t  size ) inline ◆ operator new() [2/2] void* CNCMMBlocksSet::operator new ( size_t  , void *    ) private ◆ operator=() ◆ ReleaseBlock() void CNCMMBlocksSet::ReleaseBlock ( void *  block ) inline ◆ SetPool() ◆ x_CalcEmptyGrade() void CNCMMBlocksSet::x_CalcEmptyGrade ( void  ) private

Recalculate emptiness grade of the set.

Definition at line 1296 of file nc_memory.cpp.

References _ASSERT, CountFreeBlocks(), CNCMMSlab::GetEmptyGrade(), CNCMMCentral::GetSlab(), kNCMMBlocksPerGrade, kNCMMSetEmptyGrades, kNCMMTotalEmptyGrades, CNCMMBlocksSetBase::m_BlocksSize, CNCMMBlocksSetBase::m_EmptyGrade, and s_GetGradeValue().

Referenced by GetBlock(), and ReleaseBlock().

◆ x_GetFirstFreePtr() void ** CNCMMBlocksSet::x_GetFirstFreePtr ( void  ) inlineprivate ◆ CNCMMSizePool ◆ m_Data

The documentation for this class was generated from the following files:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4