diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-03-28 14:03:46 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-03-28 14:03:46 (GMT) |
commit | 935d75c50d35816e08af71be79ef8ace04f97d04 (patch) | |
tree | 2aff56744b8fe1211f0b3a43b9fb11a0f7923eaa /src/H5HFcache.c | |
parent | 87050be33e3a5931ef88b4faee557c3bfdb809b4 (diff) | |
download | hdf5-935d75c50d35816e08af71be79ef8ace04f97d04.zip hdf5-935d75c50d35816e08af71be79ef8ace04f97d04.tar.gz hdf5-935d75c50d35816e08af71be79ef8ace04f97d04.tar.bz2 |
[svn-r12162] Purpose:
Code checkpoint
Description:
Check in fractal heap code to add basic support for skipping direct blocks
when an object is too large to fit in one.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Linux 2.4 (chicago)
Diffstat (limited to 'src/H5HFcache.c')
-rw-r--r-- | src/H5HFcache.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/H5HFcache.c b/src/H5HFcache.c index ab6ea76..d59d164 100644 --- a/src/H5HFcache.c +++ b/src/H5HFcache.c @@ -180,9 +180,6 @@ H5HF_dtable_decode(H5F_t *f, const uint8_t **pp, H5HF_dtable_t *dtable) /* Current # of rows in root indirect block */ UINT16DECODE(*pp, dtable->curr_root_rows); - /* Next direct block's heap offset */ - H5F_DECODE_LENGTH(f, *pp, dtable->next_dir_block); - FUNC_LEAVE_NOAPI(SUCCEED) } /* end H5HF_dtable_decode() */ @@ -233,9 +230,6 @@ H5HF_dtable_encode(H5F_t *f, uint8_t **pp, const H5HF_dtable_t *dtable) /* Current # of rows in root indirect block */ UINT16ENCODE(*pp, dtable->curr_root_rows); - /* Next direct block's heap offset */ - H5F_ENCODE_LENGTH(f, *pp, dtable->next_dir_block); - FUNC_LEAVE_NOAPI(SUCCEED) } /* end H5HF_dtable_encode() */ @@ -1166,6 +1160,7 @@ HDfprintf(stderr, "%s: Load indirect block, addr = %a\n", FUNC, addr); UINT32DECODE_VAR(p, iblock->ents[u].free_space, hdr->man_dtable.max_dir_blk_off_size) else UINT64DECODE_VAR(p, iblock->ents[u].free_space, hdr->heap_off_size) +/* XXX: Add code to indirect block cache load routine to create range sections for skipped blocks */ } /* end for */ /* Sanity check */ |