45 for (
Int_t i=0; i < nb; i++){
54 fBuffer = (
char*) calloc(fCapacity,
sizeof(
char));
103 for(
Int_t i=0; i < nb; i++){
void ReallocBlock(Long64_t *, Int_t *, Int_t)
Reallocate the block's buffer based on the length of the elements it will contain.
void SetPos(Int_t, Long64_t)
Set pos value for index idx.
Vc_ALWAYS_INLINE void free(T *p)
Frees memory that was allocated with Vc::malloc.
ClassImp(TFPBlock) TFPBlock
Constructor.
void SetBuffer(char *)
Set block buffer.
This class represents the encapsulation of a block request.
Long64_t fCapacity
Capacity of the buffer.
Long64_t * fRelOffset
Relative offset of piece in the buffer.
Long64_t fDataSize
Total size of useful data in the block.
Double_t length(const TVector2 &v)
Int_t fNblock
Number of segment in the block.
char * fBuffer
Content of the block.
Long64_t * fPos
Array of positions of each segment.
static void * ReAlloc(void *vp, size_t size)
Reallocate (i.e.
Int_t * fLen
Array of lengths of each segment.
virtual ~TFPBlock()
Destructor.
static Int_t * ReAllocInt(Int_t *vp, size_t size, size_t oldsize)
Reallocate (i.e.