summaryrefslogtreecommitdiffstats
path: root/src/H5Farray.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-07-20 20:14:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-07-20 20:14:08 (GMT)
commitc3caa3f2690eca4430022af129c0a1530b613fa6 (patch)
tree63f849e7753770e56be3b2074e3fb55ee7580c58 /src/H5Farray.c
parent34595bac3b5f0b2dad3050907c07e023a6972097 (diff)
downloadhdf5-c3caa3f2690eca4430022af129c0a1530b613fa6.zip
hdf5-c3caa3f2690eca4430022af129c0a1530b613fa6.tar.gz
hdf5-c3caa3f2690eca4430022af129c0a1530b613fa6.tar.bz2
[svn-r519] Strided hyperslab selections now work.
Diffstat (limited to 'src/H5Farray.c')
-rw-r--r--src/H5Farray.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/H5Farray.c b/src/H5Farray.c
index 0a3d5ab..25ce208 100644
--- a/src/H5Farray.c
+++ b/src/H5Farray.c
@@ -157,9 +157,14 @@ H5F_arr_read (H5F_t *f, const struct H5O_layout_t *layout,
#endif
#ifdef QAK
{
+ extern int qak_debug;
+
printf("%s: layout->ndims=%d\n",FUNC,(int)layout->ndims);
for(i=0; i<layout->ndims; i++)
printf("%s: %d: hslab_size=%d, mem_size=%d, mem_offset=%d, file_offset=%d\n",FUNC,i,(int)_hslab_size[i],(int)mem_size[i],(int)mem_offset[i],(int)file_offset[i]);
+ if(qak_debug) {
+ printf("%s: *buf=%d, *(buf+1)=%d\n", FUNC,(int)*(const uint16 *)buf,(int)*((const uint16 *)buf+1));
+ }
}
#endif /* QAK */
@@ -369,9 +374,14 @@ H5F_arr_write (H5F_t *f, const struct H5O_layout_t *layout,
#endif
#ifdef QAK
{
+ extern int qak_debug;
+
printf("%s: layout->ndims=%d\n",FUNC,(int)layout->ndims);
for(i=0; i<layout->ndims; i++)
printf("%s: %d: hslab_size=%d, mem_size=%d, mem_offset=%d, file_offset=%d\n",FUNC,i,(int)_hslab_size[i],(int)mem_size[i],(int)mem_offset[i],(int)file_offset[i]);
+ if(qak_debug) {
+ printf("%s: *buf=%d, *(buf+1)=%d\n", FUNC,(int)*(const uint16 *)buf,(int)*((const uint16 *)buf+1));
+ }
}
#endif /* QAK */