/usr/include/root/TFree.h is in libroot-io-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | // @(#)root/io:$Id$
// Author: Rene Brun 28/12/94
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TFree
#define ROOT_TFree
//////////////////////////////////////////////////////////////////////////
// //
// TFree //
// //
// Description of free segments on a file. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TObject
#include "TObject.h"
#endif
class TFree : public TObject {
protected:
Long64_t fFirst; //First free word of segment
Long64_t fLast; //Last free word of segment
public:
TFree();
TFree(TList *lfree, Long64_t first, Long64_t last);
virtual ~TFree();
TFree *AddFree(TList *lfree, Long64_t first, Long64_t last);
virtual void FillBuffer(char *&buffer);
TFree *GetBestFree(TList *lfree, Int_t nbytes);
Long64_t GetFirst() const {return fFirst;}
Long64_t GetLast() const {return fLast;}
void ls(Option_t *) const;
virtual void ReadBuffer(char *&buffer);
void SetFirst(Long64_t first) {fFirst=first;}
void SetLast(Long64_t last) {fLast=last;}
Int_t Sizeof() const;
ClassDef(TFree,1); //Description of free segments on a file
};
#endif
|