summaryrefslogtreecommitdiffstats
path: root/src/H5Spoint.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-08-19 18:50:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-08-19 18:50:22 (GMT)
commit2468fb8bafb28aaaf05ece5bf65e98f9ec7d5e3e (patch)
tree841c49cfd7f8f5d7ed28453b478b14aeb9c3010b /src/H5Spoint.c
parentfc9d502859d8e4c2767f4bc83b64ccbc40499278 (diff)
downloadhdf5-2468fb8bafb28aaaf05ece5bf65e98f9ec7d5e3e.zip
hdf5-2468fb8bafb28aaaf05ece5bf65e98f9ec7d5e3e.tar.gz
hdf5-2468fb8bafb28aaaf05ece5bf65e98f9ec7d5e3e.tar.bz2
[svn-r1576] Added H5Dvlen_get_buf_size function.
Diffstat (limited to 'src/H5Spoint.c')
-rw-r--r--src/H5Spoint.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/H5Spoint.c b/src/H5Spoint.c
index a7062e9..3386275 100644
--- a/src/H5Spoint.c
+++ b/src/H5Spoint.c
@@ -816,11 +816,20 @@ H5S_point_select_valid (const H5S_t *space)
assert(space);
+#ifdef QAK
+printf("%s: check 1.0\n",FUNC);
+#endif /* QAK */
/* Check each point to determine whether selection+offset is within extent */
curr=space->select.sel_info.pnt_lst->head;
while(curr!=NULL) {
/* Check each dimension */
for(i=0; i<space->extent.u.simple.rank; i++) {
+#ifdef QAK
+printf("%s: check 2.0\n",FUNC);
+printf("%s: curr->pnt[%d]=%d\n",FUNC,(int)i,(int)curr->pnt[i]);
+printf("%s: space->select.offset[%d]=%d\n",FUNC,(int)i,(int)space->select.offset[i]);
+printf("%s: space->extent.u.simple.size[%d]=%d\n",FUNC,(int)i,(int)space->extent.u.simple.size[i]);
+#endif /* QAK */
/* Check if an offset has been defined */
/* Bounds check the selected point + offset against the extent */
if(((curr->pnt[i]+space->select.offset[i])>(hssize_t)space->extent.u.simple.size[i])
@@ -832,6 +841,9 @@ H5S_point_select_valid (const H5S_t *space)
curr=curr->next;
} /* end while */
+#ifdef QAK
+printf("%s: check 3.0\n",FUNC);
+#endif /* QAK */
FUNC_LEAVE (ret_value);
} /* end H5S_point_select_valid() */