summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tpbitsLongLengthExceeded.ddl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-12-30 14:00:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-12-30 14:00:48 (GMT)
commita863723db866ed63377aecd1e90cffa08f43c020 (patch)
treebd9467044603e46cf56b2bacf36f95c0df71a548 /tools/testfiles/tpbitsLongLengthExceeded.ddl
parentab0ad9ff0202411d9a63e34f9925b79b72e6ba69 (diff)
downloadhdf5-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/tpbitsLongLengthExceeded.ddl')
-rw-r--r--tools/testfiles/tpbitsLongLengthExceeded.ddl29
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/testfiles/tpbitsLongLengthExceeded.ddl b/tools/testfiles/tpbitsLongLengthExceeded.ddl
new file mode 100644
index 0000000..edb4aa7
--- /dev/null
+++ b/tools/testfiles/tpbitsLongLengthExceeded.ddl
@@ -0,0 +1,29 @@
+#############################
+Expected output for 'h5dump -d /DS32BITS -M 26,7 packedbits.h5'
+#############################
+HDF5 "packedbits.h5" {
+DATASET "/DS32BITS" {
+ DATATYPE H5T_STD_I32LE
+ DATASPACE SIMPLE { ( 8, 32 ) / ( 8, 32 ) }
+ PACKED_BITS OFFSET=26 LENGTH=7
+ DATA {
+ (0,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (0,22): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (1,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (1,22): 0, 0, 0, 0, 0, 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