diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-07-27 17:28:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 17:28:11 (GMT) |
commit | a0a1959c58973095194f2d9ac5f9b13bb7b14fb4 (patch) | |
tree | 3f36cbd14d9ede9f00c4c26affb9ecab5d1a860f /tools/test/misc | |
parent | f0690f13fb914ff39a32d88801eabcef759a0163 (diff) | |
download | hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2 |
clang 13 format #1933 (#1939)
Diffstat (limited to 'tools/test/misc')
-rw-r--r-- | tools/test/misc/h5clear_gentest.c | 2 | ||||
-rw-r--r-- | tools/test/misc/h5perf_gentest.c | 16 | ||||
-rw-r--r-- | tools/test/misc/h5repart_gentest.c | 2 | ||||
-rw-r--r-- | tools/test/misc/vds/UC_1_one_dim_gen.c | 2 | ||||
-rw-r--r-- | tools/test/misc/vds/UC_2_two_dims_gen.c | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/tools/test/misc/h5clear_gentest.c b/tools/test/misc/h5clear_gentest.c index 04a2379..6f7d0c3 100644 --- a/tools/test/misc/h5clear_gentest.c +++ b/tools/test/misc/h5clear_gentest.c @@ -63,7 +63,7 @@ gen_cache_image_file(const char *fname) hsize_t dims[2]; /* Dimension sizes */ hsize_t chunks[2]; /* Chunked dimension sizes */ int i, j; /* Local index variables */ - int ** buf = NULL; /* Buffer for data to write */ + int **buf = NULL; /* Buffer for data to write */ H5AC_cache_image_config_t cache_image_config = /* Cache image input configuration */ {H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION, TRUE, FALSE, H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE}; diff --git a/tools/test/misc/h5perf_gentest.c b/tools/test/misc/h5perf_gentest.c index 248fd92..faf5ff3 100644 --- a/tools/test/misc/h5perf_gentest.c +++ b/tools/test/misc/h5perf_gentest.c @@ -42,7 +42,7 @@ typedef struct { phase_t e; float f_array[FIXED_LEN]; hvl_t i_vlen; - char * s_vlen; + char *s_vlen; } test_comp_t; typedef struct { @@ -140,19 +140,19 @@ create_perf_test_file(const char *fname, int ngrps, int ndsets, int nattrs, hsiz tid_vlen_i, tid_vlen_s; char name[32], tmp_name1[32], tmp_name2[32], tmp_name3[32]; hsize_t dims[1] = {dim0}, dims2d[2] = {dim0, (dim0 / 4 + 1)}, dims_array[1] = {FIXED_LEN}, dim1[1] = {2}; - char * enum_names[4] = {"SOLID", "LIQUID", "GAS", "PLASMA"}; + char *enum_names[4] = {"SOLID", "LIQUID", "GAS", "PLASMA"}; test_comp_t *buf_comp = NULL, *buf_comp_large = NULL; - int * buf_int = NULL; + int *buf_int = NULL; float(*buf_float_a)[FIXED_LEN] = NULL; double **buf_double2d = NULL; - hvl_t * buf_vlen_i = NULL; + hvl_t *buf_vlen_i = NULL; char(*buf_str)[FIXED_LEN]; - char ** buf_vlen_s = NULL; + char **buf_vlen_s = NULL; hobj_ref_t buf_ref[2]; hdset_reg_ref_t buf_reg_ref[2]; size_t offset, len; herr_t status; - char * names[NTYPES] = {"int", + char *names[NTYPES] = {"int", "ulong", "float", "double", @@ -543,9 +543,9 @@ add_attrs(hid_t oid, int idx) long long l = -2147483647; float f = 123456789.987654321; double d = 987654321.123456789; - char * s[7] = {"Parting", "is such", "sweeter", "sorrow."}; + char *s[7] = {"Parting", "is such", "sweeter", "sorrow."}; float f_array[4] = {1.0, 2.22, 3.333, 4.444}; - char * s_vlen[4] = {"Parting", "is such", "sweet", "sorrow."}; + char *s_vlen[4] = {"Parting", "is such", "sweet", "sorrow."}; hsize_t dims1[1] = {1}, dims2[1] = {4}, dims3[2] = {3, 5}; int int3d[4][3][5]; size_t offset = 0; diff --git a/tools/test/misc/h5repart_gentest.c b/tools/test/misc/h5repart_gentest.c index b068985..5fd454e 100644 --- a/tools/test/misc/h5repart_gentest.c +++ b/tools/test/misc/h5repart_gentest.c @@ -26,7 +26,7 @@ #define FILENAME "family_file%05d.h5" int **buf = NULL; -int * buf_data = NULL; +int *buf_data = NULL; int main(void) diff --git a/tools/test/misc/vds/UC_1_one_dim_gen.c b/tools/test/misc/vds/UC_1_one_dim_gen.c index a816fb8..5ccc7d0 100644 --- a/tools/test/misc/vds/UC_1_one_dim_gen.c +++ b/tools/test/misc/vds/UC_1_one_dim_gen.c @@ -62,7 +62,7 @@ main(void) hsize_t start[RANK]; /* starting point for hyperslab */ hsize_t map_start = 0; /* starting point in the VDS map */ - int * buffer = NULL; /* data buffer */ + int *buffer = NULL; /* data buffer */ hsize_t count = 0; /* number of elements in a plane */ int n_planes = -1; /* number of planes to write */ int value = -1; /* value written to datasets */ diff --git a/tools/test/misc/vds/UC_2_two_dims_gen.c b/tools/test/misc/vds/UC_2_two_dims_gen.c index 85bd63d..bf8bd3a 100644 --- a/tools/test/misc/vds/UC_2_two_dims_gen.c +++ b/tools/test/misc/vds/UC_2_two_dims_gen.c @@ -70,7 +70,7 @@ main(void) hsize_t start[RANK]; /* starting point for hyperslab */ hsize_t extent[RANK]; /* dataset extents */ - int * buffer = NULL; /* data buffer */ + int *buffer = NULL; /* data buffer */ int value = -1; /* value written to datasets */ hsize_t count = 0; /* number of elements in a plane */ int n_planes = -1; /* number of planes to write */ |