Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Classes | Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Lucene.Net.Index.ByteBlockPool Class Reference


class  Allocator

Public Member Functions

 ByteBlockPool (Allocator allocator, bool trackAllocations)
void Reset ()
void NextBuffer ()
int NewSlice (int size)
int AllocSlice (byte[] slice, int upto)

Public Attributes

byte[][] buffers = new byte[10][]
int byteUpto
byte[] buffer
int byteOffset = - DocumentsWriter.BYTE_BLOCK_SIZE

Static Public Attributes

static readonly int FIRST_LEVEL_SIZE_For_NUnit_Test = levelSizeArray[0]


static int FIRST_LEVEL_SIZE_ForNUnit [get]

Detailed Description

Definition at line 42 of file ByteBlockPool.cs.

Constructor & Destructor Documentation

Lucene.Net.Index.ByteBlockPool.ByteBlockPool ( Allocator  allocator,
bool  trackAllocations 

Definition at line 67 of file ByteBlockPool.cs.

Member Function Documentation

int Lucene.Net.Index.ByteBlockPool.AllocSlice ( byte[]  slice,
int  upto 

Definition at line 134 of file ByteBlockPool.cs.

int Lucene.Net.Index.ByteBlockPool.NewSlice ( int  size)

Definition at line 114 of file ByteBlockPool.cs.

void Lucene.Net.Index.ByteBlockPool.NextBuffer ( )

Definition at line 99 of file ByteBlockPool.cs.

void Lucene.Net.Index.ByteBlockPool.Reset ( )

Definition at line 74 of file ByteBlockPool.cs.

Member Data Documentation

byte [] Lucene.Net.Index.ByteBlockPool.buffer

Definition at line 61 of file ByteBlockPool.cs.

byte [][] Lucene.Net.Index.ByteBlockPool.buffers = new byte[10][]

Definition at line 56 of file ByteBlockPool.cs.

int Lucene.Net.Index.ByteBlockPool.byteOffset = - DocumentsWriter.BYTE_BLOCK_SIZE

Definition at line 62 of file ByteBlockPool.cs.

int Lucene.Net.Index.ByteBlockPool.byteUpto

Definition at line 59 of file ByteBlockPool.cs.

readonly int Lucene.Net.Index.ByteBlockPool.FIRST_LEVEL_SIZE_For_NUnit_Test = levelSizeArray[0]

Definition at line 132 of file ByteBlockPool.cs.

Property Documentation

int Lucene.Net.Index.ByteBlockPool.FIRST_LEVEL_SIZE_ForNUnit

Definition at line 168 of file ByteBlockPool.cs.

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