diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2010-05-13 20:49:31 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2010-05-13 20:49:31 (GMT) |
commit | 5f2cf7e80c30200be4d975117d7d98249416b9e4 (patch) | |
tree | df6e70421921eedf1db9d0637542e40915b4e500 /tools/testfiles/tpbitsUnsigned.ddl | |
parent | 26205360a42b6a579f62a25810f34813582c84ab (diff) | |
download | hdf5-5f2cf7e80c30200be4d975117d7d98249416b9e4.zip hdf5-5f2cf7e80c30200be4d975117d7d98249416b9e4.tar.gz hdf5-5f2cf7e80c30200be4d975117d7d98249416b9e4.tar.bz2 |
[svn-r18794] Enhancement 1853:
Install packed-bits feature for h5dump.
testfiles/packedbits.h5:
New HDF5 test data file. Generated by h5dump/h5dumpgentest.
testfiles/tpbitsLengthPositive.ddl:
testfiles/tpbitsMaxExceeded.ddl:
testfiles/tpbitsSigned.ddl:
testfiles/tpbitsOffsetNegative.ddl:
testfiles/tpbitsUnsigned.ddl:
testfiles/tpbitsMax.ddl:
testfiles/tpbitsIncomplete.ddl:
testfiles/tpbitsOverlapped.ddl:
testfiles/tpbitsLengthExceeded.ddl:
testfiles/tpbitsOffsetExceeded.ddl:
Expected output files created to test various
components of the packed-bits feature.
testfiles/tpackedbits2.ddl:
testfiles/tpackedbits.ddl:
Previous output files no longer used.
Tested: albertPax (linux)
Diffstat (limited to 'tools/testfiles/tpbitsUnsigned.ddl')
-rw-r--r-- | tools/testfiles/tpbitsUnsigned.ddl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/testfiles/tpbitsUnsigned.ddl b/tools/testfiles/tpbitsUnsigned.ddl new file mode 100644 index 0000000..0aaf40a --- /dev/null +++ b/tools/testfiles/tpbitsUnsigned.ddl @@ -0,0 +1,31 @@ +############################# +Expected output for 'h5dump -d /DU08BITS -M 0,2,2,6 packedbits.h5' +############################# +HDF5 "packedbits.h5" { +DATASET "/DU08BITS" { + DATATYPE H5T_STD_U8LE + DATASPACE SIMPLE { ( 8, 8 ) / ( 8, 8 ) } + PACKED_BITS OFFSET=0 LENGTH=2 + DATA { + (0,0): 3, 2, 0, 0, 0, 0, 0, 0, + (1,0): 2, 0, 0, 0, 0, 0, 0, 0, + (2,0): 0, 0, 0, 0, 0, 0, 0, 0, + (3,0): 0, 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=2 LENGTH=6 + DATA { + (0,0): 63, 63, 63, 62, 60, 56, 48, 32, + (1,0): 63, 63, 62, 60, 56, 48, 32, 0, + (2,0): 63, 62, 60, 56, 48, 32, 0, 0, + (3,0): 62, 60, 56, 48, 32, 0, 0, 0, + (4,0): 60, 56, 48, 32, 0, 0, 0, 0, + (5,0): 56, 48, 32, 0, 0, 0, 0, 0, + (6,0): 48, 32, 0, 0, 0, 0, 0, 0, + (7,0): 32, 0, 0, 0, 0, 0, 0, 0 + } +} +} |