diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2015-02-10 19:58:09 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2015-02-10 19:58:09 (GMT) |
commit | 14200fef675e0c1732d84ae7e06e81a812bd5e99 (patch) | |
tree | 6b89eff81087652d65dc62f55689861a268f88dc /src/H5Dlayout.c | |
parent | 055348122df2be0c6ec519f9c29e2dad96c19ece (diff) | |
download | hdf5-14200fef675e0c1732d84ae7e06e81a812bd5e99.zip hdf5-14200fef675e0c1732d84ae7e06e81a812bd5e99.tar.gz hdf5-14200fef675e0c1732d84ae7e06e81a812bd5e99.tar.bz2 |
[svn-r26153] INCOMPLETE, UNWORKING CODE
Commit progress through 2/10/15 at 1500 CST
Diffstat (limited to 'src/H5Dlayout.c')
-rw-r--r-- | src/H5Dlayout.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/H5Dlayout.c b/src/H5Dlayout.c index d7d7b88..5929163 100644 --- a/src/H5Dlayout.c +++ b/src/H5Dlayout.c @@ -104,6 +104,10 @@ H5D__layout_set_io_ops(const H5D_t *dataset) dataset->shared->layout.ops = H5D_LOPS_COMPACT; break; + case H5D_VIRTUAL: + dataset->shared->layout.ops = H5D_LOPS_VIRTUAL; + break; + case H5D_LAYOUT_ERROR: case H5D_NLAYOUTS: default: @@ -169,6 +173,11 @@ H5D__layout_meta_size(const H5F_t *f, const H5O_layout_t *layout, hbool_t includ ret_value += H5F_SIZEOF_ADDR(f); /* Address of data */ break; + case H5D_VIRTUAL: + ret_value += H5F_SIZEOF_ADDR(f); /* Address of global heap */ + ret_value += 4; /* Global heap index */ + break; + case H5D_LAYOUT_ERROR: case H5D_NLAYOUTS: default: @@ -439,6 +448,9 @@ H5D__layout_oh_read(H5D_t *dataset, hid_t dxpl_id, hid_t dapl_id, H5P_genplist_t case H5D_COMPACT: break; + case H5D_VIRTUAL: + break; + case H5D_LAYOUT_ERROR: case H5D_NLAYOUTS: default: |