diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-03-10 20:02:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-03-10 20:02:55 (GMT) |
commit | 1eb19fc8959e2f4580e7d48633f42a350ca229c3 (patch) | |
tree | 44813647b934cf0828a1bd743d4fc66f917e6566 /src/H5Opkg.h | |
parent | 753a42edf644632e4a8049ec41fdb5c368b18a21 (diff) | |
download | hdf5-1eb19fc8959e2f4580e7d48633f42a350ca229c3.zip hdf5-1eb19fc8959e2f4580e7d48633f42a350ca229c3.tar.gz hdf5-1eb19fc8959e2f4580e7d48633f42a350ca229c3.tar.bz2 |
[svn-r13491] Description:
Reduce the size of the value used to store the # of bytes in the
"payload" for chunk 0 of an object header.
Tested on:
FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5Opkg.h')
-rw-r--r-- | src/H5Opkg.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/H5Opkg.h b/src/H5Opkg.h index 65d4914..17532e0 100644 --- a/src/H5Opkg.h +++ b/src/H5Opkg.h @@ -88,6 +88,12 @@ #define H5O_CRT_ATTR_MIN_DENSE_DEF 6 #define H5O_CRT_OHDR_FLAGS_DEF H5O_HDR_STORE_TIMES +/* Object header status flag definitions */ +#define H5O_HDR_CHUNK0_1 0x00 +#define H5O_HDR_CHUNK0_2 0x01 +#define H5O_HDR_CHUNK0_4 0x02 +#define H5O_HDR_CHUNK0_8 0x03 + /* * Size of object header prefix. */ @@ -114,7 +120,7 @@ 2 + /*max compact attributes */ \ 2 /*min dense attributes */ \ ) : 0) + \ - 4 + /*chunk data size */ \ + (1 << ((O)->flags & H5O_HDR_CHUNK0_SIZE)) + /*chunk 0 data size */ \ H5O_SIZEOF_CHKSUM) /*checksum size */ \ ) @@ -188,9 +194,6 @@ } /* end if */ \ } /* end if */ -/* All the object header status flags that this version of the library knows about */ -#define H5O_HDR_ALL_FLAGS (H5O_HDR_ATTR_CRT_ORDER_TRACKED | H5O_HDR_ATTR_CRT_ORDER_INDEXED | H5O_HDR_ATTR_STORE_PHASE_CHANGE | H5O_HDR_STORE_TIMES) - /* The "message class" type */ struct H5O_msg_class_t { |