MySQL 5.6.14 Source Code Document
|
Classes | |
struct | Head |
struct | ReleaseIterator |
Public Member Functions | |
DynArr256 (DynArr256Pool &pool, Head &head) | |
Uint32 * | set (Uint32 pos) |
Uint32 * | get (Uint32 pos) const |
void | init (ReleaseIterator &) |
Uint32 | release (ReleaseIterator &, Uint32 *retptr) |
Protected Member Functions | |
bool | expand (Uint32 pos) |
void | handle_invalid_ptr (Uint32 pos, Uint32 ptrI, Uint32 p0) |
Protected Attributes | |
Head & | m_head |
DynArr256Pool & | m_pool |
Definition at line 49 of file DynArr256.hpp.
Uint32 * DynArr256::get | ( | Uint32 | pos | ) | const |
sz = 0 = 1 - 0 level sz = 1 = 256^1 - 1 level sz = 2 = 256^2 - 2 level sz = 3 = 256^3 - 3 level sz = 4 = 256^4 - 4 level
Definition at line 110 of file DynArr256.cpp.
Uint32 DynArr256::release | ( | ReleaseIterator & | iter, |
Uint32 * | retptr | ||
) |
return 0 - done 1 - data (in retptr) 2 - nodata
Iter is in next pos
0 - done 1 - data 2 - no data
Move next
Move up
Definition at line 374 of file DynArr256.cpp.