summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-10-04 09:55:15 (GMT)
committerGitHub <noreply@github.com>2023-10-04 09:55:15 (GMT)
commit069688c3faf01607a9a7a1ddb8f26961d8b993a7 (patch)
treea6a8141136a17ab8ae0a62a9d8b60ea5fcea5ab1 /src
parentc423e74fbfbfe84497210e5b15db20bee8c84c3c (diff)
downloadhdf5-069688c3faf01607a9a7a1ddb8f26961d8b993a7.zip
hdf5-069688c3faf01607a9a7a1ddb8f26961d8b993a7.tar.gz
hdf5-069688c3faf01607a9a7a1ddb8f26961d8b993a7.tar.bz2
Fix spelling (#3633)
Diffstat (limited to 'src')
-rw-r--r--src/H5ACmpio.c2
-rw-r--r--src/H5ACprivate.h2
-rw-r--r--src/H5Cimage.c2
-rw-r--r--src/H5Cprivate.h2
-rw-r--r--src/H5FDhdfs.c2
-rw-r--r--src/H5FDmpio.c2
-rw-r--r--src/H5FDpublic.h2
-rw-r--r--src/H5FDros3.c4
-rw-r--r--src/H5FDs3comms.c4
-rw-r--r--src/H5FDs3comms.h4
-rw-r--r--src/H5FLprivate.h2
-rw-r--r--src/H5Gpublic.h2
-rw-r--r--src/H5HFcache.c8
-rw-r--r--src/H5MFaggr.c4
-rw-r--r--src/H5Oalloc.c2
-rw-r--r--src/H5Oefl.c2
-rw-r--r--src/H5Pfapl.c2
-rw-r--r--src/H5Tcommit.c4
-rw-r--r--src/H5Tnative.c6
-rw-r--r--src/H5WB.c4
-rw-r--r--src/H5Zfletcher32.c2
-rw-r--r--src/H5detect.c2
-rw-r--r--src/H5private.h6
23 files changed, 36 insertions, 36 deletions
diff --git a/src/H5ACmpio.c b/src/H5ACmpio.c
index c0a9856..cbd00fc 100644
--- a/src/H5ACmpio.c
+++ b/src/H5ACmpio.c
@@ -1019,7 +1019,7 @@ done:
* dirty bytes count.
*
* The rank 0 process then removes any references to the
- * entry under its old address from the cleands and dirtied
+ * entry under its old address from the cleaned and dirtied
* lists, and inserts an entry in the dirtied list under the
* new address.
*
diff --git a/src/H5ACprivate.h b/src/H5ACprivate.h
index bc6bfa6..6beec5d 100644
--- a/src/H5ACprivate.h
+++ b/src/H5ACprivate.h
@@ -27,7 +27,7 @@
#include "H5ACpublic.h" /*public prototypes */
-/* Pivate headers needed by this header */
+/* Private headers needed by this header */
#include "H5private.h" /* Generic Functions */
#include "H5Cprivate.h" /* Cache */
#include "H5Fprivate.h" /* File access */
diff --git a/src/H5Cimage.c b/src/H5Cimage.c
index 446dc88..ae18a24 100644
--- a/src/H5Cimage.c
+++ b/src/H5Cimage.c
@@ -443,7 +443,7 @@ done:
* deserialized entry after it is inserted in the cache.
*
* Since deserializing a prefetched entry is semantically
- * equivalent to a load, issue an entry loaded nofification
+ * equivalent to a load, issue an entry loaded notification
* if the notify callback is defined.
*
* Return: SUCCEED on success, and FAIL on failure.
diff --git a/src/H5Cprivate.h b/src/H5Cprivate.h
index 4a1d725..e424964 100644
--- a/src/H5Cprivate.h
+++ b/src/H5Cprivate.h
@@ -541,7 +541,7 @@ typedef struct H5C_t H5C_t;
* ensure that the entry is ready to be flushed -- in particular,
* if the entry contains references to other entries that are in
* temporary file space, the pre-serialize callback must move those
- * entries into real file space so that the serialzed entry will
+ * entries into real file space so that the serialized entry will
* contain no invalid data.
*
* One would think that the base address and length of
diff --git a/src/H5FDhdfs.c b/src/H5FDhdfs.c
index 7524c6b..b53d5da 100644
--- a/src/H5FDhdfs.c
+++ b/src/H5FDhdfs.c
@@ -1010,7 +1010,7 @@ hdfs__fprint_stats(FILE *stream, const H5FD_hdfs_t *file)
unsigned long long max_raw = 0;
unsigned long long bytes_raw = 0;
unsigned long long bytes_meta = 0;
- double re_dub = 0.0; /* re-usable double variable */
+ double re_dub = 0.0; /* reusable double variable */
unsigned suffix_i = 0;
const char suffixes[] = {' ', 'K', 'M', 'G', 'T', 'P'};
diff --git a/src/H5FDmpio.c b/src/H5FDmpio.c
index 05d196f..e783eec 100644
--- a/src/H5FDmpio.c
+++ b/src/H5FDmpio.c
@@ -1762,7 +1762,7 @@ H5FD__mpio_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_ATTR
/* In principle, it is possible for the size returned by the
* call to MPI_File_get_size() to depend on whether writes from
- * all proceeses have completed at the time process 0 makes the
+ * all processes have completed at the time process 0 makes the
* call.
*
* In practice, most (all?) truncate calls will come after a barrier
diff --git a/src/H5FDpublic.h b/src/H5FDpublic.h
index 317299c..7464eb6 100644
--- a/src/H5FDpublic.h
+++ b/src/H5FDpublic.h
@@ -184,7 +184,7 @@ typedef enum H5F_mem_t H5FD_mem_t;
/*
* Defining H5FD_FEAT_DATA_SIEVE for a VFL driver means that
* the library will attempt to cache raw data as it is read from/written to
- * a file in a "data seive" buffer. See Rajeev Thakur's papers:
+ * a file in a "data sieve" buffer. See Rajeev Thakur's papers:
* http://www.mcs.anl.gov/~thakur/papers/romio-coll.ps.gz
* http://www.mcs.anl.gov/~thakur/papers/mpio-high-perf.ps.gz
*/
diff --git a/src/H5FDros3.c b/src/H5FDros3.c
index 09eeccd..1314b1c 100644
--- a/src/H5FDros3.c
+++ b/src/H5FDros3.c
@@ -743,7 +743,7 @@ H5FD__ros3_open(const char *url, unsigned flags, hid_t fapl_id, haddr_t maxaddr)
if (fa.authenticate == TRUE) {
/* compute signing key (part of AWS/S3 REST API)
* can be re-used by user/key for 7 days after creation.
- * find way to re-use/share
+ * find way to reuse/share
*/
now = gmnow();
HDassert(now != NULL);
@@ -865,7 +865,7 @@ ros3_fprint_stats(FILE *stream, const H5FD_ros3_t *file)
unsigned long long max_raw = 0;
unsigned long long bytes_raw = 0;
unsigned long long bytes_meta = 0;
- double re_dub = 0.0; /* re-usable double variable */
+ double re_dub = 0.0; /* reusable double variable */
unsigned suffix_i = 0;
const char suffixes[] = {' ', 'K', 'M', 'G', 'T', 'P'};
diff --git a/src/H5FDs3comms.c b/src/H5FDs3comms.c
index caca513..aad7ff3 100644
--- a/src/H5FDs3comms.c
+++ b/src/H5FDs3comms.c
@@ -579,7 +579,7 @@ done:
*
* Headers list at `first_header` is not touched.
*
- * - Programmer should re-use or destroy `first_header` pointer
+ * - Programmer should reuse or destroy `first_header` pointer
* (hrb_node_t *) as suits their purposes.
* - Recommend fetching prior to destroy()
* e.g., `reuse_node = hrb_to_die->first_header; destroy(hrb_to_die);`
@@ -2527,7 +2527,7 @@ done:
* Create AWS4 "Signing Key" from secret key, AWS region, and timestamp.
*
* Sequentially runs HMAC_SHA256 on strings in specified order,
- * generating re-usable checksum (according to documentation, valid for
+ * generating reusable checksum (according to documentation, valid for
* 7 days from time given).
*
* `secret` is `access key id` for targeted service/bucket/resource.
diff --git a/src/H5FDs3comms.h b/src/H5FDs3comms.h
index aa354d9..4f006a9 100644
--- a/src/H5FDs3comms.h
+++ b/src/H5FDs3comms.h
@@ -216,7 +216,7 @@
*
* `magic` (unsigned long)
*
- * "unique" idenfier number for the structure type
+ * "unique" identifier number for the structure type
*
* `name` (char *)
*
@@ -463,7 +463,7 @@ typedef struct {
*
* `signing_key` (unsigned char *)
*
- * Pointer to `SHA256_DIGEST_LENGTH`-long string for "re-usable" signing
+ * Pointer to `SHA256_DIGEST_LENGTH`-long string for "reusable" signing
* key, generated via
* `HMAC-SHA256(HMAC-SHA256(HMAC-SHA256(HMAC-SHA256("AWS4<secret_key>",
* "<yyyyMMDD"), "<aws-region>"), "<aws-service>"), "aws4_request")`
diff --git a/src/H5FLprivate.h b/src/H5FLprivate.h
index bd84f60..41bb1b7 100644
--- a/src/H5FLprivate.h
+++ b/src/H5FLprivate.h
@@ -206,7 +206,7 @@ typedef struct H5FL_blk_head_t {
#define H5FL_BLK_REALLOC(t, blk, new_size) \
(uint8_t *)H5FL_blk_realloc(&(H5FL_BLK_NAME(t)), blk, new_size H5FL_TRACK_INFO)
-/* Check if there is a free block available to re-use */
+/* Check if there is a free block available to reuse */
#define H5FL_BLK_AVAIL(t, size) H5FL_blk_free_block_avail(&(H5FL_BLK_NAME(t)), size)
#else /* H5_NO_BLK_FREE_LISTS */
diff --git a/src/H5Gpublic.h b/src/H5Gpublic.h
index 65cb1d6..5ffa72a 100644
--- a/src/H5Gpublic.h
+++ b/src/H5Gpublic.h
@@ -712,7 +712,7 @@ H5_DLL herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id,
* any object identifier is open for the object, the space will not be
* released until after the object identifier is closed.
*
- * Note that space identified as freespace is available for re-use only
+ * Note that space identified as freespace is available for reuse only
* as long as the file remains open; once a file has been closed, the
* HDF5 library loses track of freespace. See “Freespace Management” in
* the \ref UG for further details.
diff --git a/src/H5HFcache.c b/src/H5HFcache.c
index bdf2202..9dbf527 100644
--- a/src/H5HFcache.c
+++ b/src/H5HFcache.c
@@ -2621,7 +2621,7 @@ H5HF__cache_dblock_fsf_size(const void *_thing, hsize_t *fsf_size)
* Further, metadata cache entries are now allowed to have
* multiple flush dependency parents.
*
- * This means that the fractal heap is no longer ncessarily
+ * This means that the fractal heap is no longer necessarily
* flushed from the bottom up.
*
* For example, it is now possible for a dirty fractal heap
@@ -2986,7 +2986,7 @@ done:
* Further, metadata cache entries are now allowed to have
* multiple flush dependency parents.
*
- * This means that the fractal heap is no longer ncessarily
+ * This means that the fractal heap is no longer necessarily
* flushed from the bottom up.
*
* For example, it is now possible for a dirty fractal heap
@@ -3103,7 +3103,7 @@ done:
* Further, metadata cache entries are now allowed to have
* multiple flush dependency parents.
*
- * This means that the fractal heap is no longer ncessarily
+ * This means that the fractal heap is no longer necessarily
* flushed from the bottom up.
*
* For example, it is now possible for a dirty fractal heap
@@ -3266,7 +3266,7 @@ done:
* Further, metadata cache entries are now allowed to have
* multiple flush dependency parents.
*
- * This means that the fractal heap is no longer ncessarily
+ * This means that the fractal heap is no longer necessarily
* flushed from the bottom up.
*
* For example, it is now possible for a dirty fractal heap
diff --git a/src/H5MFaggr.c b/src/H5MFaggr.c
index 2c3a672..0afc82d 100644
--- a/src/H5MFaggr.c
+++ b/src/H5MFaggr.c
@@ -192,7 +192,7 @@ H5MF__aggr_alloc(H5F_t *f, H5F_blk_aggr_t *aggr, H5F_blk_aggr_t *other_aggr, H5F
if ((f->shared->feature_flags & aggr->feature_flag) &&
f->shared->fs_strategy != H5F_FSPACE_STRATEGY_NONE && !f->shared->closing) {
#endif
- haddr_t aggr_frag_addr = HADDR_UNDEF; /* Address of aggregrator fragment */
+ haddr_t aggr_frag_addr = HADDR_UNDEF; /* Address of aggregator fragment */
hsize_t aggr_frag_size = 0; /* Size of aggregator fragment */
hsize_t alignment; /* Alignment of this section */
hsize_t aggr_mis_align = 0; /* Misalignment of aggregator */
@@ -483,7 +483,7 @@ done:
} /* end else */
} /* end if */
else {
- /* The aggreator is not at end of file */
+ /* The aggregator is not at end of file */
/* Check if aggregator has enough internal space to satisfy the extension. */
if (aggr->size >= extra_requested) {
/* Extend block into aggregator */
diff --git a/src/H5Oalloc.c b/src/H5Oalloc.c
index 8a7d577..8a6abbe 100644
--- a/src/H5Oalloc.c
+++ b/src/H5Oalloc.c
@@ -1848,7 +1848,7 @@ H5O__move_msgs_forward(H5F_t *f, H5O_t *oh)
null_msg->raw + null_msg->raw_size, gap_size) < 0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTINSERT, FAIL, "can't insert gap in chunk")
- /* Re-use message # for new null message taking place of non-null message */
+ /* Reuse message # for new null message taking place of non-null message */
new_null_msg = v;
} /* end if */
else {
diff --git a/src/H5Oefl.c b/src/H5Oefl.c
index 90ef7cf..394e775 100644
--- a/src/H5Oefl.c
+++ b/src/H5Oefl.c
@@ -354,7 +354,7 @@ H5O__efl_size(const H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, const void
* Function: H5O__efl_reset
*
* Purpose: Frees internal pointers and resets the message to an
- * initialial state.
+ * initial state.
*
* Return: Non-negative on success/Negative on failure
*
diff --git a/src/H5Pfapl.c b/src/H5Pfapl.c
index 2e0a59f..655eb47 100644
--- a/src/H5Pfapl.c
+++ b/src/H5Pfapl.c
@@ -2165,7 +2165,7 @@ done:
/*-------------------------------------------------------------------------
* Function: H5Pset_sieve_buf_size
*
- * Purpose: Sets the maximum size of the data seive buffer used for file
+ * Purpose: Sets the maximum size of the data sieve buffer used for file
* drivers which are capable of using data sieving. The data sieve
* buffer is used when performing I/O on datasets in the file. Using a
* buffer which is large anough to hold several pieces of the dataset
diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c
index 2a53731..df83f0b 100644
--- a/src/H5Tcommit.c
+++ b/src/H5Tcommit.c
@@ -1172,7 +1172,7 @@ H5T_get_actual_type(H5T_t *dt)
/*-------------------------------------------------------------------------
* Function: H5T_save_refresh_state
*
- * Purpose: Save state for datatype reconstuction after a refresh.
+ * Purpose: Save state for datatype reconstruction after a refresh.
*
* Return: SUCCEED/FAIL
*
@@ -1212,7 +1212,7 @@ done:
/*-------------------------------------------------------------------------
* Function: H5T_restore_refresh_state
*
- * Purpose: Restore state for datatype reconstuction after a refresh.
+ * Purpose: Restore state for datatype reconstruction after a refresh.
*
* Return: SUCCEED/FAIL
*
diff --git a/src/H5Tnative.c b/src/H5Tnative.c
index e2e8cff..7ccae70 100644
--- a/src/H5Tnative.c
+++ b/src/H5Tnative.c
@@ -42,7 +42,7 @@ static herr_t H5T__cmp_offset(size_t *comp_size, size_t *offset, size_t elem_siz
*
* Purpose: High-level API to return the native type of a datatype.
* The native type is chosen by matching the size and class of
- * querried datatype from the following native premitive
+ * queried datatype from the following native premitive
* datatypes:
* H5T_NATIVE_CHAR H5T_NATIVE_UCHAR
* H5T_NATIVE_SHORT H5T_NATIVE_USHORT
@@ -588,7 +588,7 @@ H5T__get_native_integer(size_t prec, H5T_sign_t sign, H5T_direction_t direction,
match = H5T_NATIVE_INT_MATCH_LLONG;
native_size = sizeof(long long);
}
- else { /* If no native type matches the querried datatype, simply choose the type of biggest size. */
+ else { /* If no native type matches the queried datatype, simply choose the type of biggest size. */
match = H5T_NATIVE_INT_MATCH_LLONG;
native_size = sizeof(long long);
}
@@ -853,7 +853,7 @@ H5T__get_native_bitfield(size_t prec, H5T_direction_t direction, size_t *struct_
native_size = 8;
align = H5T_NATIVE_UINT64_ALIGN_g;
}
- else { /* If no native type matches the querried datatype, simply choose the type of biggest size. */
+ else { /* If no native type matches the queried datatype, simply choose the type of biggest size. */
tid = H5T_NATIVE_B64;
native_size = 8;
align = H5T_NATIVE_UINT64_ALIGN_g;
diff --git a/src/H5WB.c b/src/H5WB.c
index 2f89807..260e4f7 100644
--- a/src/H5WB.c
+++ b/src/H5WB.c
@@ -161,10 +161,10 @@ H5WB_actual(H5WB_t *wb, size_t need)
/* Sanity check */
HDassert(wb->actual_size > wb->wrapped_size);
- /* Check if we can re-use existing buffer */
+ /* Check if we can reuse existing buffer */
if (need <= wb->alloc_size)
HGOTO_DONE(wb->actual_buf)
- /* Can't re-use existing buffer, free it and proceed */
+ /* Can't reuse existing buffer, free it and proceed */
else
wb->actual_buf = H5FL_BLK_FREE(extra_buf, wb->actual_buf);
} /* end if */
diff --git a/src/H5Zfletcher32.c b/src/H5Zfletcher32.c
index 0aeb49e..19dd36e 100644
--- a/src/H5Zfletcher32.c
+++ b/src/H5Zfletcher32.c
@@ -112,7 +112,7 @@ H5Z__filter_fletcher32(unsigned flags, size_t H5_ATTR_UNUSED cd_nelmts,
}
/* Set return values */
- /* (Re-use the input buffer, just note that the size is smaller by the size of the checksum) */
+ /* (Reuse the input buffer, just note that the size is smaller by the size of the checksum) */
ret_value = nbytes - FLETCHER_LEN;
}
else { /* Write */
diff --git a/src/H5detect.c b/src/H5detect.c
index 39cbddd..d975a95 100644
--- a/src/H5detect.c
+++ b/src/H5detect.c
@@ -767,7 +767,7 @@ done:\n\
"/* ALIGNMENT and signal-handling status */\n"
"/****************************************/\n");
if (align_status_g & STA_NoALIGNMENT)
- fprintf(rawoutstream, "/* ALIGNAMENT test is not available */\n");
+ fprintf(rawoutstream, "/* ALIGNMENT test is not available */\n");
if (align_status_g & STA_NoHandlerVerify)
fprintf(rawoutstream, "/* Signal handlers verify test is not available */\n");
/* The following is available in H5pubconf.h. Printing them here for */
diff --git a/src/H5private.h b/src/H5private.h
index 89bc272..b2316f3 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -2410,7 +2410,7 @@ H5_DLL herr_t H5CX_pop(void);
H5_PUSH_FUNC \
if (H5_PKG_INIT_VAR || !H5_TERM_GLOBAL) {
-/* Use this macro for package-level functions which propgate errors, but don't issue them */
+/* Use this macro for package-level functions which propagate errors, but don't issue them */
#define FUNC_ENTER_PACKAGE_NOERR \
{ \
FUNC_ENTER_COMMON_NOERR(H5_IS_PKG(FUNC)); \
@@ -2435,14 +2435,14 @@ H5_DLL herr_t H5CX_pop(void);
H5_PUSH_FUNC \
if (H5_PKG_INIT_VAR || !H5_TERM_GLOBAL) {
-/* Use this macro for staticly-scoped functions which propgate errors, but don't issue them */
+/* Use this macro for staticly-scoped functions which propagate errors, but don't issue them */
#define FUNC_ENTER_STATIC_NOERR \
{ \
FUNC_ENTER_COMMON_NOERR(H5_IS_PKG(FUNC)); \
H5_PUSH_FUNC \
if (H5_PKG_INIT_VAR || !H5_TERM_GLOBAL) {
-/* Use this macro for staticly-scoped functions which propgate errors, but don't issue them */
+/* Use this macro for staticly-scoped functions which propagate errors, but don't issue them */
/* And that shouldn't push their name on the function stack */
#define FUNC_ENTER_STATIC_NOERR_NOFS \
{ \