diff options
author | Tae-Young Chung <ty83.chung@samsung.com> | 2018-03-13 17:04:17 +0900 |
---|---|---|
committer | Tae-Young Chung <ty83.chung@samsung.com> | 2018-03-13 17:06:54 +0900 |
commit | 45032639c6c5ee11b79d2d3faaca6e9be6e4be3b (patch) | |
tree | 1d636d696c1f1ea6d79fb469758c465f27a3d37c /tools/testfiles/tstring.ddl | |
parent | 125c0b85df1bf388ae210fc7a87872984f865769 (diff) | |
download | hdf5-45032639c6c5ee11b79d2d3faaca6e9be6e4be3b.tar.gz hdf5-45032639c6c5ee11b79d2d3faaca6e9be6e4be3b.tar.bz2 hdf5-45032639c6c5ee11b79d2d3faaca6e9be6e4be3b.zip |
Import upstream hdf5-1.10.1HEADupstream/1.10.1upstreammaster
Upstream repository is
https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.1/src/
Change-Id: I4ec4c291940b7bb75722ea16813fbe55736374a6
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Diffstat (limited to 'tools/testfiles/tstring.ddl')
-rw-r--r-- | tools/testfiles/tstring.ddl | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/tools/testfiles/tstring.ddl b/tools/testfiles/tstring.ddl new file mode 100644 index 0000000..398bf33 --- /dev/null +++ b/tools/testfiles/tstring.ddl @@ -0,0 +1,69 @@ +HDF5 "tstr3.h5" { +GROUP "/" { + DATASET "str1" { + DATATYPE H5T_STRING { + STRSIZE 73; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 1 ) / ( 1 ) } + DATA { + (0): "quote " backspace form feed new line + tab new line + carriage return
" + } + } + DATASET "str2" { + DATATYPE H5T_STRING { + STRSIZE H5T_VARIABLE; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (0): "Four score and seven + years ago our forefathers brought forth on this continent a new nation,", + (1): "conceived in liberty + and dedicated to the proposition that all men are created equal.", + (2): "Now we are engaged + in a great civil war,", + (3): "testing whether that + nation or any nation so conceived and so dedicated can long endure." + } + } + DATASET "str3" { + DATATYPE H5T_COMPOUND { + H5T_STD_I32LE "a"; + H5T_STRING { + STRSIZE 255; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } "str"; + } + DATASPACE SIMPLE { ( 1 ) / ( 1 ) } + DATA { + (0): { + 24, + "Four score and seven + years ago our forefathers brought forth on this continent a new nation" + } + } + } + DATASET "str4" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 93 ) / ( 93 ) } + DATA { + (0): 70, 111, 117, 114, 32, 115, 99, 111, 114, 101, 32, 97, 110, 100, + (14): 32, 115, 101, 118, 101, 110, 10, 32, 121, 101, 97, 114, 115, 32, + (28): 97, 103, 111, 32, 111, 117, 114, 32, 102, 111, 114, 101, 102, 97, + (42): 116, 104, 101, 114, 115, 32, 98, 114, 111, 117, 103, 104, 116, + (55): 32, 102, 111, 114, 116, 104, 32, 111, 110, 32, 116, 104, 105, + (68): 115, 32, 99, 111, 110, 116, 105, 110, 101, 110, 116, 32, 97, 32, + (82): 110, 101, 119, 32, 110, 97, 116, 105, 111, 110, 0 + } + } +} +} |