diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-03-25 15:22:38 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-03-25 15:22:38 (GMT) |
commit | 48205a43feeb654d3b63b3bddf3d58a8bae40339 (patch) | |
tree | e25ff63cc18596302d99cca9afb8705787451d2d /src/H5BTcache.c | |
parent | 974636c58fa6bc0e9ecfce4c897640a2ae50143b (diff) | |
download | hdf5-48205a43feeb654d3b63b3bddf3d58a8bae40339.zip hdf5-48205a43feeb654d3b63b3bddf3d58a8bae40339.tar.gz hdf5-48205a43feeb654d3b63b3bddf3d58a8bae40339.tar.bz2 |
[svn-r10421] Purpose:
New feature & code cleanup
Description:
Add feature to find first block >= a certain size (useful for allocating
space)
Cleaned up various comments, etc.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Solaris 2.9 (shanti)
Diffstat (limited to 'src/H5BTcache.c')
-rw-r--r-- | src/H5BTcache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5BTcache.c b/src/H5BTcache.c index 60c31b3..f5f6a4e 100644 --- a/src/H5BTcache.c +++ b/src/H5BTcache.c @@ -23,7 +23,7 @@ *------------------------------------------------------------------------- */ -#define H5BT_PACKAGE /*suppress error about including H5B2pkg */ +#define H5BT_PACKAGE /*suppress error about including H5SHpkg */ /* Private headers */ #include "H5private.h" /* Generic Functions */ @@ -99,7 +99,7 @@ H5BT_cache_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void UNUSED *udata1 HGOTO_ERROR (H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed") HDmemset(&bt->cache_info,0,sizeof(H5AC_info_t)); - /* Compute the size of the B-tree header on disk */ + /* Compute the size of the block tracker on disk */ size = H5BT_SIZE(f); /* Allocate temporary buffer */ @@ -180,7 +180,7 @@ H5BT_cache_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5BT_t uint8_t *p; /* Pointer into raw data buffer */ size_t size; - /* Compute the size of the B-tree header on disk */ + /* Compute the size of the block tracker info on disk */ size = H5BT_SIZE(f); /* Allocate temporary buffer */ @@ -232,7 +232,7 @@ done: /*------------------------------------------------------------------------- - * Function: H5B_cache_dest + * Function: H5BT_cache_dest * * Purpose: Destroys a block tracker in memory. * |