summaryrefslogtreecommitdiffstats
path: root/testpar/t_chunk_alloc.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 20:43:30 (GMT)
committerGitHub <noreply@github.com>2023-07-27 20:43:30 (GMT)
commit1e91d96fa02466ffe451319bdac1005f84dc7993 (patch)
tree4de04ef502c313dfd766497b20235188761146c0 /testpar/t_chunk_alloc.c
parent95e5349089b95dfb95f0f8ce2d6db1bc04ba6c82 (diff)
downloadhdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.zip
hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.gz
hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.bz2
Brings over most of the HD prefix removal (#3293)
Diffstat (limited to 'testpar/t_chunk_alloc.c')
-rw-r--r--testpar/t_chunk_alloc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/testpar/t_chunk_alloc.c b/testpar/t_chunk_alloc.c
index ac5b90b..a6be482 100644
--- a/testpar/t_chunk_alloc.c
+++ b/testpar/t_chunk_alloc.c
@@ -112,7 +112,7 @@ create_chunked_dataset(const char *filename, int chunk_factor, write_type write_
VRFY((dataset >= 0), "");
if (write_pattern == sec_last) {
- HDmemset(buffer, 100, CHUNK_SIZE);
+ memset(buffer, 100, CHUNK_SIZE);
count[0] = 1;
stride[0] = 1;
@@ -229,7 +229,7 @@ parallel_access_dataset(const char *filename, int chunk_factor, access_type acti
/* all chunks are written by all the processes in an interleaved way*/
case write_all:
- HDmemset(buffer, mpi_rank + 1, CHUNK_SIZE);
+ memset(buffer, mpi_rank + 1, CHUNK_SIZE);
count[0] = 1;
stride[0] = 1;
block[0] = chunk_dims[0];
@@ -263,7 +263,7 @@ parallel_access_dataset(const char *filename, int chunk_factor, access_type acti
case open_only:
break;
default:
- HDassert(0);
+ assert(0);
}
/* Close up */
@@ -361,7 +361,7 @@ verify_data(const char *filename, int chunk_factor, write_type write_pattern, in
block[0] = chunk_dims[0];
for (i = 0; i < nchunks; i++) {
/* reset buffer values */
- HDmemset(buffer, -1, CHUNK_SIZE);
+ memset(buffer, -1, CHUNK_SIZE);
offset[0] = (hsize_t)i * chunk_dims[0];
@@ -387,7 +387,7 @@ verify_data(const char *filename, int chunk_factor, write_type write_pattern, in
value = 0;
break;
default:
- HDassert(0);
+ assert(0);
}
/* verify content of the chunk */
@@ -455,7 +455,7 @@ test_chunk_alloc(void)
filename = (const char *)GetTestParameters();
if (VERBOSE_MED)
- HDprintf("Extend Chunked allocation test on file %s\n", filename);
+ printf("Extend Chunked allocation test on file %s\n", filename);
/* Case 1 */
/* Create chunked dataset without writing anything.*/