summaryrefslogtreecommitdiffstats
path: root/test/istore.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-03-05 15:48:16 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-03-05 15:48:16 (GMT)
commit4badc161ae7cd13a01e17b8c920759e47631951a (patch)
tree4170b0ca9da9713784d87ab1b39ae8a814e23aed /test/istore.c
parent2b323ed454f0bba86683b4b04c7baa5cc8fe34e4 (diff)
downloadhdf5-4badc161ae7cd13a01e17b8c920759e47631951a.zip
hdf5-4badc161ae7cd13a01e17b8c920759e47631951a.tar.gz
hdf5-4badc161ae7cd13a01e17b8c920759e47631951a.tar.bz2
[svn-r305] Changes since 19980304
---------------------- ./MANIFEST New files ./html/extern1.gif [NEW] ./html/extern1.obj [NEW] ./html/extern2.gif [NEW] ./html/extern2.obj [NEW] ./html/Datasets.html Documented external raw data storage. ./html/Datasets.html ./html/chunk1.gif [NEW] ./html/chunk1.obj [NEW] Added a picture and better description for chunking since it seems that people are thinking chunks are fixed-size at the file level instead of at the array level. ./src/H5D.c ./src/H5Dpublic.h ./test/external.c Changed H5Dget_create_parms() to H5Dget_create_plist(). ./src/H5D.c ./src/H5Farray.c ./src/H5Fprivate.h ./src/H5Oefl.c ./src/H5Oprivate.h ./src/H5Sprivate.h ./src/H5Ssimp.c ./test/external.c ./test/istore.c External raw data file I/O for contiguous storage is now working. The library supports segments of various sizes which can be scattered throughout multiple files in any order. ./test/Makefile.in Remove more temporary files.
Diffstat (limited to 'test/istore.c')
-rw-r--r--test/istore.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/istore.c b/test/istore.c
index 4a07337..68feb9c 100644
--- a/test/istore.c
+++ b/test/istore.c
@@ -316,7 +316,7 @@ test_extend(H5F_t *f, const char *prefix,
memset(buf, 128 + ctr, nelmts);
/* Write to disk */
- if (H5F_arr_write(f, &layout, size, size, zero, offset, buf) < 0) {
+ if (H5F_arr_write(f, &layout, NULL, size, size, zero, offset, buf)<0) {
puts("*FAILED*");
if (!isatty(1)) {
AT();
@@ -326,7 +326,8 @@ test_extend(H5F_t *f, const char *prefix,
}
/* Read from disk */
memset(check, 0xff, nelmts);
- if (H5F_arr_read(f, &layout, size, size, zero, offset, check) < 0) {
+ if (H5F_arr_read(f, &layout, NULL, size, size, zero, offset,
+ check)<0) {
puts("*FAILED*");
if (!isatty(1)) {
AT();
@@ -359,7 +360,8 @@ test_extend(H5F_t *f, const char *prefix,
/* Now read the entire array back out and check it */
memset(buf, 0xff, nx * ny * nz);
- if (H5F_arr_read(f, &layout, whole_size, whole_size, zero, zero, buf)<0) {
+ if (H5F_arr_read(f, &layout, NULL, whole_size, whole_size, zero, zero,
+ buf)<0) {
puts("*FAILED*");
if (!isatty(1)) {
AT();
@@ -478,7 +480,7 @@ test_sparse(H5F_t *f, const char *prefix, size_t nblocks,
memset(buf, 128 + ctr, nx * ny * nz);
/* write to disk */
- if (H5F_arr_write(f, &layout, size, size, zero, offset, buf) < 0) {
+ if (H5F_arr_write(f, &layout, NULL, size, size, zero, offset, buf)<0) {
puts("*FAILED*");
if (!isatty(1)) {
AT();