[root] / trunk / core / base / src / TMD5.cxx Repository:
ViewVC logotype

Log of /trunk/core/base/src/TMD5.cxx

Parent Directory Parent Directory


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

Revision 42993 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 14 09:14:54 2012 UTC (2 years, 11 months ago) by axel
File length: 17709 byte(s)
Diff to previous 35202
TMD5: make AsString() thread safe at the cost of an additional member. Use initializer lists. Accelerate AsString().
TString: add new MD5() function to make persistent alternative to Hash() more visible and easier to use.

Revision 35202 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 8 13:12:42 2010 UTC (4 years, 4 months ago) by rdm
File length: 17828 byte(s)
Diff to previous 33386
fix issues flagged as critical by coverity.

Revision 33386 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 5 13:41:15 2010 UTC (4 years, 8 months ago) by rdm
File length: 17809 byte(s)
Diff to previous 33250
From Gerri:
In TMD5, separate out the decoding part of TMD5::ReadChecksum() into a new
method TMD5::SetDigest(const char *md5ascii) so that the decoding can
be used in other cases too.

Revision 33250 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 27 18:50:07 2010 UTC (4 years, 8 months ago) by brun
File length: 17190 byte(s)
Diff to previous 31757
Fix warnings reported by gcc4.5

Revision 31757 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 10 09:26:54 2009 UTC (5 years, 1 month ago) by rdm
File length: 17182 byte(s)
Diff to previous 27658
From Coverity:
properly zero out some values.

Revision 27658 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 28 05:34:57 2009 UTC (5 years, 10 months ago) by pcanal
File length: 17129 byte(s)
Diff to previous 22961
Remove the 'cast from type ... casts away constness' warning from most header files

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: 16850 byte(s)
Diff to previous 20877
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

Revision 20877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:17:07 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 16850 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/base/src/TMD5.cxx
File length: 16850 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/base/src/TMD5.cxx
File length: 16899 byte(s)
Diff to previous 17019
remove :$ from tag line

Revision 17019 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 1 15:19:29 2006 UTC (8 years, 1 month ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 16909 byte(s)
Diff to previous 16999
fcntl.h is now in TSystem.h.

Revision 16999 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 30 23:19:47 2006 UTC (8 years, 1 month ago) by pcanal
Original Path: trunk/base/src/TMD5.cxx
File length: 16954 byte(s)
Diff to previous 13258
Remove G__ci.h from TSystem.h.  Correct the source file that require G__ci.h __or__ one of the header it included

Revision 13258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 16 20:11:59 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/base/src/TMD5.cxx
File length: 16907 byte(s)
Diff to previous 12584
White spaces and comments update

Revision 12584 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 2 07:51:51 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/base/src/TMD5.cxx
File length: 16982 byte(s)
Diff to previous 9781
Fix the remaining problems reported by the rule checker in directory base

Revision 9781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 15:27:59 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 16976 byte(s)
Diff to previous 7810
fix in byteswapping part of code. Now TMD5 reports the same digest as
the standard md5sum program and other md5 implementations.

Revision 7810 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 30 13:16:51 2003 UTC (11 years ago) by brun
Original Path: trunk/base/src/TMD5.cxx
File length: 16580 byte(s)
Diff to previous 6259
Mega patch to add support for large files (bigger than 2 GBytes)
----------------------------------------------------------------

  ==========>NEW VERSION 4.00/00 <===========

Because this new version has a considerable number of changes,
and new important additions by Philippe are scheduled for the coming days
we are starting a new major version 4.
  -Support for large files
  -Automatic schema evolution for foreign classes
  -New data type Double32_t

Large files are currently tested only under Linux with gcc3.2.
Support for other systems will be gradually added in the coming days.
By default under Linux, files are created with the option LARGEFILE.
Note that when creating a Tree, the default maximum size for a Tree
is set to 1.9 GBytes. You can change this default value by calling
  TTree::SetMaxTreeSize(Long64_t maxsize)

The implementation of this new feature has required changes in many places.
The files produced by this new version can still be read by old ROOT versions
if their size if smaller than 2 GBytes. And obviously, the new version
can digest old ROOT files.

WARNING: note the following backward incompatibility:
 -TSystem::GetPathInfo has a new signature: (also TUnixSystem, TWinNTSystem, etc)
  old: GetPathInfo(const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
  new: GetPathInfo(const char *path, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);

 -TFile::SysSeek and TFile::SysStat have a new signature (also TNetFile, TWebFile, etc)
  old:  Int_t    SysSeek(Int_t fd, Long_t offset, Int_t whence);
        Int_t    SysStat(Int_t fd, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
  new:  Long64_t SysSeek(Int_t fd, Long64_t offset, Int_t whence);
        Int_t    SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);

 -TTree::SetMaxTreeSize has a new signature:
  old:  void TTree::SetMaxTreeSize(Int_t maxsize)
  new:  void TTree::SetMaxTreeSize(Long64_t maxsize)

  All references to Seek_t have been replaced by Long64_t.

Revision 6259 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 6 17:09:42 2003 UTC (11 years, 10 months ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 16562 byte(s)
Diff to previous 5717
fixed error in byte swapping (md5's were different on machines with different
endianness).

Revision 5717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 2 18:50:12 2002 UTC (12 years, 1 month ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 16618 byte(s)
Diff to previous 5126
mega patch to remove almost all compiler warnings on MacOS X where the
compiler is by default in pedantic mode (LHCb also like to use this option).
The following issues have been fixed:
- removal of unused arguments
- comparison between signed and unsigned integers
- not calling of base class copy ctor in copy ctor's
To be done, the TGeo classes where we get still many hundred warnings of
the above nature. List forwarded to Andrei.

Revision 5126 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 15 18:15:44 2002 UTC (12 years, 5 months ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 16586 byte(s)
Diff to previous 4804
properly initialize fIn in TMD5 ctor.

Revision 4804 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 1 22:58:31 2002 UTC (12 years, 6 months ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 16562 byte(s)
Diff to previous 4189
two new static utility methods: ReadChecksum() and WriteChecksum().

Revision 4189 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 16 18:30:11 2002 UTC (12 years, 10 months ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 15116 byte(s)
Diff to previous 4181
don't print error message in FileChecksum() if file does not exist.

Revision 4181 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 15 15:51:52 2002 UTC (12 years, 10 months ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 15107 byte(s)
Diff to previous 4146
added operator<< and operator>>.

Revision 4146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 7 02:04:31 2002 UTC (12 years, 10 months ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 14936 byte(s)
Diff to previous 4128
added copy ctor and assignment operator.

Revision 4128 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 28 13:41:59 2002 UTC (12 years, 10 months ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 14080 byte(s)
Diff to previous 4121
added new ctor accepting an external digest.

Revision 4121 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 27 08:11:38 2002 UTC (12 years, 10 months ago) by brun
Original Path: trunk/base/src/TMD5.cxx
File length: 13723 byte(s)
Diff to previous 4117
The #include <io.h> must be added for WIN32

Revision 4117 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 26 17:59:54 2002 UTC (12 years, 10 months ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 13688 byte(s)
Diff to previous 2923
added FileChecksum(). This method returns a checksum of the specified file.
The returned TMD5 object must be deleted by the user. Returns 0 in case of
error. This method preserves the modtime of the file so it can be safely
used in conjunction with methods that keep track of the file's modtime.

Revision 2923 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 1 16:23:02 2001 UTC (13 years, 3 months ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 11440 byte(s)
Diff to previous 2915
try to get rid of warning in printf format on SGI.

Revision 2915 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Oct 1 14:37:51 2001 UTC (13 years, 3 months ago) by rdm
Original Path: trunk/base/src/TMD5.cxx
File length: 11376 byte(s)
Thic class implements the MD5 message-digest algorithm. The digest typically
is used to generate checksums of a bunch of bytes (.e.g. useful to check if a
string or file has been changed).

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