7 #ifndef BYTEBLOCKPOOL_H 8 #define BYTEBLOCKPOOL_H 51 int32_t
allocSlice(ByteArray slice, int32_t upto);
Definition: ByteBlockPool.h:54
int32_t newSlice(int32_t size)
int32_t byteOffset
Definition: ByteBlockPool.h:36
boost::shared_ptr< ByteBlockPoolAllocatorBase > ByteBlockPoolAllocatorBasePtr
Definition: LuceneTypes.h:90
int32_t bufferUpto
Definition: ByteBlockPool.h:32
static int32_t FIRST_LEVEL_SIZE()
Base class for all Lucene classes.
Definition: LuceneObject.h:31
bool trackAllocations
Definition: ByteBlockPool.h:42
int32_t byteUpto
Definition: ByteBlockPool.h:33
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
static const int32_t levelSizeArray[]
Definition: ByteBlockPool.h:39
Collection< ByteArray > buffers
Definition: ByteBlockPool.h:28
ByteBlockPool(const ByteBlockPoolAllocatorBasePtr &allocator, bool trackAllocations)
ByteBlockPoolAllocatorBasePtr allocator
Definition: ByteBlockPool.h:43
ByteArray buffer
Definition: ByteBlockPool.h:35
Class that Posting and PostingVector use to write byte streams into shared fixed-size byte[] arrays...
Definition: ByteBlockPool.h:23
static const int32_t nextLevelArray[]
Definition: ByteBlockPool.h:38
int32_t allocSlice(ByteArray slice, int32_t upto)