summaryrefslogtreecommitdiffstats
path: root/src/H5FLprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r4355] Purpose:Quincey Koziol2001-08-141-15/+15
| | | | | | | | | | | | | | | | | | | | | | Code cleanup (sorta) Description: When the first versions of the HDF5 library were designed, I remembered vividly the difficulties of porting code from a 32-bit platform to a 16-bit platform and asked that people use intn & uintn instead of int & unsigned int, respectively. However, in hindsight, this was overkill and unnecessary since we weren't going to be porting the HDF5 library to 16-bit architectures. Currently, the extra uintn & intn typedefs are causing problems for users who'd like to include both the HDF5 and HDF4 header files in one source module (like Kent's h4toh5 library). Solution: Changed the uintn & intn's to unsigned and int's respectively. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4038] Purpose:Quincey Koziol2001-06-211-11/+11
| | | | | | | | | | | | | Code clean/bug fix Description: H5FL (free-list manager) code currently is taking an hsize_t as the size of a memory block to allocate. On many machines, the size of an hsize_t is greater than the size of a size_t, potentially leading to incorrect memory allocations in rare circumstances. Solution: Changed hsize_t parameters and variables to size_t. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r3781] Purpose:Bill Wendling2001-04-051-3/+3
| | | | | | | | | | | | | | | | | | Update Description: Changed #include <hdf_file.h> construct to #include "hdf_file.h" so that the GNU compiler can more easily pick up the dependencies which it places in the .depend and Dependencies files. Also regenerated the Dependencies to go along with this. Platforms tested: Linux
* [svn-r3252] Purpose:Quincey Koziol2001-01-091-7/+7
| | | | | | | | | | | | | Code cleanup. Description: Fixed _lots_ (I mean _tons_) of warnings spit out by the gcc with the extra warnings. Including a few show-stoppers for compression on IRIX machines. Solution: Changed lots of variables' types to more sensible and consistent types, more range-checking, more variable typecasts, etc. Platforms tested: FreeBSD 4.2 (hawkwind), IRIX64-64 (modi4)
* [svn-r3236] Purpose:Quincey Koziol2001-01-041-4/+4
| | | | | | | | Clean up code. Description: Cleaned up various compiler warnings. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r2711] Purpose:Quincey Koziol2000-10-201-1/+1
| | | | | | | | | | | | Bug fix. Description: When the maximum number of elements in a fixed size, free-list managed array was allocated, the free-list code was writing off the end of the array. Solution: Changed definition of free-list managed arrays to allocate correct space for the array. Platforms tested: Solaris 2.5 (baldric) w/Purify
* [svn-r2470] Changed parameter type from uintn to size_t to clear up some ↵Quincey Koziol2000-08-081-2/+2
| | | | warnings.
* [svn-r2459] Added public API function (H5set_free_list_limits) to allow ↵Quincey Koziol2000-08-041-0/+2
| | | | | | | | limits to be placed on how much memory is used by the free lists before they are garbage collected. The default is to have no limit, with garbage collection only occurring when they cannot allocate memory.
* [svn-r2453] Made free-list code garbage collect if it runs out memory during ↵Quincey Koziol2000-08-011-12/+12
| | | | | | | a memory allocation & attempt to allocate the memory once more. Also re-named a bunch of private functions & structures to align with other function names.
* [svn-r2446] Some small performance improvements to various allocations and ↵Quincey Koziol2000-07-281-1/+2
| | | | calculations.
* [svn-r2445] Check in initial coding effort for automatically garbage ↵Quincey Koziol2000-07-271-4/+6
| | | | | | | | collecting the free lists. Each kind of list one has hard-coded limits on when to garbage collect, which will be replaced with user-controllable knobs (through property list settings, I think) once I finish debugging some related performance problems.
* [svn-r2165] Fixed last batch of problems when using free-lists on the SGI ↵Quincey Koziol2000-04-201-3/+12
| | | | | | machines. They should (hopefully) work on all platforms again now.
* [svn-r2073] Added free-list code to the library and took out the older ↵Quincey Koziol2000-04-041-0/+173
"temporary buffer" code, since the functionality was superceded. See the followup document for details on the free-list code.