diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-12-10 22:41:56 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-12-10 22:41:56 (GMT) |
commit | d49ed7bedfdb13c3a5d58cae8def4d5dc1eb8bbf (patch) | |
tree | ee8d51ce5060470863fcb74e92f262271ba5cd77 /test/istore.c | |
parent | 082dd8cda9ef3d49be23dfce49e10dd30d0758bc (diff) | |
download | hdf5-d49ed7bedfdb13c3a5d58cae8def4d5dc1eb8bbf.zip hdf5-d49ed7bedfdb13c3a5d58cae8def4d5dc1eb8bbf.tar.gz hdf5-d49ed7bedfdb13c3a5d58cae8def4d5dc1eb8bbf.tar.bz2 |
[svn-r140] ./test/Makefile.in
Added new tests.
./test/dsets.c NEW
Tests datasets.
./test/dspace.c NEW
Tests data spaces.
./test/dtypes.c NEW
Tests data types.
./test/istore.c
./test/tfile.c
./test/th5p.c
./test/theap.c
./test/tohdr.c
Changed to work with new function names.
./test/testhdf5.c
Removed the data type and dataset tests since they're now in
their own files. They had to be rewritten because of extensive
changes to those interfaces.
Diffstat (limited to 'test/istore.c')
-rw-r--r-- | test/istore.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/istore.c b/test/istore.c index 6487a30..589829e 100644 --- a/test/istore.c +++ b/test/istore.c @@ -8,13 +8,14 @@ * Purpose: Tests various aspects of indexed raw data storage. */ #include <H5private.h> +#include <H5Cprivate.h> #include <H5Fprivate.h> #include <H5Gprivate.h> #include <H5MMprivate.h> #include <H5Oprivate.h> #include <H5Vprivate.h> -#if 0 +#if 1 # define FILETYPE H5F_LOW_DFLT # define FILENAME "istore.h5" #elif 0 @@ -118,7 +119,7 @@ new_object (H5F_t *f, const char *name, size_t ndims) } } - H5F_istore_new (f, &istore, ndims, alignment); + H5F_istore_create (f, &istore, ndims, alignment); if (H5O_modify (f, NO_ADDR, handle, H5O_ISTORE, H5O_NEW_MESG, &istore)<0) { printf ("*FAILED*\n"); @@ -525,7 +526,7 @@ main (int argc, char *argv[]) uint8 offset_size; H5G_entry_t *ent = NULL; hid_t template_id; - file_create_temp_t *creation_template = NULL; + H5F_create_t *creation_template = NULL; setbuf (stdout, NULL); @@ -557,8 +558,8 @@ main (int argc, char *argv[]) * Use larger file addresses... */ offset_size = 8; - template_id = H5C_copy (H5C_get_default_atom (H5_TEMPLATE)); - H5Csetparm (template_id, H5_OFFSET_SIZE, &offset_size); + template_id = H5Ccreate (H5C_FILE_CREATE); + H5Csetparm (template_id, H5F_OFFSET_SIZE, &offset_size); creation_template = H5Aatom_object (template_id); /* Create the test file */ @@ -577,7 +578,7 @@ main (int argc, char *argv[]) * allocated a whole bunch of data. */ haddr_t addr; - addr.offset = (uint64)1<<33; /*8GB*/ + addr.offset = 250 * ((uint64)1<<30); /*250 GB*/ H5F_low_seteof (f->shared->lf, &addr); } #endif |