[root] / trunk / core / cont / src / TSeqCollection.cxx Repository:
ViewVC logotype

Log of /trunk/core/cont/src/TSeqCollection.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 43764 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 16 16:50:07 2012 UTC (2 years, 9 months ago) by pcanal
File length: 10240 byte(s)
Diff to previous 41794
Fix https://savannah.cern.ch/bugs/?93401 by extending revision 41679: instead of adding non-mergeable input object to the output list, add a Clone of those inputs object (hence avoid a double delete and/or use after delete by TFileMerger)

Revision 41794 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 6 13:53:10 2011 UTC (3 years, 2 months ago) by rdm
File length: 10166 byte(s)
Diff to previous 41679
coverity.

Revision 41679 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 1 16:02:37 2011 UTC (3 years, 2 months ago) by pcanal
File length: 10135 byte(s)
Diff to previous 38082
From Gerri:

In TSeqCollection::Merge adding a TList of objects without a Merge method (e.g. TObjString)
to the output list did *not* work properly, in the sense that all but one set of objects is lost. 
This is because TSeqCollection::Merge (used by TList) is ignoring non mergeable objects instead 
of just adding them to the original list as we do at higher level in PROOF. 
This patch update the behavior of TSeqCollection::Merge to append the non-mergeable objects.

Revision 38082 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 16 00:52:04 2011 UTC (3 years, 11 months ago) by rdm
File length: 9122 byte(s)
Diff to previous 37361
New method GetLast(), which returns index of last item in collection
(like GetLast() in TObjArray). Issue #77263.

Revision 37361 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 7 08:19:24 2010 UTC (4 years, 1 month ago) by rdm
File length: 8838 byte(s)
Diff to previous 34450
add comment that QSort uses a non-stable algorithm, i.e. the order of
already sorted elements might be switched/changed. Fixes issue 76111.

Revision 34450 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 16 10:55:09 2010 UTC (4 years, 6 months ago) by brun
File length: 8568 byte(s)
Diff to previous 33857
From Andrei:
Adds a protection in the Merge function when the object to merge is missing.

Revision 33857 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 14 08:26:25 2010 UTC (4 years, 7 months ago) by brun
File length: 8252 byte(s)
Diff to previous 33856
Fix compilation warnings

Revision 33856 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 14 08:18:57 2010 UTC (4 years, 7 months ago) by brun
File length: 8248 byte(s)
Diff to previous 33836
From Jason Detwiler:
a version of TSeqCollection.cxx with nBs explicitly defined.

Revision 33836 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 10 17:22:54 2010 UTC (4 years, 7 months ago) by pcanal
File length: 8243 byte(s)
Diff to previous 33807
Fix compiler warning (making explicit the empty loop body)

Revision 33807 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 10 07:23:32 2010 UTC (4 years, 7 months ago) by brun
File length: 8237 byte(s)
Diff to previous 28588
From Jason Detwiler:

I put together several functions useful for me in the context of event building.
I have an event structure containing several TClonesArrays, and during event 
building I have the need to merge events and sort their data. So I developed the
following two functions to deal with the events' TClonesArrays during those 
procedures:

void TClonesArray::AbsorbObjects(TClonesArray* tc) 
//Directly move the object pointers from tc to "this" without cloning (copying).
// "this" takes over ownership of all of tc's object pointers. tc is left empty 
//upon return. I preferred this to copying / cloning from one TClonesArray to 
//the other in order to save the copying time.

void TClonesArray::MultiSort(Int_t nTCs, TClonesArray** tcs, Int_t upto = kMaxInt)
// Sort multiple TClonesArrays simultaneously with "this".

These new functions make use of a new function in TSeqCollection:

void TClonesArray::QSort(TObject *a, Int_t nBs, TObject **b, Int_t first, Int_t last)
//Utility function for MultiSort

Revision 28588 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 12 21:43:28 2009 UTC (5 years, 8 months ago) by pcanal
File length: 7970 byte(s)
Diff to previous 22961
In TSeqCollection::Merge, add support for collections with 'holes' (but conitnue do not preserve them)

Revision 22961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by rdm
File length: 7669 byte(s)
Diff to previous 20986
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

Revision 20986 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 22 14:42:15 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/cont/src/TSeqCollection.cxx
File length: 7669 byte(s)
Diff to previous 20882
From Andrei:
implements Merge() method.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/cont/src/TSeqCollection.cxx
File length: 4432 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/cont/src/TSeqCollection.cxx
File length: 4432 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/cont/src/TSeqCollection.cxx
File length: 4488 byte(s)
Diff to previous 12128
remove :$ from tag line

Revision 12128 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 23 06:24:27 2005 UTC (9 years, 7 months ago) by brun
Original Path: trunk/cont/src/TSeqCollection.cxx
File length: 4498 byte(s)
Diff to previous 12123
From Constantin Loizides
Use global Mutex instead of class static member

Revision 12123 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 22 20:18:12 2005 UTC (9 years, 7 months ago) by brun
Original Path: trunk/cont/src/TSeqCollection.cxx
File length: 4480 byte(s)
Diff to previous 6757
From Constantin Loizides

This patch implements:
- decentralized, automatic mutex initialization,
  see R__LOCKGUARD2 in TVirtualMutex
- PROOF parallel startup fixes
- more thread protection (in base, cont, meta, rest to be done)
- cleanups

From Eddy Offermann:
TString::Atoi and Atof are made const.

Revision 6757 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 23 08:04:19 2003 UTC (11 years, 7 months ago) by brun
Original Path: trunk/cont/src/TSeqCollection.cxx
File length: 4467 byte(s)
Diff to previous 1336
Add a LOCKGUARD in the TSeqCollection::Sort functions.

Revision 1336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 9 18:33:59 2001 UTC (14 years ago) by rdm
Original Path: trunk/cont/src/TSeqCollection.cxx
File length: 4376 byte(s)
Diff to previous 3
IndexOf() now takes a const TObject* as argument.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/cont/src/TSeqCollection.cxx
File length: 4308 byte(s)
Copied from: branches/rdm/cont/src/TSeqCollection.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/cont/src/TSeqCollection.cxx
File length: 4308 byte(s)
Initial import of ROOT into CVS

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9