Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 25, 2021
1 parent 1e61bfb commit 9b63827
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions hl/src/H5DS.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ H5DSattach_scale(hid_t did, hid_t dsid, unsigned int idx)
int has_reflist;
int is_ds;
hssize_t nelmts;
hid_t sid, sid_w; /* space ID */
hid_t sid, sid_w; /* space ID */
hid_t tid = H5I_INVALID_HID; /* attribute type ID */
hid_t ntid = H5I_INVALID_HID; /* attribute native type ID */
hid_t aid = H5I_INVALID_HID; /* attribute ID */
int rank; /* rank of dataset */
hsize_t dims[1]; /* dimension of the "REFERENCE_LIST" array */
int rank; /* rank of dataset */
hsize_t dims[1]; /* dimension of the "REFERENCE_LIST" array */

ds_list_t dsl; /* attribute data in the DS pointing to the dataset */
ds_list_t *dsbuf = NULL; /* array of attribute data in the DS pointing to the dataset */
Expand Down Expand Up @@ -727,15 +727,15 @@ H5DSdetach_scale(hid_t did, hid_t dsid, unsigned int idx)
int has_dimlist;
int has_reflist;
hssize_t nelmts;
hid_t dsid_j; /* DS dataset ID in DIMENSION_LIST */
hid_t did_i; /* dataset ID in REFERENCE_LIST */
hid_t dsid_j; /* DS dataset ID in DIMENSION_LIST */
hid_t did_i; /* dataset ID in REFERENCE_LIST */
hid_t sid = H5I_INVALID_HID; /* space ID */
hid_t sid_w = H5I_INVALID_HID; /* space ID */
hid_t tid = H5I_INVALID_HID; /* attribute type ID */
hid_t ntid = H5I_INVALID_HID; /* attribute native type ID */
hid_t aid = H5I_INVALID_HID; /* attribute ID */
int rank; /* rank of dataset */
nds_list_t * ndsbuf = NULL; /* array of attribute data in the DS pointing to the dataset */
int rank; /* rank of dataset */
nds_list_t * ndsbuf = NULL; /* array of attribute data in the DS pointing to the dataset */
nds_list_t * ndsbuf_w = NULL; /* array of attribute data in the DS pointing to the dataset to write*/
ds_list_t * dsbuf = NULL; /* array of attribute data in the DS pointing to the dataset */
ds_list_t * dsbuf_w = NULL; /* array of attribute data in the DS pointing to the dataset to write*/
Expand Down Expand Up @@ -1229,18 +1229,18 @@ H5DSis_attached(hid_t did, hid_t dsid, unsigned int idx)
int has_dimlist;
int has_reflist;
hssize_t nelmts;
hid_t sid; /* space ID */
hid_t sid; /* space ID */
hid_t tid = H5I_INVALID_HID; /* attribute type ID */
hid_t ntid = H5I_INVALID_HID; /* attribute native type ID */
hid_t aid = H5I_INVALID_HID; /* attribute ID */
int rank; /* rank of dataset */
nds_list_t *ndsbuf = NULL; /* array of attribute data in the DS pointing to the dataset */
ds_list_t * dsbuf = NULL; /* array of attribute data in the DS pointing to the dataset */
H5R_ref_t nref; /* reference to the DS */
hobj_ref_t ref; /* reference to the DS */
hvl_t * buf = NULL; /* VL buffer to store in the attribute */
hid_t dsid_j; /* DS dataset ID in DIMENSION_LIST */
hid_t did_i; /* dataset ID in REFERENCE_LIST */
int rank; /* rank of dataset */
nds_list_t *ndsbuf = NULL; /* array of attribute data in the DS pointing to the dataset */
ds_list_t * dsbuf = NULL; /* array of attribute data in the DS pointing to the dataset */
H5R_ref_t nref; /* reference to the DS */
hobj_ref_t ref; /* reference to the DS */
hvl_t * buf = NULL; /* VL buffer to store in the attribute */
hid_t dsid_j; /* DS dataset ID in DIMENSION_LIST */
hid_t did_i; /* dataset ID in REFERENCE_LIST */
H5O_info2_t oi1, oi2, oi3, oi4;
H5I_type_t it1, it2;
int i;
Expand Down Expand Up @@ -1599,13 +1599,13 @@ H5DSiterate_scales(hid_t did, unsigned int dim, int *ds_idx, H5DS_iterate_t visi
{
hid_t scale_id;
int rank;
H5R_ref_t nref; /* reference to the DS */
hobj_ref_t ref; /* reference to the DS */
hid_t sid; /* space ID */
H5R_ref_t nref; /* reference to the DS */
hobj_ref_t ref; /* reference to the DS */
hid_t sid; /* space ID */
hid_t tid = H5I_INVALID_HID; /* attribute type ID */
hid_t aid = H5I_INVALID_HID; /* attribute ID */
hvl_t * buf = NULL; /* VL buffer to store in the attribute */
H5I_type_t it; /* ID type */
hvl_t * buf = NULL; /* VL buffer to store in the attribute */
H5I_type_t it; /* ID type */
herr_t ret_value = 0;
int j_idx;
int nscales;
Expand Down Expand Up @@ -1792,9 +1792,9 @@ H5DSset_label(hid_t did, unsigned int idx, const char *label)
hid_t sid = H5I_INVALID_HID; /* space ID */
hid_t tid = H5I_INVALID_HID; /* attribute type ID */
hid_t aid = H5I_INVALID_HID; /* attribute ID */
int rank; /* rank of dataset */
hsize_t dims[1]; /* dimensions of dataset */
H5I_type_t it; /* ID type */
int rank; /* rank of dataset */
hsize_t dims[1]; /* dimensions of dataset */
H5I_type_t it; /* ID type */
unsigned int i;
union { /* union is needed to eliminate compiler warnings about */
char ** buf; /* discarding the 'const' qualifier in the free */
Expand Down Expand Up @@ -1995,9 +1995,9 @@ H5DSget_label(hid_t did, unsigned int idx, char *label, size_t size)
hid_t sid = H5I_INVALID_HID; /* space ID */
hid_t tid = H5I_INVALID_HID; /* attribute type ID */
hid_t aid = H5I_INVALID_HID; /* attribute ID */
int rank; /* rank of dataset */
char ** buf = NULL; /* buffer to store in the attribute */
H5I_type_t it; /* ID type */
int rank; /* rank of dataset */
char ** buf = NULL; /* buffer to store in the attribute */
H5I_type_t it; /* ID type */
size_t nbytes = 0;
size_t copy_len;
int i;
Expand Down Expand Up @@ -2143,7 +2143,7 @@ H5DSget_scale_name(hid_t did, char *name, size_t size)
hid_t aid = H5I_INVALID_HID; /* attribute ID */
hid_t tid = H5I_INVALID_HID; /* attribute type ID */
hid_t sid = H5I_INVALID_HID; /* space ID */
H5I_type_t it; /* ID type */
H5I_type_t it; /* ID type */
size_t nbytes;
size_t copy_len;
int has_name;
Expand Down

0 comments on commit 9b63827

Please sign in to comment.