[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)
This commit is contained in:
53
tools/testfiles/tpbitsOverlapped.ddl
Normal file
53
tools/testfiles/tpbitsOverlapped.ddl
Normal file
@@ -0,0 +1,53 @@
|
||||
#############################
|
||||
Expected output for 'h5dump -d /DS08BITS -M 0,1,1,1,2,1,0,3 packedbits.h5'
|
||||
#############################
|
||||
HDF5 "packedbits.h5" {
|
||||
DATASET "/DS08BITS" {
|
||||
DATATYPE H5T_STD_I8LE
|
||||
DATASPACE SIMPLE { ( 8, 8 ) / ( 8, 8 ) }
|
||||
PACKED_BITS OFFSET=0 LENGTH=1
|
||||
DATA {
|
||||
(0,0): 1, 0, 0, 0, 0, 0, 0, 0,
|
||||
(1,0): 0, 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=1 LENGTH=1
|
||||
DATA {
|
||||
(0,0): 1, 1, 0, 0, 0, 0, 0, 0,
|
||||
(1,0): 1, 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=1
|
||||
DATA {
|
||||
(0,0): 1, 1, 1, 0, 0, 0, 0, 0,
|
||||
(1,0): 1, 1, 0, 0, 0, 0, 0, 0,
|
||||
(2,0): 1, 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=0 LENGTH=3
|
||||
DATA {
|
||||
(0,0): 7, 6, 4, 0, 0, 0, 0, 0,
|
||||
(1,0): 6, 4, 0, 0, 0, 0, 0, 0,
|
||||
(2,0): 4, 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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user