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)
32 lines
921 B
SQL
32 lines
921 B
SQL
#############################
|
|
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
|
|
}
|
|
}
|
|
}
|