mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r148] ./src/H5ACprivate.h
Removed some debugging fields from a struct when debugging is turned off. ./src/H5H.c Reformatted a couple long lines.
This commit is contained in:
parent
953979f4a0
commit
2f5495e550
@ -82,9 +82,11 @@ typedef struct H5AC_slot_t {
|
||||
const H5AC_class_t *type; /*type of object stored here */
|
||||
haddr_t addr; /*file address for object */
|
||||
void *thing; /*the thing which is cached */
|
||||
#ifdef H5AC_DEBUG
|
||||
intn nprots; /*number of things protected */
|
||||
intn aprots; /*nelmts of `prot' array */
|
||||
H5AC_prot_t *prot; /*array of protected things */
|
||||
#endif
|
||||
} H5AC_slot_t;
|
||||
|
||||
typedef struct H5AC_t {
|
||||
|
@ -106,7 +106,8 @@ H5H_create (H5F_t *f, H5H_type_t heap_type, size_t size_hint,
|
||||
assert (addr);
|
||||
if (H5H_GLOBAL==heap_type) {
|
||||
#ifndef NDEBUG
|
||||
fprintf (stderr, "H5H_create: a local heap is used as the global heap\n");
|
||||
fprintf (stderr, "H5H_create: a local heap is used as the global "
|
||||
"heap\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -888,7 +889,8 @@ H5H_remove (H5F_t *f, const haddr_t *addr, size_t offset, size_t size)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
H5H_debug (H5F_t *f, const haddr_t *addr, FILE *stream, intn indent, intn fwidth)
|
||||
H5H_debug (H5F_t *f, const haddr_t *addr, FILE *stream, intn indent,
|
||||
intn fwidth)
|
||||
{
|
||||
H5H_t *h = NULL;
|
||||
int i, j, overlap;
|
||||
|
Loading…
Reference in New Issue
Block a user