diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-07-26 21:45:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 21:45:46 (GMT) |
commit | ae414872f50187e64cbd6cc8f076c22cf5df2d53 (patch) | |
tree | b616f33f5daa89f213e7c64e04c63afde906e939 /test/swmr.c | |
parent | 213eac2588369f75a11df6bb1788dde33c4b82e2 (diff) | |
download | hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.zip hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.gz hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.bz2 |
Develop clang 13 format (#1933)
* Update format source to clang 13
* More format changes
Diffstat (limited to 'test/swmr.c')
-rw-r--r-- | test/swmr.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/swmr.c b/test/swmr.c index 9ab96d0..230073e 100644 --- a/test/swmr.c +++ b/test/swmr.c @@ -856,7 +856,7 @@ test_metadata_read_retry_info(hid_t in_fapl) hid_t fid = H5I_INVALID_HID; /* File ID */ hid_t fid1 = H5I_INVALID_HID; /* File ID */ H5F_retry_info_t info, info1; /* The collection of metadata retries */ - H5F_t * f = NULL, *f1 = NULL; /* Internal file object pointers */ + H5F_t *f = NULL, *f1 = NULL; /* Internal file object pointers */ unsigned i, j, n; /* Local index variables */ hid_t did1 = H5I_INVALID_HID; /* Dataset ID */ hid_t did2 = H5I_INVALID_HID; /* Dataset ID */ @@ -3208,7 +3208,7 @@ tssw_persist_dapl_verify(hid_t did, hid_t vdsid1, hid_t vdsid2, hsize_t boundary hid_t vds_dapl2 = H5I_INVALID_HID; hsize_t boundary_out = 0; H5D_append_cb_t append_func_out = NULL; - void * append_func_ud_out = NULL; + void *append_func_ud_out = NULL; size_t rdcc_nslots_out = 0; size_t rdcc_nbytes_out = 0; double rdcc_w0_out = 0.; @@ -3311,12 +3311,12 @@ test_start_swmr_write_persist_dapl(hid_t in_fapl) hsize_t chunk_dim[1] = {2}; /* Chunk dimension sizes */ hsize_t boundary = 23; H5D_append_cb_t append_func = dummy_append_flush_cb; - void * append_func_ud = &boundary; + void *append_func_ud = &boundary; size_t rdcc_nslots = 125; size_t rdcc_nbytes = 23434; double rdcc_w0 = 0.68419; - const char * efile_prefix = "dummy_efile_prefix"; - const char * virtual_prefix = "dummy_virtual_prefix"; + const char *efile_prefix = "dummy_efile_prefix"; + const char *virtual_prefix = "dummy_virtual_prefix"; hsize_t gap_size = 421; H5D_vds_view_t virtual_view = H5D_VDS_FIRST_MISSING; char filename[NAME_BUF_SIZE]; /* File name */ @@ -3592,7 +3592,7 @@ test_object_flush_cb(hid_t in_fapl) hsize_t dims[2] = {5, 10}; /* Dataset dimension sizes */ int buf[50]; /* Data buffer */ H5F_flush_cb_t ret_cb; /* The callback function set in object flush property */ - void * ret_ct; /* The user data set in object flush property */ + void *ret_ct; /* The user data set in object flush property */ unsigned flush_ct = 0; /* The user data for object flush property */ char filename[NAME_BUF_SIZE]; /* File name */ int i; /* Local index variable */ @@ -3866,7 +3866,7 @@ test_append_flush_generic(void) unsigned count = 0; /* The user data for append flush property */ hsize_t ret_boundary[3]; /* The boundary set in append flush property */ H5D_append_cb_t ret_cb; /* The callback function set in append flush property */ - unsigned * ret_count; /* The user data set in append flush property */ + unsigned *ret_count; /* The user data set in append flush property */ herr_t ret; /* The return value */ TESTING("H5Fget/set_append_flush() for a generic dataset access property list"); @@ -4049,7 +4049,7 @@ test_append_flush_dataset_chunked(hid_t in_fapl) hsize_t ret_boundary[3]; /* Boundary size set in the append flush property */ H5D_append_cb_t ret_cb; /* The callback function set in the append flush property */ - unsigned * ret_count; /* The user data set in the append flush property */ + unsigned *ret_count; /* The user data set in the append flush property */ char filename[NAME_BUF_SIZE]; /* file name */ @@ -4271,7 +4271,7 @@ test_append_flush_dataset_fixed(hid_t in_fapl) hsize_t ret_boundary[3]; /* Boundary size set in the append flush property */ H5D_append_cb_t ret_cb; /* The callback function set in the append flush property */ - unsigned * ret_count; /* The user data set in the append flush property */ + unsigned *ret_count; /* The user data set in the append flush property */ char filename[NAME_BUF_SIZE]; /* file name */ @@ -4493,7 +4493,7 @@ test_append_flush_dataset_multiple(hid_t in_fapl) hsize_t ret_boundary[3]; /* Boundary size set in the append flush property */ H5D_append_cb_t ret_cb; /* The callback function set in the append flush property */ - unsigned * ret_count; /* The user data set in the append flush property */ + unsigned *ret_count; /* The user data set in the append flush property */ char filename[NAME_BUF_SIZE]; /* file name */ @@ -7731,8 +7731,8 @@ main(void) { int nerrors = 0; /* The # of errors */ hid_t fapl = -1; /* File access property list ID */ - char * driver = NULL; /* VFD string (from env variable) */ - char * lock_env_var = NULL; /* file locking env var pointer */ + char *driver = NULL; /* VFD string (from env variable) */ + char *lock_env_var = NULL; /* file locking env var pointer */ hbool_t use_file_locking; /* read from env var */ hbool_t file_locking_enabled = FALSE; /* Checks if the file system supports locks */ |