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 Nov 23, 2024
1 parent 3303567 commit daca1fe
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/H5FL.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ typedef struct H5FL_reg_gc_node_t {
/* The garbage collection head for regular free lists */
typedef struct H5FL_reg_gc_list_t {
#ifdef H5_HAVE_CONCURRENCY
bool init; /* Whether the mutex has been initialized */
H5TS_dlftt_mutex_t mutex; /* Guard access to the list of free lists */
H5TS_atomic_size_t mem_freed; /* Amount of free memory on list */
#else /* H5_HAVE_CONCURRENCY */
size_t mem_freed; /* Amount of free memory on list */
#endif /* H5_HAVE_CONCURRENCY */
bool init; /* Whether the mutex has been initialized */
H5TS_dlftt_mutex_t mutex; /* Guard access to the list of free lists */
H5TS_atomic_size_t mem_freed; /* Amount of free memory on list */
#else /* H5_HAVE_CONCURRENCY */
size_t mem_freed; /* Amount of free memory on list */
#endif /* H5_HAVE_CONCURRENCY */
struct H5FL_reg_gc_node_t *first; /* Pointer to the first node in the list of things to garbage collect */
} H5FL_reg_gc_list_t;

Expand All @@ -126,12 +126,12 @@ typedef struct H5FL_gc_arr_node_t {
/* The garbage collection head for array free lists */
typedef struct H5FL_gc_arr_list_t {
#ifdef H5_HAVE_CONCURRENCY
bool init; /* Whether the mutex has been initialized */
H5TS_dlftt_mutex_t mutex; /* Guard access to the list of free lists */
H5TS_atomic_size_t mem_freed; /* Amount of free memory on list */
#else /* H5_HAVE_CONCURRENCY */
size_t mem_freed; /* Amount of free memory on list */
#endif /* H5_HAVE_CONCURRENCY */
bool init; /* Whether the mutex has been initialized */
H5TS_dlftt_mutex_t mutex; /* Guard access to the list of free lists */
H5TS_atomic_size_t mem_freed; /* Amount of free memory on list */
#else /* H5_HAVE_CONCURRENCY */
size_t mem_freed; /* Amount of free memory on list */
#endif /* H5_HAVE_CONCURRENCY */
struct H5FL_gc_arr_node_t *first; /* Pointer to the first node in the list of things to garbage collect */
} H5FL_gc_arr_list_t;

Expand All @@ -147,12 +147,12 @@ typedef struct H5FL_blk_gc_node_t {
/* The garbage collection head for blocks */
typedef struct H5FL_blk_gc_list_t {
#ifdef H5_HAVE_CONCURRENCY
bool init; /* Whether the mutex has been initialized */
H5TS_dlftt_mutex_t mutex; /* Guard access to the list of free lists */
H5TS_atomic_size_t mem_freed; /* Amount of free memory on list */
#else /* H5_HAVE_CONCURRENCY */
size_t mem_freed; /* Amount of free memory on list */
#endif /* H5_HAVE_CONCURRENCY */
bool init; /* Whether the mutex has been initialized */
H5TS_dlftt_mutex_t mutex; /* Guard access to the list of free lists */
H5TS_atomic_size_t mem_freed; /* Amount of free memory on list */
#else /* H5_HAVE_CONCURRENCY */
size_t mem_freed; /* Amount of free memory on list */
#endif /* H5_HAVE_CONCURRENCY */
struct H5FL_blk_gc_node_t *first; /* Pointer to the first node in the list of things to garbage collect */
} H5FL_blk_gc_list_t;

Expand All @@ -168,12 +168,12 @@ struct H5FL_fac_gc_node_t {
/* The garbage collection head for factory free lists */
typedef struct H5FL_fac_gc_list_t {
#ifdef H5_HAVE_CONCURRENCY
bool init; /* Whether the mutex has been initialized */
H5TS_dlftt_mutex_t mutex; /* Guard access to this free list */
H5TS_atomic_size_t mem_freed; /* Amount of free memory on list */
#else /* H5_HAVE_CONCURRENCY */
size_t mem_freed; /* Amount of free memory on list */
#endif /* H5_HAVE_CONCURRENCY */
bool init; /* Whether the mutex has been initialized */
H5TS_dlftt_mutex_t mutex; /* Guard access to this free list */
H5TS_atomic_size_t mem_freed; /* Amount of free memory on list */
#else /* H5_HAVE_CONCURRENCY */
size_t mem_freed; /* Amount of free memory on list */
#endif /* H5_HAVE_CONCURRENCY */

struct H5FL_fac_gc_node_t *first; /* Pointer to the first node in the list of things to garbage collect */
} H5FL_fac_gc_list_t;
Expand Down

0 comments on commit daca1fe

Please sign in to comment.