summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-06-05 19:06:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-06-05 19:06:24 (GMT)
commit28404e2813b982ea7374a8cd0513f9cf17a07c35 (patch)
tree45d936ae77d8a28ac7f2dce09503608ca845752d /test
parent339a81a766d4d37e6535f0c8fad7c853b9a849e9 (diff)
downloadhdf5-28404e2813b982ea7374a8cd0513f9cf17a07c35.zip
hdf5-28404e2813b982ea7374a8cd0513f9cf17a07c35.tar.gz
hdf5-28404e2813b982ea7374a8cd0513f9cf17a07c35.tar.bz2
[svn-r8614] Purpose:
Refactor code Description: Move chunk and contiguous cached raw data from file information to dataset information. This simplifies a number of internal interfaces, aligns the code with it's purpose better and should allow more optimizations to the chunked data I/O performance. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) h5committest
Diffstat (limited to 'test')
-rw-r--r--test/tmisc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index a6823d0..b8e850c 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -1971,8 +1971,11 @@ test_misc12(void)
if(HDstrcmp(wdata1[i-MISC12_SPACE1_DIM1],rdata[i]))
TestErrPrintf("Error on line %d: wdata1[%d]=%s, rdata[%d]=%s\n",__LINE__,i-MISC12_SPACE1_DIM1,wdata1[i-MISC12_SPACE1_DIM1],i,rdata[i]);
+ ret = H5Sselect_all (space);
+ CHECK(ret, FAIL, "H5Sselect_all");
+
/* Reclaim VL data memory */
- ret = H5Dvlen_reclaim (tid1, sid1, H5P_DEFAULT, rdata);
+ ret = H5Dvlen_reclaim (tid1, space, H5P_DEFAULT, rdata);
CHECK(ret, FAIL, "H5Dvlen_reclaim");
/* Close Everything */
@@ -3316,7 +3319,7 @@ test_misc20(void)
hid_t sid; /* 'Space ID */
hid_t did; /* Dataset ID */
hid_t dcpl; /* Dataset creation property list ID */
- unsigned rank=MISC20_SPACE_RANK; /* Rank of dataspace */
+ int rank=MISC20_SPACE_RANK; /* Rank of dataspace */
hsize_t big_dims[MISC20_SPACE_RANK]={MISC20_SPACE_DIM0,MISC20_SPACE_DIM1}; /* Large dimensions */
hsize_t small_dims[MISC20_SPACE_RANK]={MISC20_SPACE2_DIM0,MISC20_SPACE2_DIM1}; /* Small dimensions */
unsigned version; /* Version of storage layout info */