diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-10-04 09:55:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 09:55:03 (GMT) |
commit | 51ff48b8873d584811f4cad83c19f1edf484b7e4 (patch) | |
tree | 22633f494d84072c55d63ef24e314b48518220fb /src | |
parent | 42549af4c83f4db09461dac6b500daa7e33752c6 (diff) | |
download | hdf5-51ff48b8873d584811f4cad83c19f1edf484b7e4.zip hdf5-51ff48b8873d584811f4cad83c19f1edf484b7e4.tar.gz hdf5-51ff48b8873d584811f4cad83c19f1edf484b7e4.tar.bz2 |
Fix several spelling/grammar issues (#3621) (#3632)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5ACmpio.c | 2 | ||||
-rw-r--r-- | src/H5ACprivate.h | 2 | ||||
-rw-r--r-- | src/H5Centry.c | 2 | ||||
-rw-r--r-- | src/H5Cprivate.h | 2 | ||||
-rw-r--r-- | src/H5Dscatgath.c | 2 | ||||
-rw-r--r-- | src/H5FDhdfs.c | 2 | ||||
-rw-r--r-- | src/H5FDmpio.c | 2 | ||||
-rw-r--r-- | src/H5FDonion.c | 4 | ||||
-rw-r--r-- | src/H5FDpublic.h | 2 | ||||
-rw-r--r-- | src/H5FDros3.c | 4 | ||||
-rw-r--r-- | src/H5FDs3comms.c | 4 | ||||
-rw-r--r-- | src/H5FDs3comms.h | 4 | ||||
-rw-r--r-- | src/H5FDsubfiling/H5FDsubfiling.c | 4 | ||||
-rw-r--r-- | src/H5FDsubfiling/H5subfiling_common.c | 8 | ||||
-rw-r--r-- | src/H5FLprivate.h | 2 | ||||
-rw-r--r-- | src/H5Gpublic.h | 2 | ||||
-rw-r--r-- | src/H5HFcache.c | 8 | ||||
-rw-r--r-- | src/H5Iint.c | 4 | ||||
-rw-r--r-- | src/H5MFaggr.c | 4 | ||||
-rw-r--r-- | src/H5Oalloc.c | 2 | ||||
-rw-r--r-- | src/H5Oefl.c | 2 | ||||
-rw-r--r-- | src/H5Pfapl.c | 4 | ||||
-rw-r--r-- | src/H5Tcommit.c | 4 | ||||
-rw-r--r-- | src/H5Tnative.c | 4 | ||||
-rw-r--r-- | src/H5WB.c | 4 | ||||
-rw-r--r-- | src/H5Zfletcher32.c | 2 | ||||
-rw-r--r-- | src/H5private.h | 4 |
27 files changed, 45 insertions, 45 deletions
diff --git a/src/H5ACmpio.c b/src/H5ACmpio.c index 0a634c0..d3d5f9f 100644 --- a/src/H5ACmpio.c +++ b/src/H5ACmpio.c @@ -971,7 +971,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 clean 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 5ea159e..5291e77 100644 --- a/src/H5ACprivate.h +++ b/src/H5ACprivate.h @@ -25,7 +25,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/H5Centry.c b/src/H5Centry.c index 9b93a96..5a20155 100644 --- a/src/H5Centry.c +++ b/src/H5Centry.c @@ -1738,7 +1738,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 2e818d2..3bdffeb 100644 --- a/src/H5Cprivate.h +++ b/src/H5Cprivate.h @@ -537,7 +537,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/H5Dscatgath.c b/src/H5Dscatgath.c index 4516f1f..4bcdaaf 100644 --- a/src/H5Dscatgath.c +++ b/src/H5Dscatgath.c @@ -1335,7 +1335,7 @@ done: write_mem_spaces = NULL; } - /* Free bakcground buffer parameter arrays */ + /* Free background buffer parameter arrays */ H5MM_free(bkg_mem_spaces); bkg_mem_spaces = NULL; H5MM_free(bkg_file_spaces); diff --git a/src/H5FDhdfs.c b/src/H5FDhdfs.c index 7dcd194..8282ad9 100644 --- a/src/H5FDhdfs.c +++ b/src/H5FDhdfs.c @@ -926,7 +926,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 aa83be4..74137e4 100644 --- a/src/H5FDmpio.c +++ b/src/H5FDmpio.c @@ -3743,7 +3743,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/H5FDonion.c b/src/H5FDonion.c index dcec221..5728c7d 100644 --- a/src/H5FDonion.c +++ b/src/H5FDonion.c @@ -492,7 +492,7 @@ H5FD__onion_commit_new_revision_record(H5FD_onion_t *file) /* Update history info to accommodate new revision */ if (history->n_revisions == 0) { - unsigned char *ptr = buf; /* re-use buffer space to compute checksum */ + unsigned char *ptr = buf; /* reuse buffer space to compute checksum */ assert(history->record_locs == NULL); history->n_revisions = 1; @@ -508,7 +508,7 @@ H5FD__onion_commit_new_revision_record(H5FD_onion_t *file) file->header.history_size += H5FD_ONION_ENCODED_SIZE_RECORD_POINTER; } /* end if no extant revisions in history */ else { - unsigned char *ptr = buf; /* re-use buffer space to compute checksum */ + unsigned char *ptr = buf; /* reuse buffer space to compute checksum */ assert(history->record_locs != NULL); diff --git a/src/H5FDpublic.h b/src/H5FDpublic.h index 0eceb2f..5f40bff 100644 --- a/src/H5FDpublic.h +++ b/src/H5FDpublic.h @@ -76,7 +76,7 @@ /* * 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 c6414af..6c953fc 100644 --- a/src/H5FDros3.c +++ b/src/H5FDros3.c @@ -960,7 +960,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(); assert(now != NULL); @@ -1084,7 +1084,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 8a433d5..c3bf726 100644 --- a/src/H5FDs3comms.c +++ b/src/H5FDs3comms.c @@ -571,7 +571,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);` @@ -2531,7 +2531,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 47857f6..49adad9 100644 --- a/src/H5FDs3comms.h +++ b/src/H5FDs3comms.h @@ -211,7 +211,7 @@ * * `magic` (unsigned long) * - * "unique" idenfier number for the structure type + * "unique" identifier number for the structure type * * `name` (char *) * @@ -458,7 +458,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/H5FDsubfiling/H5FDsubfiling.c b/src/H5FDsubfiling/H5FDsubfiling.c index 6a04f68..46f280b 100644 --- a/src/H5FDsubfiling/H5FDsubfiling.c +++ b/src/H5FDsubfiling/H5FDsubfiling.c @@ -2031,7 +2031,7 @@ done: * The contents of supplied buffers are undefined. * * Notes: Thus function doesn't actually implement vector read. - * Instead, it comverts the vector read call into a series + * Instead, it converts the vector read call into a series * of scalar read calls. Fix this when time permits. * * Also, it didn't support the sizes and types optimization. @@ -2191,7 +2191,7 @@ done: * subfiling writes have failed for some reason. * * Notes: Thus function doesn't actually implement vector write. - * Instead, it comverts the vector write call into a series + * Instead, it converts the vector write call into a series * of scalar read calls. Fix this when time permits. * * Also, it didn't support the sizes and types optimization. diff --git a/src/H5FDsubfiling/H5subfiling_common.c b/src/H5FDsubfiling/H5subfiling_common.c index 34aaa93..63a63c5 100644 --- a/src/H5FDsubfiling/H5subfiling_common.c +++ b/src/H5FDsubfiling/H5subfiling_common.c @@ -618,7 +618,7 @@ done: * new MPI communicators that facilitate messaging between * HDF5 clients and the IOCs. * - * Return: Success (0) or Faiure (non-zero) + * Return: Success (0) or Failure (non-zero) * Errors: If MPI operations fail for some reason. * *------------------------------------------------------------------------- @@ -1950,7 +1950,7 @@ done: * discovery. The number and mapping of IOC to MPI_rank * is part of the sf_context->topology structure. * - * Return: Success (0) or Faiure (non-zero) + * Return: Success (0) or Failure (non-zero) * Errors: If MPI operations fail for some reason. * *------------------------------------------------------------------------- @@ -2685,7 +2685,7 @@ done: * which actually manages all subfile closing via commands * to the set of IO Concentrators. * - * Return: Success (0) or Faiure (non-zero) + * Return: Success (0) or Failure (non-zero) * Errors: If MPI operations fail for some reason. * *------------------------------------------------------------------------- @@ -2706,7 +2706,7 @@ done: * Once the subfiles are closed, we initiate a teardown of * the IOC and associated thread_pool threads. * - * Return: Success (0) or Faiure (non-zero) + * Return: Success (0) or Failure (non-zero) * Errors: If MPI operations fail for some reason. * *------------------------------------------------------------------------- diff --git a/src/H5FLprivate.h b/src/H5FLprivate.h index 45ca751..07ced74 100644 --- a/src/H5FLprivate.h +++ b/src/H5FLprivate.h @@ -201,7 +201,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 a21ffa2..cc04680 100644 --- a/src/H5Gpublic.h +++ b/src/H5Gpublic.h @@ -809,7 +809,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 c34a374..71054f8 100644 --- a/src/H5HFcache.c +++ b/src/H5HFcache.c @@ -2521,7 +2521,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 @@ -2881,7 +2881,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 @@ -2994,7 +2994,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 @@ -3153,7 +3153,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/H5Iint.c b/src/H5Iint.c index 462dc71..b7b1da2 100644 --- a/src/H5Iint.c +++ b/src/H5Iint.c @@ -1149,7 +1149,7 @@ H5I_dec_app_ref_async(hid_t id, void **token) /* Sanity check */ assert(id >= 0); - /* [Possibly] aynchronously decrement refcount on ID */ + /* [Possibly] asynchronously decrement refcount on ID */ if ((ret_value = H5I__dec_app_ref(id, token)) < 0) HGOTO_ERROR(H5E_ID, H5E_CANTDEC, (-1), "can't asynchronously decrement ID ref count"); @@ -1254,7 +1254,7 @@ H5I_dec_app_ref_always_close_async(hid_t id, void **token) /* Sanity check */ assert(id >= 0); - /* [Possibly] aynchronously decrement refcount on ID */ + /* [Possibly] asynchronously decrement refcount on ID */ if ((ret_value = H5I__dec_app_ref_always_close(id, token)) < 0) HGOTO_ERROR(H5E_ID, H5E_CANTDEC, (-1), "can't asynchronously decrement ID ref count"); diff --git a/src/H5MFaggr.c b/src/H5MFaggr.c index 5464b8a..24b1c5f 100644 --- a/src/H5MFaggr.c +++ b/src/H5MFaggr.c @@ -182,7 +182,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 */ @@ -472,7 +472,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 16bbab8..37e8818 100644 --- a/src/H5Oalloc.c +++ b/src/H5Oalloc.c @@ -1807,7 +1807,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 5e8c4df..17cdf00 100644 --- a/src/H5Oefl.c +++ b/src/H5Oefl.c @@ -346,7 +346,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 0aca611..4ec73e3 100644 --- a/src/H5Pfapl.c +++ b/src/H5Pfapl.c @@ -2597,10 +2597,10 @@ 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 + * buffer which is large enough to hold several pieces of the dataset * being read in for hyperslab selections boosts performance by quite a * bit. * diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c index 2973f5e..a812dd7 100644 --- a/src/H5Tcommit.c +++ b/src/H5Tcommit.c @@ -1296,7 +1296,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 * @@ -1336,7 +1336,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 76ef403..989efaa 100644 --- a/src/H5Tnative.c +++ b/src/H5Tnative.c @@ -579,7 +579,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); } @@ -838,7 +838,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; @@ -153,10 +153,10 @@ H5WB_actual(H5WB_t *wb, size_t need) /* Sanity check */ assert(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 e5b98be..37f1381 100644 --- a/src/H5Zfletcher32.c +++ b/src/H5Zfletcher32.c @@ -104,7 +104,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/H5private.h b/src/H5private.h index b154ad8..b1a253e 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1771,7 +1771,7 @@ H5_DLL herr_t H5CX_pop(hbool_t update_dxpl_props); H5_PUSH_FUNC \ { -/* 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__)); \ @@ -1789,7 +1789,7 @@ H5_DLL herr_t H5CX_pop(hbool_t update_dxpl_props); H5_PUSH_FUNC \ { -/* 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_PACKAGE_NOERR_NOFS \ { \ |