diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-12-30 14:00:48 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-12-30 14:00:48 (GMT) |
commit | a863723db866ed63377aecd1e90cffa08f43c020 (patch) | |
tree | bd9467044603e46cf56b2bacf36f95c0df71a548 /tools/testfiles/tpbitsUnsigned4.ddl | |
parent | ab0ad9ff0202411d9a63e34f9925b79b72e6ba69 (diff) | |
download | hdf5-a863723db866ed63377aecd1e90cffa08f43c020.zip hdf5-a863723db866ed63377aecd1e90cffa08f43c020.tar.gz hdf5-a863723db866ed63377aecd1e90cffa08f43c020.tar.bz2 |
[svn-r19897] Extend packed bits and testing to 64 bit integers.
Tested: local Linux
Diffstat (limited to 'tools/testfiles/tpbitsUnsigned4.ddl')
-rw-r--r-- | tools/testfiles/tpbitsUnsigned4.ddl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/testfiles/tpbitsUnsigned4.ddl b/tools/testfiles/tpbitsUnsigned4.ddl new file mode 100644 index 0000000..b320386 --- /dev/null +++ b/tools/testfiles/tpbitsUnsigned4.ddl @@ -0,0 +1,31 @@ +############################# +Expected output for 'h5dump -d /DU08BITS -M 0,4,4,4 packedbits.h5' +############################# +HDF5 "packedbits.h5" { +DATASET "/DU08BITS" { + DATATYPE H5T_STD_U8LE + DATASPACE SIMPLE { ( 8, 8 ) / ( 8, 8 ) } + PACKED_BITS OFFSET=0 LENGTH=4 + DATA { + (0,0): 15, 14, 12, 8, 0, 0, 0, 0, + (1,0): 14, 12, 8, 0, 0, 0, 0, 0, + (2,0): 12, 8, 0, 0, 0, 0, 0, 0, + (3,0): 8, 0, 0, 0, 0, 0, 0, 0, + (4,0): 0, 0, 0, 0, 0, 0, 0, 0, + (5,0): 0, 0, 0, 0, 0, 0, 0, 0, + (6,0): 0, 0, 0, 0, 0, 0, 0, 0, + (7,0): 0, 0, 0, 0, 0, 0, 0, 0 + } + PACKED_BITS OFFSET=4 LENGTH=4 + DATA { + (0,0): 15, 15, 15, 15, 15, 14, 12, 8, + (1,0): 15, 15, 15, 15, 14, 12, 8, 0, + (2,0): 15, 15, 15, 14, 12, 8, 0, 0, + (3,0): 15, 15, 14, 12, 8, 0, 0, 0, + (4,0): 15, 14, 12, 8, 0, 0, 0, 0, + (5,0): 14, 12, 8, 0, 0, 0, 0, 0, + (6,0): 12, 8, 0, 0, 0, 0, 0, 0, + (7,0): 8, 0, 0, 0, 0, 0, 0, 0 + } +} +} |