MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UnsafeArrayPool< T > Class Template Reference
Inheritance diagram for UnsafeArrayPool< T >:
Collaboration diagram for UnsafeArrayPool< T >:

Public Member Functions

void getPtrForce (Ptr< T > &)
void getPtrForce (ConstPtr< T > &) const
T * getPtrForce (Uint32 i)
const T * getConstPtrForce (Uint32 i) const
void getPtrForce (Ptr< T > &, Uint32 i)
void getPtrForce (ConstPtr< T > &, Uint32 i) const
- Public Member Functions inherited from ArrayPool< T >
bool setSize (Uint32 noOfElements, bool align=false, bool exit_on_error=true, bool guard=true, Uint32 paramId=0)
bool set (T *, Uint32 cnt, bool align=false)
void clear ()
Uint32 getNoOfFree () const
Uint32 getSize () const
Uint32 getUsed () const
Uint32 getUsedHi () const
void updateFreeMin (void)
void decNoFree (void)
void decNoFree (Uint32 cnt)
Uint32 getEntrySize () const
void getPtr (Ptr< T > &)
void getPtr (ConstPtr< T > &) const
void getPtr (Ptr< T > &, bool CrashOnBoundaryError)
void getPtr (ConstPtr< T > &, bool CrashOnBoundaryError) const
T * getPtr (Uint32 i)
const T * getConstPtr (Uint32 i) const
T * getPtr (Uint32 i, bool CrashOnBoundaryError)
const T * getConstPtr (Uint32 i, bool CrashOnBoundaryError) const
void getPtr (Ptr< T > &, Uint32 i)
void getPtr (ConstPtr< T > &, Uint32 i) const
void getPtr (Ptr< T > &, Uint32 i, bool CrashOnBoundaryError)
void getPtr (ConstPtr< T > &, Uint32 i, bool CrashOnBoundaryError) const
bool seize (Ptr< T > &)
bool seizeId (Ptr< T > &, Uint32 i)
bool findId (Uint32 i) const
void release (Uint32 i)
void release (Ptr< T > &)
bool seize (LockFun, Cache &, Ptr< T > &)
void release (LockFun, Cache &, Uint32 i)
void release (LockFun, Cache &, Ptr< T > &)
void releaseList (LockFun, Cache &, Uint32 n, Uint32 first, Uint32 last)
void setChunkSize (Uint32 sz)
void releaseList (Uint32 n, Uint32 first, Uint32 last)

Additional Inherited Members

- Protected Member Functions inherited from ArrayPool< T >
void releaseChunk (LockFun, Cache &, Uint32 n)
bool seizeChunk (Uint32 &n, Ptr< T > &)
void releaseChunk (Uint32 n, Uint32 first, Uint32 last)
Uint32 seizeN (Uint32 n)
void releaseN (Uint32 base, Uint32 n)
- Protected Attributes inherited from ArrayPool< T >
Uint32 firstFree
Uint32 size
Uint32 noOfFree
Uint32 noOfFreeMin
T * theArray
void * alloc_ptr

Detailed Description

template<class T>
class UnsafeArrayPool< T >

Definition at line 1289 of file ArrayPool.hpp.

Member Function Documentation

template<class T>
void UnsafeArrayPool< T >::getPtrForce ( Ptr< T > &  ptr)
inline

Update p value for ptr according to i value ignore if it's allocated or not

Definition at line 1306 of file ArrayPool.hpp.


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