Coder Social home page Coder Social logo

Comments (2)

ferdymercury avatar ferdymercury commented on June 11, 2024 1

There are also some issues pending in TString and TBufferFile constructor classes, that have things like:

TString::TString(const char *cs, Ssiz_t n)
TBuffer::Expand(Int_t newsize
TBuffer::TBuffer(EMode mode, Int_t bufsiz)
TBufferMergerFile::Write(const char *name, Int_t opt, Int_t bufsize)
hist/hist/inc/TProfile2D.h:143:   void      SetBuffer(Int_t buffersize, Option_t *option="") override;
hist/hist/inc/TProfile.h:134:   void     SetBuffer(Int_t buffersize, Option_t *option="") override;
hist/hist/inc/TH1.h:382:   virtual void     SetBuffer(Int_t buffersize, Option_t *option="");
hist/hist/inc/TH1.h:387:   static  void     SetDefaultBufferSize(Int_t buffersize=1000);
hist/hist/inc/TProfile3D.h:146:   void      SetBuffer(Int_t buffersize, Option_t *opt="") override;
io/io/inc/TFile.h:203:   virtual Bool_t      Cp(const char *dst, Bool_t progressbar = kTRUE,UInt_t buffersize = 1000000);
io/io/inc/TFile.h:330:                          UInt_t buffersize = 1000000);
core/cont/inc/TCollection.h:209:   Int_t              Write(const char *name = nullptr, Int_t option = 0, Int_t bufsize = 0) override;
core/cont/inc/TCollection.h:210:   Int_t              Write(const char *name = nullptr, Int_t option = 0, Int_t bufsize = 0) const override;
core/cont/inc/TMap.h:87:   Int_t             Write(const char *name=nullptr, Int_t option=0, Int_t bufsize=0) override;
core/cont/inc/TMap.h:88:   Int_t             Write(const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const override;
core/base/inc/TObject.h:167:   virtual Int_t       Write(const char *name = nullptr, Int_t option = 0, Int_t bufsize = 0);
core/base/inc/TObject.h:168:   virtual Int_t       Write(const char *name = nullptr, Int_t option = 0, Int_t bufsize = 0) const;
core/base/inc/TDirectory.h:269:           Int_t       WriteObject(void *obj, const char* name, Option_t *option="", Int_t bufsize=0); // Intentionally not implemented.
core/base/inc/TDirectory.h:282:   WriteObject(const T *obj, const char *name, Option_t *option = "", Int_t bufsize = 0)
core/base/inc/TDirectory.h:296:   WriteObject(const T *obj, const char *name, Option_t *option = "", Int_t bufsize = 0)
io/io/inc/TFile.h:204:   virtual TKey*       CreateKey(TDirectory* mother, const TObject* obj, const char* name, Int_t bufsize);
io/io/inc/TFile.h:206:                                 const char* name, Int_t bufsize);
io/io/inc/TFile.h:286:           void        SumBuffer(Int_t bufsize);
io/io/inc/TFile.h:318:   static void         SetReadaheadSize(Int_t bufsize = 256000);
io/io/inc/TMapFile.h:65:   void       SumBuffer(Int_t bufsize);
io/io/inc/ROOT/TBufferMerger.hxx:175:   Int_t Write(const char *name = nullptr, Int_t opt = 0, Int_t bufsize = 0) override;
io/io/inc/TKey.h:66:   TKey(const TObject *obj, const char *name, Int_t bufsize, TDirectory* motherDir);
io/io/inc/TKey.h:67:   TKey(const void *obj, const TClass *cl, const char *name, Int_t bufsize, TDirectory* motherDir);
io/io/inc/TDirectoryFile.h:117:           void        SetBufferSize(Int_t bufsize) override;
io/io/inc/TDirectoryFile.h:123:           Int_t       Write(const char *name=nullptr, Int_t opt=0, Int_t bufsize=0) override;
io/io/inc/TDirectoryFile.h:124:           Int_t       Write(const char *name=nullptr, Int_t opt=0, Int_t bufsize=0) const override;
io/io/inc/TDirectoryFile.h:125:           Int_t       WriteTObject(const TObject *obj, const char *name=nullptr, Option_t *option="", Int_t bufsize=0) override;
io/io/inc/TDirectoryFile.h:126:           Int_t       WriteObjectAny(const void *obj, const char *classname, const char *name, Option_t *option="", Int_t bufsize=0) override;
io/io/inc/TDirectoryFile.h:127:           Int_t       WriteObjectAny(const void *obj, const TClass *cl, const char *name, Option_t *option="", Int_t bufsize=0) override;
io/xml/inc/TXMLFile.h:56:   TKey *CreateKey(TDirectory *mother, const TObject *obj, const char *name, Int_t bufsize) final;
io/xml/inc/TXMLFile.h:57:   TKey *CreateKey(TDirectory *mother, const void *obj, const TClass *cl, const char *name, Int_t bufsize) final;
io/doc/v526/index.html:27:   static void      SetReadaheadSize(Int_t bufsize = 256000);</pre>
io/sql/inc/TSQLFile.h:77:   TSQLStatement *SQLStatement(const char *cmd, Int_t bufsize = 1000);
io/sql/inc/TSQLFile.h:208:   TKey *CreateKey(TDirectory *mother, const TObject *obj, const char *name, Int_t bufsize)  final;
io/sql/inc/TSQLFile.h:209:   TKey *CreateKey(TDirectory *mother, const void *obj, const TClass *cl, const char *name, Int_t bufsize) final;
net/net/inc/TMessage.h:62:   TMessage(void *buf, Int_t bufsize);   // only called by T(P)Socket::Recv()
tree/tree/inc/TBranchElement.h:236:           void             Unroll(const char *name, TClass *cl, TStreamerInfo *sinfo, char* objptr, Int_t bufsize, Int_t splitlevel);
tree/tree/inc/TTree.h:171:   virtual TBranch *BranchImp(const char* branchname, const char* classname, TClass* ptrClass, void* addobj, Int_t bufsize, Int_t splitlevel);
tree/tree/inc/TTree.h:172:   virtual TBranch *BranchImp(const char* branchname, TClass* ptrClass, void* addobj, Int_t bufsize, Int_t splitlevel);
tree/tree/inc/TTree.h:173:   virtual TBranch *BranchImpRef(const char* branchname, const char* classname, TClass* ptrClass, void* addobj, Int_t bufsize, Int_t splitlevel);
tree/tree/inc/TTree.h:174:   virtual TBranch *BranchImpRef(const char* branchname, TClass* ptrClass, EDataType datatype, void* addobj, Int_t bufsize, Int_t splitlevel);
tree/tree/inc/TTree.h:175:   virtual TBranch *BranchImpArr(const char* branchname, EDataType datatype, std::size_t N, void* addobj, Int_t bufsize, Int_t splitlevel);
tree/tree/inc/TTree.h:177:   virtual TBranch *BronchExec(const char* name, const char* classname, void* addobj, bool isptrptr, Int_t bufsize, Int_t splitlevel);
tree/tree/inc/TTree.h:178:   friend  TBranch *TTreeBranchImpRef(TTree *tree, const char* branchname, TClass* ptrClass, EDataType datatype, void* addobj, Int_t bufsize, Int_t splitlevel);
tree/tree/inc/TTree.h:353:   template <class T> TBranch *Branch(const char* name, T* obj, Int_t bufsize = 32000, Int_t splitlevel = 99)
tree/tree/inc/TTree.h:370:   template <class T> TBranch *Branch(const char* name, T** addobj, Int_t bufsize = 32000, Int_t splitlevel = 99)
tree/tree/inc/TTree.h:375:   virtual Int_t           Branch(TCollection* list, Int_t bufsize = 32000, Int_t splitlevel = 99, const char* name = "");
tree/tree/inc/TTree.h:376:   virtual Int_t           Branch(TList* list, Int_t bufsize = 32000, Int_t splitlevel = 99);
tree/tree/inc/TTree.h:377:   virtual Int_t           Branch(const char* folder, Int_t bufsize = 32000, Int_t splitlevel = 99);
tree/tree/inc/TTree.h:378:   virtual TBranch        *Branch(const char* name, void* address, const char* leaflist, Int_t bufsize = 32000);
tree/tree/inc/TTree.h:379:           TBranch        *Branch(const char* name, char* address, const char* leaflist, Int_t bufsize = 32000)
tree/tree/inc/TTree.h:384:   TBranch        *Branch(const char* name, Longptr_t address, const char* leaflist, Int_t bufsize = 32000)
tree/tree/inc/TTree.h:389:   TBranch        *Branch(const char* name, int address, const char* leaflist, Int_t bufsize = 32000)
tree/tree/inc/TTree.h:394:   virtual TBranch        *Branch(const char* name, const char* classname, void* addobj, Int_t bufsize = 32000, Int_t splitlevel = 99);
tree/tree/inc/TTree.h:395:   template <class T> TBranch *Branch(const char* name, const char* classname, T* obj, Int_t bufsize = 32000, Int_t splitlevel = 99)
tree/tree/inc/TTree.h:400:   template <class T> TBranch *Branch(const char* name, const char* classname, T** addobj, Int_t bufsize = 32000, Int_t splitlevel = 99)
tree/tree/inc/TTree.h:405:   template <typename T, std::size_t N> TBranch *Branch(const char* name, std::array<T, N> *obj, Int_t bufsize = 32000, Int_t splitlevel = 99)
tree/tree/inc/TTree.h:416:   virtual TBranch        *Bronch(const char* name, const char* classname, void* addobj, Int_t bufsize = 32000, Int_t splitlevel = 99);
tree/tree/inc/TTree.h:417:   virtual TBranch        *BranchOld(const char* name, const char* classname, void* addobj, Int_t bufsize = 32000, Int_t splitlevel = 1);
tree/tree/inc/TTree.h:656:           Int_t           Write(const char *name=nullptr, Int_t option=0, Int_t bufsize=0) override;
tree/tree/inc/TTree.h:657:           Int_t           Write(const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const override;
tree/tree/inc/TTreeSQL.h:68:   TBranch               *BranchImp(const char *branchname, const char *classname, TClass *ptrClass, void *addobj, Int_t bufsize, Int_t splitlevel) override;
tree/tree/inc/TTreeSQL.h:69:   TBranch               *BranchImp(const char *branchname, TClass *ptrClass, void *addobj, Int_t bufsize, Int_t splitlevel) override;
tree/tree/inc/TTreeSQL.h:75:   Int_t                  Branch(TCollection *list, Int_t bufsize=32000, Int_t splitlevel=99, const char *name="") override;
tree/tree/inc/TTreeSQL.h:76:   Int_t                  Branch(TList *list, Int_t bufsize=32000, Int_t splitlevel=99) override;
tree/tree/inc/TTreeSQL.h:77:   Int_t                  Branch(const char *folder, Int_t bufsize=32000, Int_t splitlevel=99) override;
tree/tree/inc/TTreeSQL.h:78:   TBranch               *Bronch(const char *name, const char *classname, void *addobj, Int_t bufsize=32000, Int_t splitlevel=99) override;
tree/tree/inc/TTreeSQL.h:79:   TBranch               *BranchOld(const char *name, const char *classname, void *addobj, Int_t bufsize=32000, Int_t splitlevel=1) override;
tree/tree/inc/TTreeSQL.h:80:   TBranch               *Branch(const char *name, const char *classname, void *addobj, Int_t bufsize=32000, Int_t splitlevel=99) override;
tree/tree/inc/TTreeSQL.h:82:   TBranch               *Branch(const char *name, void *address, const char *leaflist, Int_t bufsize) override;
tree/tree/inc/TNtuple.h:42:   TNtuple(const char *name,const char *title, const char *varlist, Int_t bufsize=32000);
tree/tree/inc/TNtupleD.h:42:   TNtupleD(const char *name,const char *title, const char *varlist, Int_t bufsize=32000);
core/base/inc/TStringLong.h:38:   TStringLong(const char *s, Ssiz_t n);    // Copy past any embedded nulls
core/base/inc/TString.h:229:   TString(const char *a1, Ssiz_t n1, const char *a2, Ssiz_t n2);
core/base/inc/TString.h:230:   void           AssertElement(Ssiz_t nc) const; // Index in range
core/base/inc/TString.h:231:   Ssiz_t         Clobber(Ssiz_t nc);             // Remove old contents
core/base/inc/TString.h:237:   static Ssiz_t  AdjustCapacity(Ssiz_t oldCap, Ssiz_t newCap);
core/base/inc/TString.h:271:   char          *Init(Ssiz_t capacity, Ssiz_t nchar);
core/base/inc/TString.h:272:   void           Clone(Ssiz_t nc); // Make self a distinct copy w. capacity nc
core/base/inc/TString.h:288:   TString(const char *s, Ssiz_t n);    // Copy past any embedded nulls
core/base/inc/TString.h:357:   TString     &Append(const char *cs, Ssiz_t n);
core/base/inc/TString.h:359:   TString     &Append(const TString &s, Ssiz_t n);
core/base/inc/TString.h:367:   Ssiz_t       Capacity(Ssiz_t n);
core/base/inc/TString.h:424:   TString     &Prepend(const char *cs, Ssiz_t n);
core/base/inc/TString.h:426:   TString     &Prepend(const TString &s, Ssiz_t n);
core/base/inc/TString.h:435:   TString     &Remove(Ssiz_t pos, Ssiz_t n);           // Remove n chars starting at pos
core/base/inc/TString.h:437:   TString     &Replace(Ssiz_t pos, Ssiz_t n, const char *s);
core/base/inc/TString.h:438:   TString     &Replace(Ssiz_t pos, Ssiz_t n, const char *s, Ssiz_t ns);
core/base/inc/TString.h:439:   TString     &Replace(Ssiz_t pos, Ssiz_t n, const TString &s);
core/base/inc/TString.h:440:   TString     &Replace(Ssiz_t pos, Ssiz_t n1, const TString &s, Ssiz_t n2);
core/base/inc/TString.h:447:   void         Resize(Ssiz_t n);                       // Truncate or add blanks as necessary
core/base/inc/TString.h:520:extern int strncasecmp(const char *str1, const char *str2, Ssiz_t n);
core/base/inc/TString.h:577:inline TString &TString::Append(const char *cs, Ssiz_t n)
core/base/inc/TString.h:583:inline TString &TString::Append(const TString &s, Ssiz_t n)
core/base/inc/TString.h:666:inline TString &TString::Insert(Ssiz_t pos, const char *cs, Ssiz_t n)
core/base/inc/TString.h:672:inline TString &TString::Insert(Ssiz_t pos, const TString &s, Ssiz_t n)
core/base/inc/TString.h:678:inline TString &TString::Prepend(const char *cs, Ssiz_t n)
core/base/inc/TString.h:684:inline TString &TString::Prepend(const TString &s, Ssiz_t n)
core/base/inc/TString.h:690:inline TString &TString::Remove(Ssiz_t pos, Ssiz_t n)
core/base/inc/TString.h:696:inline TString &TString::Replace(Ssiz_t pos, Ssiz_t n, const char *cs)
core/base/inc/TString.h:699:inline TString &TString::Replace(Ssiz_t pos, Ssiz_t n, const TString& s)
core/base/inc/TString.h:702:inline TString &TString::Replace(Ssiz_t pos, Ssiz_t n1, const TString &s,
core/base/inc/TString.h:703:                                 Ssiz_t n2)

which could be made Long64_t and adding Fatal

from root.

vepadulano avatar vepadulano commented on June 11, 2024 1

which could be made Long64_t and adding Fatal

Makes sense! Re-opening this issue until those are fixed

from root.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.