diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-04-25 18:29:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-04-25 18:29:27 (GMT) |
commit | 53d0c6b050ee99b2844646b4e8990cf82b451eb1 (patch) | |
tree | c397e95d3bfad89ae0790a33e70bb5d0849dbec2 /src/H5Farray.c | |
parent | fd6731e7cd2aeaf89d3363c15b365c23e81a1e2b (diff) | |
download | hdf5-53d0c6b050ee99b2844646b4e8990cf82b451eb1.zip hdf5-53d0c6b050ee99b2844646b4e8990cf82b451eb1.tar.gz hdf5-53d0c6b050ee99b2844646b4e8990cf82b451eb1.tar.bz2 |
[svn-r5261] Purpose:
Code cleanup
Description:
Remove more debugging printf's that were ifdef'd out.
Platforms tested:
FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'src/H5Farray.c')
-rw-r--r-- | src/H5Farray.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/H5Farray.c b/src/H5Farray.c index 6469c05..4408a2e 100644 --- a/src/H5Farray.c +++ b/src/H5Farray.c @@ -202,18 +202,6 @@ H5F_arr_read(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout, if (H5D_CONTIGUOUS!=layout->type && H5FD_MPIO_COLLECTIVE==xfer_mode) HGOTO_ERROR (H5E_DATASET, H5E_READERROR, FAIL, "collective access on non-contiguous datasets not supported yet"); #endif -#ifdef QAK -{ - extern int qak_debug; - - if(qak_debug) { - printf("%s: layout->ndims=%d\n",FUNC,(int)layout->ndims); - for(u=0; u<layout->ndims; u++) - printf("%s: %u: hslab_size=%d, mem_size=%d, mem_offset=%d, file_offset=%d\n",FUNC,u,(int)_hslab_size[u],(int)mem_size[u],(int)mem_offset[u],(int)file_offset[u]); - printf("%s: *buf=%d, *(buf+1)=%d\n", FUNC,(int)*(const uint16_t *)buf,(int)*((const uint16 *)buf+1)); - } -} -#endif /* QAK */ /* Get necessary properties from property list */ if(H5P_get(dc_plist, H5D_CRT_EXT_FILE_LIST_NAME, &efl) < 0) @@ -291,11 +279,6 @@ H5F_arr_read(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout, } #endif -#ifdef QAK - printf("%s: nelmts=%d, addr=%lu, elmt_size=%lu\n",FUNC,(int)nelmts,(unsigned long)addr,(unsigned long)elmt_size); - printf("%s: sieve_buf=%p, sieve_loc=%lu, sieve_size=%lu, sieve_buf_size=%lu, sieve_dirty=%u\n",FUNC,f->shared->sieve_buf,(unsigned long)f->shared->sieve_loc,(unsigned long)f->shared->sieve_size,(unsigned long)f->shared->sieve_buf_size,(unsigned)f->shared->sieve_dirty); - printf("%s: feature_flags=%lx\n",FUNC,(unsigned long)f->shared->lf->feature_flags); -#endif /* QAK */ #ifdef COALESCE_READS for (z=0, gather_reads = nelmts - 1; z<nelmts; z++, gather_reads--) { /* Track the number of reads to gather */ @@ -469,22 +452,6 @@ H5F_arr_write(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout, HGOTO_ERROR (H5E_DATASET, H5E_WRITEERROR, FAIL, "collective access on non-contiguous datasets not supported yet"); #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_t *)buf, (int)*((const uint16_t *)buf+1)); - } - } -#endif /* QAK */ - /* Get necessary properties from property list */ if(H5P_get(dc_plist, H5D_CRT_EXT_FILE_LIST_NAME, &efl) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "can't get EFL value"); |