|
#define | STXXL_ADAPTOR_ARITHMETICS(pos) |
|
#define | BLOCK_ADAPTOR_OPERATORS(two_to_one_dim_array_adaptor_base) |
|
#define | STXXL_DEFAULT_BLOCK_SIZE(type) (2 * 1024 * 1024) |
|
|
template<typename BlockType > |
element_iterator_traits< BlockType >::element_iterator | make_element_iterator (BlockType *blocks, unsigned_type offset) |
|
template<class BIDType , class DiskAssignFunctor , class OutputIterator > |
void | block_manager::new_blocks_int (const unsigned_type nblocks, const DiskAssignFunctor &functor, unsigned_type offset, OutputIterator out) |
|
template<unsigned BLK_SIZE> |
void | block_manager::delete_block (const BID< BLK_SIZE > &bid) |
| Deallocates a block. More...
|
|
template<class BIDIteratorClass > |
void | block_manager::delete_blocks (const BIDIteratorClass &bidbegin, const BIDIteratorClass &bidend) |
| Deallocates blocks. More...
|
|
Group of classes which help controlling external memory space, managing disks, and allocating and deallocating blocks of external storage
Enumerator |
---|
size |
Block size.
|
t_size |
Blocks size, given by the parameter.
|
template<unsigned BLK_SIZE>
void block_manager::delete_block |
( |
const BID< BLK_SIZE > & |
bid | ) |
|
Deallocates a block.
- Parameters
-
References file::discard(), file::get_allocator_id(), BID< SIZE >::offset, BID< SIZE >::size, and BID< SIZE >::storage.
Referenced by block_manager::delete_blocks(), ksort(), queue< ValTp, BlkSz, AllocStr, SzTp >::pop(), and sort().
template<class BIDIteratorClass >
void block_manager::delete_blocks |
( |
const BIDIteratorClass & |
bidbegin, |
|
|
const BIDIteratorClass & |
bidend |
|
) |
| |