From 82ebc9c370164931861f0d174e2b17a109478665 Mon Sep 17 00:00:00 2001 From: Dana Robinson <43805+derobins@users.noreply.github.com> Date: Thu, 18 Aug 2022 10:48:17 -0700 Subject: Spelling fixes for codespell (#2038) * Spelling fixes for codespell * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .github/workflows/codespell.yml | 2 +- bin/warnhist | 2 +- c++/src/H5IntType.h | 2 +- c++/test/trefer.cpp | 2 +- config/ibm-aix | 4 +- config/ibm-flags | 2 +- configure.ac | 2 +- doxygen/dox/rm-template.dox | 4 +- doxygen/examples/Filters.html | 2 +- examples/h5_vds-eiger.c | 2 +- examples/h5_vds-exc.c | 2 +- examples/h5_vds-exclim.c | 2 +- examples/h5_vds-percival-unlim-maxmin.c | 2 +- examples/h5_vds-percival-unlim.c | 2 +- examples/h5_vds-percival.c | 2 +- examples/h5_vds-simpleIO.c | 2 +- examples/h5_vds.c | 2 +- fortran/examples/refobjexample.f90 | 2 +- fortran/src/H5Dff.F90 | 64 +++++++++++++++--------------- fortran/src/H5Iff.F90 | 2 +- fortran/src/H5Lff.F90 | 2 +- fortran/src/H5Pff.F90 | 2 +- fortran/src/H5Tff.F90 | 2 +- fortran/src/H5_ff.F90 | 2 +- fortran/test/tH5A.F90 | 42 ++++++++++---------- hl/src/H5LDpublic.h | 2 +- java/src/hdf/hdf5lib/H5.java | 8 ++-- release_docs/HISTORY-1_0-1_8_0_rc3.txt | 2 +- release_docs/HISTORY-1_10.txt | 4 +- release_docs/HISTORY-1_8.txt | 2 +- release_docs/HISTORY-1_8_0-1_10_0.txt | 2 +- src/H5.c | 2 +- src/H5ACpkg.h | 6 +-- src/H5Abtree2.c | 2 +- src/H5Aint.c | 2 +- src/H5B.c | 2 +- src/H5B2internal.c | 2 +- src/H5B2leaf.c | 2 +- src/H5C.c | 6 +-- src/H5CX.c | 4 +- src/H5Cpkg.h | 2 +- src/H5Cprivate.h | 2 +- src/H5Dchunk.c | 6 +-- src/H5Dcompact.c | 2 +- src/H5Dcontig.c | 4 +- src/H5Dint.c | 2 +- src/H5Dvirtual.c | 2 +- src/H5FDmirror.c | 4 +- src/H5FDsec2.c | 2 +- src/H5Gtraverse.c | 2 +- src/H5HFsection.c | 2 +- src/H5L.c | 4 +- src/H5Ocopy_ref.c | 2 +- src/H5Oint.c | 2 +- src/H5P.c | 4 +- src/H5Pdapl.c | 2 +- src/H5Pdcpl.c | 2 +- src/H5Pfapl.c | 18 ++++----- src/H5S.c | 2 +- src/H5Shyper.c | 2 +- src/H5Spoint.c | 2 +- src/H5Sselect.c | 2 +- src/H5T.c | 4 +- src/H5TSprivate.h | 2 +- src/H5Tbit.c | 2 +- src/H5Tconv.c | 2 +- src/H5Toffset.c | 2 +- src/H5Tprecis.c | 2 +- src/H5VL.c | 2 +- src/H5VLcallback.c | 2 +- src/H5VLint.c | 2 +- src/H5Ztrans.c | 2 +- src/H5private.h | 2 +- test/cache.c | 11 +---- test/cache_common.c | 4 +- test/cache_common.h | 4 +- test/chunk_info.c | 16 ++++---- test/dsets.c | 12 +++--- test/enum.c | 10 ++--- test/file_image.c | 6 +-- test/h5test.c | 2 +- test/hdfs.c | 2 +- test/objcopy.c | 4 +- test/page_buffer.c | 2 +- test/reserved.c | 5 +-- test/ros3.c | 2 +- test/s3comms.c | 4 +- test/swmr_common.c | 2 +- test/swmr_reader.c | 2 +- test/swmr_sparse_writer.c | 2 +- test/th5s.c | 2 +- test/tselect.c | 4 +- test/ttsafe_rec_rw_lock.c | 6 +-- test/twriteorder.c | 2 +- testpar/t_2Gio.c | 2 +- testpar/t_bigio.c | 2 +- testpar/t_cache_image.c | 2 +- testpar/t_coll_chunk.c | 2 +- testpar/t_dset.c | 2 +- testpar/t_mdset.c | 2 +- testpar/t_ph5basic.c | 2 +- testpar/t_shapesame.c | 12 +++--- tools/lib/h5tools_utils.c | 2 +- tools/libtest/h5tools_test_utils.c | 2 +- tools/src/h5perf/perf.c | 2 +- tools/src/h5perf/pio_perf.c | 2 +- tools/src/h5repack/h5repack_copy.c | 2 +- tools/test/h5copy/h5copygentest.c | 2 +- tools/test/h5diff/h5diffgentest.c | 2 +- tools/test/h5dump/h5dumpgentest.c | 2 +- tools/test/h5format_convert/h5fc_gentest.c | 2 +- tools/test/perform/gen_report.pl | 4 +- tools/test/perform/overhead.c | 2 +- utils/mirror_vfd/mirror_writer.c | 2 +- 114 files changed, 223 insertions(+), 233 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index cba12dd..6b7960a 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -11,5 +11,5 @@ jobs: - uses: actions/checkout@v2 - uses: codespell-project/actions-codespell@master with: - skip: ./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c + skip: ./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c,./config/sanitizer/LICENSE ignore_words_list: isnt,inout,nd,parms,parm,ba,offsetP,ser,ois,had,fiter,fo,clude,refere,minnum,offsetp,creat,ans:,eiter,lastr,ans,isn't,ifset,sur,trun,dne,tthe,hda,filname,te,htmp,minnum,ro,oce,ot diff --git a/bin/warnhist b/bin/warnhist index 0150138..669cbcc 100755 --- a/bin/warnhist +++ b/bin/warnhist @@ -382,7 +382,7 @@ while (<>) { $warning =~ s/"[A-Za-z_0-9]*"/"-"/g; } - # Genericize [GCC?] C/C++ warning text about suggessted attribute + # Genericize [GCC?] C/C++ warning text about suggested attribute if($warning =~ /attribute=[A-Za-z_0-9]*\]/) { $warning =~ s/=[A-Za-z_0-9]*\]/=-\]/g; } diff --git a/c++/src/H5IntType.h b/c++/src/H5IntType.h index f0f30ac..6a469e4 100644 --- a/c++/src/H5IntType.h +++ b/c++/src/H5IntType.h @@ -41,7 +41,7 @@ class H5_DLLCPP IntType : public AtomType { // Retrieves the sign type for an integer type H5T_sign_t getSign() const; - // Sets the sign proprety for an integer type. + // Sets the sign property for an integer type. void setSign(H5T_sign_t sign) const; ///\brief Returns this class name. diff --git a/c++/test/trefer.cpp b/c++/test/trefer.cpp index 53a4ed3..776c829 100644 --- a/c++/test/trefer.cpp +++ b/c++/test/trefer.cpp @@ -450,7 +450,7 @@ test_reference_group() file1->close(); /* - * Re-open the file and test deferencing group + * Re-open the file and test dereferencing group */ // Re-open file diff --git a/config/ibm-aix b/config/ibm-aix index f48f9d8..8720db2 100644 --- a/config/ibm-aix +++ b/config/ibm-aix @@ -58,7 +58,7 @@ if test "X-" = "X-$f9x_flags_set"; then H5_FCFLAGS="$H5_FCFLAGS ${F9XSUFFIXFLAG}" FSEARCH_DIRS="-I./ -I../src" - # Produciton + # Production PROD_FCFLAGS= # Debug @@ -109,7 +109,7 @@ case $CC_BASENAME in # Use very generic flags H5_CFLAGS="$H5_CFLAGS -ansi" - # Produciton + # Production PROD_CFLAGS= # Debug diff --git a/config/ibm-flags b/config/ibm-flags index ab4b8ff..f3f247c 100644 --- a/config/ibm-flags +++ b/config/ibm-flags @@ -62,7 +62,7 @@ if test "XL" = "$cc_vendor"; then # concerning the portability of __inline__. H5_CFLAGS="-qlanglvl=stdc99 -qflag=w:w $H5_CFLAGS" - # Produciton + # Production PROD_CFLAGS= # Debug diff --git a/configure.ac b/configure.ac index 4837a73..b90ed20 100644 --- a/configure.ac +++ b/configure.ac @@ -2078,7 +2078,7 @@ fi ## beneficial in some HDF5 use cases (in callbacks, custom VOL or VFD ## connectors) so we use a custom RW lock scheme. ## -## Reqires a thread-safe library and Pthreads. +## Requires a thread-safe library and Pthreads. AC_SUBST([RECURSIVE_RW_LOCKS]) ## Default is to not use recursive RW locks diff --git a/doxygen/dox/rm-template.dox b/doxygen/dox/rm-template.dox index ebf8aed..1e9f2d7 100644 --- a/doxygen/dox/rm-template.dox +++ b/doxygen/dox/rm-template.dox @@ -46,7 +46,7 @@ the diff --git a/examples/h5_vds-eiger.c b/examples/h5_vds-eiger.c index 9608319..fcde490 100644 --- a/examples/h5_vds-eiger.c +++ b/examples/h5_vds-eiger.c @@ -128,7 +128,7 @@ main(void) for (i = 0; i < (int)num_map; i++) { printf(" Mapping %d \n", i); printf(" Selection in the virtual dataset \n"); - /* Get selection in the virttual dataset */ + /* Get selection in the virtual dataset */ vspace = H5Pget_virtual_vspace(dcpl, (size_t)i); if (H5Sget_select_type(vspace) == H5S_SEL_HYPERSLABS) { if (H5Sis_regular_hyperslab(vspace)) { diff --git a/examples/h5_vds-exc.c b/examples/h5_vds-exc.c index e03ffd8..fa6b720 100644 --- a/examples/h5_vds-exc.c +++ b/examples/h5_vds-exc.c @@ -156,7 +156,7 @@ main(void) for (i = 0; i < (int)num_map; i++) { printf(" Mapping %d \n", i); printf(" Selection in the virtual dataset \n"); - /* Get selection in the virttual dataset */ + /* Get selection in the virtual dataset */ vspace = H5Pget_virtual_vspace(dcpl, (size_t)i); if (H5Sget_select_type(vspace) == H5S_SEL_HYPERSLABS) { if (H5Sis_regular_hyperslab(vspace)) { diff --git a/examples/h5_vds-exclim.c b/examples/h5_vds-exclim.c index f7b3fdd..58ed1f8 100644 --- a/examples/h5_vds-exclim.c +++ b/examples/h5_vds-exclim.c @@ -153,7 +153,7 @@ main(void) for (i = 0; i < (int)num_map; i++) { printf(" Mapping %d \n", i); printf(" Selection in the virtual dataset \n"); - /* Get selection in the virttual dataset */ + /* Get selection in the virtual dataset */ vspace = H5Pget_virtual_vspace(dcpl, (size_t)i); if (H5Sget_select_type(vspace) == H5S_SEL_HYPERSLABS) { if (H5Sis_regular_hyperslab(vspace)) { diff --git a/examples/h5_vds-percival-unlim-maxmin.c b/examples/h5_vds-percival-unlim-maxmin.c index 507f088..9ef514d 100644 --- a/examples/h5_vds-percival-unlim-maxmin.c +++ b/examples/h5_vds-percival-unlim-maxmin.c @@ -246,7 +246,7 @@ main(void) for (i = 0; i < (int)num_map; i++) { printf(" Mapping %d \n", i); printf(" Selection in the virtual dataset \n"); - /* Get selection in the virttual dataset */ + /* Get selection in the virtual dataset */ vspace = H5Pget_virtual_vspace(dcpl, (size_t)i); if (H5Sget_select_type(vspace) == H5S_SEL_HYPERSLABS) { if (H5Sis_regular_hyperslab(vspace)) { diff --git a/examples/h5_vds-percival-unlim.c b/examples/h5_vds-percival-unlim.c index badead3..ddbcdec 100644 --- a/examples/h5_vds-percival-unlim.c +++ b/examples/h5_vds-percival-unlim.c @@ -223,7 +223,7 @@ main(void) for (i = 0; i < (int)num_map; i++) { printf(" Mapping %d \n", i); printf(" Selection in the virtual dataset \n"); - /* Get selection in the virttual dataset */ + /* Get selection in the virtual dataset */ vspace = H5Pget_virtual_vspace(dcpl, (size_t)i); if (H5Sget_select_type(vspace) == H5S_SEL_HYPERSLABS) { if (H5Sis_regular_hyperslab(vspace)) { diff --git a/examples/h5_vds-percival.c b/examples/h5_vds-percival.c index 9507931..82c8ef4 100644 --- a/examples/h5_vds-percival.c +++ b/examples/h5_vds-percival.c @@ -183,7 +183,7 @@ main(void) for (i = 0; i < (int)num_map; i++) { printf(" Mapping %d \n", i); printf(" Selection in the virtual dataset \n"); - /* Get selection in the virttual dataset */ + /* Get selection in the virtual dataset */ vspace = H5Pget_virtual_vspace(dcpl, (size_t)i); if (H5Sget_select_type(vspace) == H5S_SEL_HYPERSLABS) { if (H5Sis_regular_hyperslab(vspace)) { diff --git a/examples/h5_vds-simpleIO.c b/examples/h5_vds-simpleIO.c index cb69645..f516af9 100644 --- a/examples/h5_vds-simpleIO.c +++ b/examples/h5_vds-simpleIO.c @@ -132,7 +132,7 @@ main(void) for (i = 0; i < (int)num_map; i++) { printf(" Mapping %d \n", i); printf(" Selection in the virtual dataset "); - /* Get selection in the virttual dataset */ + /* Get selection in the virtual dataset */ vspace = H5Pget_virtual_vspace(dcpl, (size_t)i); /* Make sure it is ALL selection and then print selection. */ diff --git a/examples/h5_vds.c b/examples/h5_vds.c index 48c6d7d..e02d246 100644 --- a/examples/h5_vds.c +++ b/examples/h5_vds.c @@ -169,7 +169,7 @@ main(void) for (i = 0; i < (int)num_map; i++) { printf(" Mapping %d \n", i); printf(" Selection in the virtual dataset "); - /* Get selection in the virttual dataset */ + /* Get selection in the virtual dataset */ vspace = H5Pget_virtual_vspace(dcpl, (size_t)i); /* Make sure that this is a hyperslab selection and then print information. */ diff --git a/fortran/examples/refobjexample.f90 b/fortran/examples/refobjexample.f90 index 873b420..0d6595c 100644 --- a/fortran/examples/refobjexample.f90 +++ b/fortran/examples/refobjexample.f90 @@ -65,7 +65,7 @@ ! CALL h5gcreate_f(file_id, groupname1, grp1_id, error) ! - ! Create a group inside the created gorup + ! Create a group inside the created group ! CALL h5gcreate_f(grp1_id, groupname2, grp2_id, error) ! diff --git a/fortran/src/H5Dff.F90 b/fortran/src/H5Dff.F90 index 6b77a8c..216b005 100644 --- a/fortran/src/H5Dff.F90 +++ b/fortran/src/H5Dff.F90 @@ -746,8 +746,8 @@ CONTAINS ! element INTEGER, INTENT(IN), DIMENSION(dims(1),dims(2)), TARGET :: buf ! Data buffer INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default INTEGER(HID_T) :: mem_space_id_default @@ -800,8 +800,8 @@ CONTAINS DIMENSION(dims(1),dims(2)), TARGET :: buf ! Data buffer INTEGER, INTENT(OUT) :: hdferr ! Error code ! -1 if failed, 0 otherwise - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default INTEGER(HID_T) :: mem_space_id_default @@ -856,8 +856,8 @@ CONTAINS REAL, INTENT(IN), & DIMENSION(dims(1),dims(2)) :: buf ! Data buffer INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default @@ -911,8 +911,8 @@ CONTAINS DIMENSION(dims(1),dims(2)) :: buf ! Data buffer INTEGER, INTENT(OUT) :: hdferr ! Error code ! -1 if failed, 0 otherwise - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default @@ -967,8 +967,8 @@ CONTAINS INTEGER(SIZE_T), INTENT(IN), DIMENSION(*) :: str_len ! Array to store the length of each element CHARACTER(LEN=*), INTENT(IN), DIMENSION(dims(2)) :: buf ! Data buffer INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default @@ -1023,8 +1023,8 @@ CONTAINS CHARACTER(LEN=*), INTENT(OUT), & DIMENSION(dims(2)) :: buf ! Data buffer INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default @@ -1198,8 +1198,8 @@ CONTAINS INTEGER(HSIZE_T), DIMENSION(*), INTENT(IN) :: dims ! size of the buffer buf TYPE(hobj_ref_t_f), DIMENSION(dims(1)), INTENT(IN), TARGET :: buf ! Data buffer INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default @@ -1230,8 +1230,8 @@ CONTAINS INTEGER(HSIZE_T), DIMENSION(*), INTENT(IN) :: dims ! size of the buffer buf TYPE(hdset_reg_ref_t_f), DIMENSION(dims(1)), INTENT(IN), TARGET :: buf ! Data buffer INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default @@ -1292,8 +1292,8 @@ CONTAINS INTEGER(HSIZE_T), INTENT(IN), DIMENSION(*) :: dims CHARACTER(*), INTENT(IN), TARGET :: buf ! Data buffer INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier CALL h5dwrite_char_scalar_fix(dset_id, mem_type_id, buf, LEN(buf), dims, hdferr, & @@ -1311,8 +1311,8 @@ CONTAINS INTEGER, INTENT(IN) :: buf_len CHARACTER(LEN=buf_len), INTENT(IN), TARGET :: buf ! Data buffer INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default INTEGER(HID_T) :: mem_space_id_default @@ -1344,8 +1344,8 @@ CONTAINS TYPE(hobj_ref_t_f), INTENT(INOUT) , & DIMENSION(dims(1)), TARGET :: buf INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default @@ -1376,8 +1376,8 @@ CONTAINS TYPE(hdset_reg_ref_t_f), INTENT(INOUT), & DIMENSION(dims(1)), TARGET :: buf INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default INTEGER(HID_T) :: mem_space_id_default @@ -1438,8 +1438,8 @@ CONTAINS INTEGER(HSIZE_T), INTENT(IN), DIMENSION(*) :: dims CHARACTER(LEN=*), INTENT(INOUT) :: buf ! Data buffer INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default @@ -1468,8 +1468,8 @@ CONTAINS INTEGER, INTENT(IN) :: buf_len CHARACTER(LEN=buf_len), INTENT(INOUT), TARGET :: buf ! Data buffer INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier TYPE(C_PTR) :: f_ptr @@ -1525,8 +1525,8 @@ CONTAINS INTEGER(HID_T), INTENT(IN) :: mem_type_id ! Memory datatype identifier TYPE(C_PTR), INTENT(IN) :: buf INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default @@ -1590,8 +1590,8 @@ CONTAINS INTEGER(HID_T), INTENT(IN) :: mem_type_id ! Memory datatype identifier TYPE(C_PTR), INTENT(INOUT) :: buf INTEGER, INTENT(OUT) :: hdferr ! Error code - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier - INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identifier + INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identifier INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier INTEGER(HID_T) :: xfer_prp_default diff --git a/fortran/src/H5Iff.F90 b/fortran/src/H5Iff.F90 index 07bcb20..cda26ed 100644 --- a/fortran/src/H5Iff.F90 +++ b/fortran/src/H5Iff.F90 @@ -108,7 +108,7 @@ CONTAINS ! h5iget_name_f ! ! PURPOSE -! Gets a name of an object specified by its idetifier. +! Gets a name of an object specified by its identifier. ! ! INPUTS ! obj_id - attribute identifier diff --git a/fortran/src/H5Lff.F90 b/fortran/src/H5Lff.F90 index a568824..50d08a8 100644 --- a/fortran/src/H5Lff.F90 +++ b/fortran/src/H5Lff.F90 @@ -1418,7 +1418,7 @@ CONTAINS ! ! AUTHOR ! M. Scot Breitenfeld -! Augest 18, 2008 +! August 18, 2008 ! ! Fortran2003 Interface: SUBROUTINE h5literate_by_name_f(loc_id, group_name, index_type, order, & diff --git a/fortran/src/H5Pff.F90 b/fortran/src/H5Pff.F90 index c55b7d9..96080ce 100644 --- a/fortran/src/H5Pff.F90 +++ b/fortran/src/H5Pff.F90 @@ -3564,7 +3564,7 @@ CONTAINS SUBROUTINE h5pget_class_name_f(prp_id, name, size, hdferr) IMPLICIT NONE INTEGER(HID_T), INTENT(IN) :: prp_id ! Property list identifier - CHARACTER(LEN=*), INTENT(OUT) :: name ! Buffer to retireve class name + CHARACTER(LEN=*), INTENT(OUT) :: name ! Buffer to retrieve class name INTEGER, INTENT(OUT) :: size ! Actual length of the class name INTEGER, INTENT(OUT) :: hdferr ! Error code ! 0 on success and -1 on failure diff --git a/fortran/src/H5Tff.F90 b/fortran/src/H5Tff.F90 index 7582dab..0a11976 100644 --- a/fortran/src/H5Tff.F90 +++ b/fortran/src/H5Tff.F90 @@ -901,7 +901,7 @@ CONTAINS ! h5tset_sign_f ! ! PURPOSE -! Sets the sign proprety for an integer type. +! Sets the sign property for an integer type. ! ! INPUTS ! type_id - datatype identifier diff --git a/fortran/src/H5_ff.F90 b/fortran/src/H5_ff.F90 index 6715314..84922c3 100644 --- a/fortran/src/H5_ff.F90 +++ b/fortran/src/H5_ff.F90 @@ -901,7 +901,7 @@ CONTAINS ! ! AUTHOR ! M. Scot Breitenfeld -! Augest 25, 2008 +! August 25, 2008 ! ! ACKNOWLEDGEMENTS ! Joe Krahn diff --git a/fortran/test/tH5A.F90 b/fortran/test/tH5A.F90 index 2e76dad..7830a8a 100644 --- a/fortran/test/tH5A.F90 +++ b/fortran/test/tH5A.F90 @@ -383,41 +383,41 @@ CONTAINS CALL h5dopen_f(file_id, dsetname, dset_id, error) CALL check("h5dopen_f",error,total_error) ! - !open the String attrbute by name + !open the String attribute by name ! CALL h5aopen_name_f(dset_id, aname, attr_id, error) CALL check("h5aopen_name_f",error,total_error) ! - !open the CHARACTER attrbute by name + !open the CHARACTER attribute by name ! CALL h5aopen_name_f(dset_id, aname2, attr2_id, error) CALL check("h5aopen_name_f",error,total_error) ! - !open the DOUBLE attrbute by name + !open the DOUBLE attribute by name ! CALL h5aopen_name_f(dset_id, aname3, attr3_id, error) CALL check("h5aopen_name_f",error,total_error) ! - !open the REAL attrbute by name + !open the REAL attribute by name ! CALL h5aopen_name_f(dset_id, aname4, attr4_id, error) CALL check("h5aopen_name_f",error,total_error) ! - !open the INTEGER attrbute by name + !open the INTEGER attribute by name ! CALL h5aopen_name_f(dset_id, aname5, attr5_id, error) CALL check("h5aopen_name_f",error,total_error) ! - !open the NULL attrbute by name + !open the NULL attribute by name ! CALL h5aopen_name_f(dset_id, aname6, attr6_id, error) CALL check("h5aopen_name_f",error,total_error) ! - !get the attrbute name + !get the attribute name ! CALL h5aget_name_f(attr5_id, name_size, attr_name, error) CALL check("h5aget_name_f",error,total_error) @@ -429,44 +429,44 @@ CONTAINS END IF ! - !get the STRING attrbute space + !get the STRING attribute space ! CALL h5aget_space_f(attr_id, attr_space, error) CALL check("h5aget_space_f",error,total_error) ! - !get other attrbute space + !get other attribute space ! CALL h5aget_space_f(attr2_id, attr2_space, error) CALL check("h5aget_space_f",error,total_error) ! - !get the string attrbute datatype + !get the string attribute datatype ! CALL h5aget_type_f(attr_id, attr_type, error) CALL check("h5aget_type_f",error,total_error) ! - !get the character attrbute datatype + !get the character attribute datatype ! CALL h5aget_type_f(attr2_id, attr2_type, error) CALL check("h5aget_type_f",error,total_error) ! - !get the double attrbute datatype + !get the double attribute datatype ! CALL h5aget_type_f(attr3_id, attr3_type, error) CALL check("h5aget_type_f",error,total_error) ! - !get the real attrbute datatype + !get the real attribute datatype ! CALL h5aget_type_f(attr4_id, attr4_type, error) CALL check("h5aget_type_f",error,total_error) ! - !get the integer attrbute datatype + !get the integer attribute datatype ! CALL h5aget_type_f(attr5_id, attr5_type, error) CALL check("h5aget_type_f",error,total_error) ! - !get the null attrbute datatype + !get the null attribute datatype ! CALL h5aget_type_f(attr6_id, attr6_type, error) CALL check("h5aget_type_f",error,total_error) @@ -497,7 +497,7 @@ CONTAINS CALL check("h5aread_f",error,total_error) IF ( (aread_data(1) .NE. attr_data(1)) .OR. (aread_data(2) .NE. attr_data(2)) ) THEN - WRITE(*,*) "Read back string attrbute is wrong", aread_data(1), aread_data(2) + WRITE(*,*) "Read back string attribute is wrong", aread_data(1), aread_data(2) total_error = total_error + 1 END IF @@ -507,7 +507,7 @@ CONTAINS CALL h5aread_f(attr2_id, H5T_NATIVE_CHARACTER, aread_character_data, data_dims, error) CALL check("h5aread_f",error,total_error) IF (aread_character_data .NE. 'A' ) THEN - WRITE(*,*) "Read back character attrbute is wrong ",aread_character_data + WRITE(*,*) "Read back character attribute is wrong ",aread_character_data total_error = total_error + 1 END IF ! @@ -516,7 +516,7 @@ CONTAINS data_dims(1) = 1 CALL h5aread_f(attr3_id, H5T_NATIVE_DOUBLE, aread_double_data, data_dims, error) CALL check("h5aread_f",error,total_error) - CALL VERIFY("Read back double attrbute is wrong", aread_double_data(1),3.459_Fortran_DOUBLE,total_error) + CALL VERIFY("Read back double attribute is wrong", aread_double_data(1),3.459_Fortran_DOUBLE,total_error) ! !read the real attribute data back to memory @@ -524,7 +524,7 @@ CONTAINS data_dims(1) = 1 CALL h5aread_f(attr4_id, H5T_NATIVE_REAL, aread_real_data, data_dims, error) CALL check("h5aread_f",error,total_error) - CALL VERIFY("Read back real attrbute is wrong", aread_real_data(1),4.0,total_error) + CALL VERIFY("Read back real attribute is wrong", aread_real_data(1),4.0,total_error) ! !read the Integer attribute data back to memory ! @@ -532,7 +532,7 @@ CONTAINS CALL h5aread_f(attr5_id, H5T_NATIVE_INTEGER, aread_integer_data, data_dims, error) CALL check("h5aread_f",error,total_error) IF (aread_integer_data(1) .NE. 5 ) THEN - WRITE(*,*) "Read back integer attrbute is wrong ", aread_integer_data + WRITE(*,*) "Read back integer attribute is wrong ", aread_integer_data total_error = total_error + 1 END IF ! @@ -542,7 +542,7 @@ CONTAINS CALL h5aread_f(attr6_id, H5T_NATIVE_INTEGER, aread_null_data, data_dims, error) CALL check("h5aread_f",error,total_error) IF (aread_null_data(1) .NE. 7 ) THEN - WRITE(*,*) "Read back null attrbute is wrong ", aread_null_data + WRITE(*,*) "Read back null attribute is wrong ", aread_null_data total_error = total_error + 1 END IF diff --git a/hl/src/H5LDpublic.h b/hl/src/H5LDpublic.h index 611fcc5..363b59c 100644 --- a/hl/src/H5LDpublic.h +++ b/hl/src/H5LDpublic.h @@ -107,7 +107,7 @@ H5_HLDLL size_t H5LDget_dset_type_size(hid_t did, const char *fields); * selected from the dataset. Note that \p cur_dims must have * at least one dimension whose size is greater than the * corresponding dimension in \p prev_dims. Users can - * determine the size of buf by multipling the datatype + * determine the size of buf by multiplying the datatype * size of the dataset by the number of selected elements. * * If the parameter \p fields is NULL, this routine returns diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java index 80bb0f5..e701be3 100644 --- a/java/src/hdf/hdf5lib/H5.java +++ b/java/src/hdf/hdf5lib/H5.java @@ -2457,7 +2457,7 @@ public class H5 implements java.io.Serializable { * @param src_did * the identifier of the source dataset * @param dst_did - * the identifier of the destinaiton dataset + * the identifier of the destination dataset * * @return a non-negative value if successful * @@ -10646,7 +10646,7 @@ public class H5 implements java.io.Serializable { * @param expression * IN: Pointer to the null-terminated data transform expression * - * @return a non-negative valule if successful; otherwise returns a negative value. + * @return a non-negative value if successful; otherwise returns a negative value. * * @exception HDF5LibraryException * Error from the HDF5 Library. @@ -10887,7 +10887,7 @@ public class H5 implements java.io.Serializable { * @param crt_intermed_group * IN: Flag specifying whether to create intermediate groups upon the creation of an object * - * @return a non-negative valule if successful; otherwise returns a negative value. + * @return a non-negative value if successful; otherwise returns a negative value. * * @exception HDF5LibraryException * Error from the HDF5 Library. @@ -14894,7 +14894,7 @@ public class H5 implements java.io.Serializable { /** * @ingroup JH5T * - * H5Tset_sign sets the sign proprety for an integer type. + * H5Tset_sign sets the sign property for an integer type. * * @param type_id * IN: Identifier of datatype to set. diff --git a/release_docs/HISTORY-1_0-1_8_0_rc3.txt b/release_docs/HISTORY-1_0-1_8_0_rc3.txt index 8da8e33..2f05815 100644 --- a/release_docs/HISTORY-1_0-1_8_0_rc3.txt +++ b/release_docs/HISTORY-1_0-1_8_0_rc3.txt @@ -1245,7 +1245,7 @@ Known Problems causes failures in several HDF5 library tests. * For HPUX 11.23 many tools tests failed for 64-bit version when linked to the shared libraries (tested for 1.8.0-beta2) -* For SNL, Red Storm: only paralle HDF5 is supported. The serial tests pass +* For SNL, Red Storm: only parallel HDF5 is supported. The serial tests pass and the parallel tests also pass with lots of non-fatal error messages. * For LLNL, uP: both serial and parallel pass. Zeus: serial passes but parallel fails with a known proglem in MPI. ubgl: serial passes but diff --git a/release_docs/HISTORY-1_10.txt b/release_docs/HISTORY-1_10.txt index 4796ebb..1fc3c60 100644 --- a/release_docs/HISTORY-1_10.txt +++ b/release_docs/HISTORY-1_10.txt @@ -1436,7 +1436,7 @@ Known Problems e.g. within a single parallel test (testphdf5) the subtests (cdsetr, eidsetr) report data verification errors before eventually aborting. The most recent versions of OpenMPI (v3.1.3 or newer) have evidently - resolved these isses and parallel HDF5 testing does not currently report + resolved these issues and parallel HDF5 testing does not currently report errors though occasional hangs have been observed. Known problems in previous releases can be found in the HISTORY*.txt files @@ -2139,7 +2139,7 @@ Known Problems e.g. within a single parallel test (testphdf5) the subtests (cdsetr, eidsetr) report data verification errors before eventually aborting. The most recent versions of OpenMPI (v3.1.3 or newer) have evidently - resolved these isses and parallel HDF5 testing does not currently report + resolved these issues and parallel HDF5 testing does not currently report errors though occasional hangs have been observed. Known problems in previous releases can be found in the HISTORY*.txt files diff --git a/release_docs/HISTORY-1_8.txt b/release_docs/HISTORY-1_8.txt index 1e31010..461e0be 100644 --- a/release_docs/HISTORY-1_8.txt +++ b/release_docs/HISTORY-1_8.txt @@ -1266,7 +1266,7 @@ New Features (BMR, 2017/05/13, HDFFV-10004, HDFFV-10156) - - New class LinkAccPropList is added for link access proprety list + - New class LinkAccPropList is added for link access property list (BMR, 2017/05/13, HDFFV-10156) diff --git a/release_docs/HISTORY-1_8_0-1_10_0.txt b/release_docs/HISTORY-1_8_0-1_10_0.txt index ffdcb56..21aa053 100644 --- a/release_docs/HISTORY-1_8_0-1_10_0.txt +++ b/release_docs/HISTORY-1_8_0-1_10_0.txt @@ -1581,7 +1581,7 @@ Known Problems causes failures in several HDF5 library tests. * For HPUX 11.23 many tools tests failed for 64-bit version when linked to the shared libraries (tested for 1.8.0-beta2) -* For SNL, Red Storm: only paralle HDF5 is supported. The serial tests pass +* For SNL, Red Storm: only parallel HDF5 is supported. The serial tests pass and the parallel tests also pass with lots of non-fatal error messages. * on SUN 5.10 C++ test fails in the "Testing Shared Datatypes with Attributes" test * configuring with --enable-debug=all produces compiler errors on most diff --git a/src/H5.c b/src/H5.c index 1167382..a17e13a 100644 --- a/src/H5.c +++ b/src/H5.c @@ -210,7 +210,7 @@ H5_init_library(void) * Install atexit() library cleanup routines unless the H5dont_atexit() * has been called. Once we add something to the atexit() list it stays * there permanently, so we set H5_dont_atexit_g after we add it to prevent - * adding it again later if the library is cosed and reopened. + * adding it again later if the library is closed and reopened. */ if (!H5_dont_atexit_g) { diff --git a/src/H5ACpkg.h b/src/H5ACpkg.h index 5289e3a..0ffd5e9 100644 --- a/src/H5ACpkg.h +++ b/src/H5ACpkg.h @@ -124,7 +124,7 @@ H5FL_EXTERN(H5AC_aux_t); * Maintaining this count is easy for all processes not on process 0 -- * all that is necessary is to add the size of the entry to the total * whenever there is an insertion, a move of a previously clean entry, - * or whever a previously clean entry is marked dirty in an unprotect. + * or wherever a previously clean entry is marked dirty in an unprotect. * * On process 0, we have to be careful not to count dirty bytes twice. * If an entry is marked dirty, flushed, and marked dirty again, all @@ -293,12 +293,12 @@ H5FL_EXTERN(H5AC_aux_t); * dirtied flag set and the entry does not already appear * in the dirty entry list. * - * Entries are added to the dirty entry list whever they cause + * Entries are added to the dirty entry list wherever they cause * the dirty bytes count to be increased. They are removed * when they appear in a clean entries broadcast. Note that * moves must be reflected in the dirty entry list. * - * To reitterate, this field is only used on process 0 -- it + * To reiterate, this field is only used on process 0 -- it * should be NULL on all other processes. * * c_slist_ptr: Pointer to an instance of H5SL_t used to maintain a list diff --git a/src/H5Abtree2.c b/src/H5Abtree2.c index 54deb8a..ff9ec73 100644 --- a/src/H5Abtree2.c +++ b/src/H5Abtree2.c @@ -177,7 +177,7 @@ H5A__dense_fh_name_cmp(const void *obj, size_t obj_len, void *_udata) } /* end if */ done: - /* Release the space allocated for the attrbute */ + /* Release the space allocated for the attribute */ if (attr && !took_ownership) H5O_msg_free(H5O_ATTR_ID, attr); diff --git a/src/H5Aint.c b/src/H5Aint.c index ca43340..49d1bc4 100644 --- a/src/H5Aint.c +++ b/src/H5Aint.c @@ -2152,7 +2152,7 @@ H5A__attr_copy_file(const H5A_t *attr_src, H5F_t *file_dst, hbool_t *recompute_s if ((tid_mem = H5I_register(H5I_DATATYPE, dt_mem, FALSE)) < 0) HGOTO_ERROR(H5E_DATATYPE, H5E_CANTREGISTER, NULL, "unable to register memory datatype") - /* create variable-length datatype at the destinaton file */ + /* create variable-length datatype at the destination file */ if ((tid_dst = H5I_register(H5I_DATATYPE, attr_dst->shared->dt, FALSE)) < 0) HGOTO_ERROR(H5E_DATATYPE, H5E_CANTREGISTER, NULL, "unable to register destination file datatype") diff --git a/src/H5B.c b/src/H5B.c index 25a2077..0abf09f 100644 --- a/src/H5B.c +++ b/src/H5B.c @@ -1458,7 +1458,7 @@ H5B__remove_helper(H5F_t *f, haddr_t addr, const H5B_class_t *type, int level, u */ if (type->critical_key == H5B_LEFT) /* Slide the rightmost key down one, overwriting the left key of - * the deleted (righmost) child */ + * the deleted (rightmost) child */ HDmemmove(H5B_NKEY(bt, shared, bt->nchildren - 1), H5B_NKEY(bt, shared, bt->nchildren), type->sizeof_nkey); else { diff --git a/src/H5B2internal.c b/src/H5B2internal.c index 6836aba..13c4fa1 100644 --- a/src/H5B2internal.c +++ b/src/H5B2internal.c @@ -17,7 +17,7 @@ * Dec 01 2016 * Quincey Koziol * - * Purpose: Routines for managing v2 B-tree internal ndoes. + * Purpose: Routines for managing v2 B-tree internal nodes. * *------------------------------------------------------------------------- */ diff --git a/src/H5B2leaf.c b/src/H5B2leaf.c index 3603fc3..6f73ce8 100644 --- a/src/H5B2leaf.c +++ b/src/H5B2leaf.c @@ -17,7 +17,7 @@ * Dec 01 2016 * Quincey Koziol * - * Purpose: Routines for managing v2 B-tree leaf ndoes. + * Purpose: Routines for managing v2 B-tree leaf nodes. * *------------------------------------------------------------------------- */ diff --git a/src/H5C.c b/src/H5C.c index 0996808..b2ff257 100644 --- a/src/H5C.c +++ b/src/H5C.c @@ -362,7 +362,7 @@ H5C_create(size_t max_cache_size, size_t min_clean_size, int max_type_id, cache_ptr->slist_size = (size_t)0; /* slist_ring_len, slist_ring_size, and - * slist_ptr initializaed above. + * slist_ptr initialized above. */ #if H5C_DO_SANITY_CHECKS @@ -2982,7 +2982,7 @@ H5C_set_slist_enabled(H5C_t *cache_ptr, hbool_t slist_enabled, hbool_t clear_sli } /* set cache_ptr->slist_enabled to TRUE so that the slist - * mainenance macros will be enabled. + * maintenance macros will be enabled. */ cache_ptr->slist_enabled = TRUE; @@ -4089,7 +4089,7 @@ H5C_destroy_flush_dependency(void *parent_thing, void *child_thing) "can't notify parent about child entry serialized flag set") } /* end if */ - /* Shrink or free the parent array if apporpriate */ + /* Shrink or free the parent array if appropriate */ if (child_entry->flush_dep_nparents == 0) { child_entry->flush_dep_parent = H5FL_SEQ_FREE(H5C_cache_entry_ptr_t, child_entry->flush_dep_parent); child_entry->flush_dep_parent_nalloc = 0; diff --git a/src/H5CX.c b/src/H5CX.c index 406f6d8..54e1a2d 100644 --- a/src/H5CX.c +++ b/src/H5CX.c @@ -237,7 +237,7 @@ typedef struct H5CX_t { H5FD_mpio_chunk_opt_t mpio_chunk_opt_mode; /* Collective chunk option (H5D_XFER_MPIO_CHUNK_OPT_HARD_NAME) */ hbool_t mpio_chunk_opt_mode_valid; /* Whether collective chunk option is valid */ - unsigned mpio_chunk_opt_num; /* Collective chunk thrreshold (H5D_XFER_MPIO_CHUNK_OPT_NUM_NAME) */ + unsigned mpio_chunk_opt_num; /* Collective chunk threshold (H5D_XFER_MPIO_CHUNK_OPT_NUM_NAME) */ hbool_t mpio_chunk_opt_num_valid; /* Whether collective chunk threshold is valid */ unsigned mpio_chunk_opt_ratio; /* Collective chunk ratio (H5D_XFER_MPIO_CHUNK_OPT_RATIO_NAME) */ hbool_t mpio_chunk_opt_ratio_valid; /* Whether collective chunk ratio is valid */ @@ -371,7 +371,7 @@ typedef struct H5CX_dxpl_cache_t { (H5D_MPIO_GLOBAL_NO_COLLECTIVE_CAUSE_NAME) */ H5FD_mpio_chunk_opt_t mpio_chunk_opt_mode; /* Collective chunk option (H5D_XFER_MPIO_CHUNK_OPT_HARD_NAME) */ - unsigned mpio_chunk_opt_num; /* Collective chunk thrreshold (H5D_XFER_MPIO_CHUNK_OPT_NUM_NAME) */ + unsigned mpio_chunk_opt_num; /* Collective chunk threshold (H5D_XFER_MPIO_CHUNK_OPT_NUM_NAME) */ unsigned mpio_chunk_opt_ratio; /* Collective chunk ratio (H5D_XFER_MPIO_CHUNK_OPT_RATIO_NAME) */ #endif /* H5_HAVE_PARALLEL */ H5Z_EDC_t err_detect; /* Error detection info (H5D_XFER_EDC_NAME) */ diff --git a/src/H5Cpkg.h b/src/H5Cpkg.h index 61c3afc..f3aa87f 100644 --- a/src/H5Cpkg.h +++ b/src/H5Cpkg.h @@ -4726,7 +4726,7 @@ typedef struct H5C_tag_info_t { * * Fields for tracking prefetched entries. Note that flushes and evictions * of prefetched entries are tracked in the flushes and evictions arrays - * discused above. + * discussed above. * * prefetches: Number of prefetched entries that are loaded to the * cache. diff --git a/src/H5Cprivate.h b/src/H5Cprivate.h index 1033ce0..fdbc116 100644 --- a/src/H5Cprivate.h +++ b/src/H5Cprivate.h @@ -924,7 +924,7 @@ typedef herr_t (*H5C_log_flush_func_t)(H5C_t *cache_ptr, haddr_t addr, hbool_t w * instead would apply unnecessary constraints on flushes under normal * operating circumstances. * - * As of this writing, all metadata entries pretaining to data sets and + * As of this writing, all metadata entries pertaining to data sets and * groups must be flushed first, and are thus assigned to the outermost * ring. * diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c index e0eaaeb..5ef2e31 100644 --- a/src/H5Dchunk.c +++ b/src/H5Dchunk.c @@ -1038,7 +1038,7 @@ H5D__chunk_is_space_alloc(const H5O_storage_t *storage) * Return: Non-negative on success/Negative on failure * * Programmer: Neil Fortner - * Wednessday, March 6, 2016 + * Wednesday, March 6, 2016 * *------------------------------------------------------------------------- */ @@ -1641,7 +1641,7 @@ H5D__create_chunk_file_map_all(H5D_chunk_map_t *fm, const H5D_io_info_t coords[u] = 0; end[u] = fm->chunk_dim[u] - 1; - /* Iniitialize partial chunk dimension information */ + /* Initialize partial chunk dimension information */ partial_dim_size[u] = file_dims[u] % fm->chunk_dim[u]; if (file_dims[u] < fm->chunk_dim[u]) { curr_partial_clip[u] = partial_dim_size[u]; @@ -6385,7 +6385,7 @@ H5D__chunk_copy(H5F_t *f_src, H5O_storage_chunk_t *storage_src, H5O_layout_chunk HGOTO_ERROR(H5E_DATATYPE, H5E_CANTREGISTER, FAIL, "unable to register memory datatype") } /* end if */ - /* create variable-length datatype at the destinaton file */ + /* create variable-length datatype at the destination file */ if (NULL == (dt_dst = H5T_copy(dt_src, H5T_COPY_TRANSIENT))) HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "unable to copy") if (H5T_set_loc(dt_dst, H5F_VOL_OBJ(f_dst), H5T_LOC_DISK) < 0) { diff --git a/src/H5Dcompact.c b/src/H5Dcompact.c index ab0c612..c8e46ab 100644 --- a/src/H5Dcompact.c +++ b/src/H5Dcompact.c @@ -461,7 +461,7 @@ H5D__compact_copy(H5F_t *f_src, H5O_storage_compact_t *_storage_src, H5F_t *f_ds HGOTO_ERROR(H5E_DATATYPE, H5E_CANTREGISTER, FAIL, "unable to register memory datatype") } /* end if */ - /* create variable-length datatype at the destinaton file */ + /* create variable-length datatype at the destination file */ if (NULL == (dt_dst = H5T_copy(dt_src, H5T_COPY_TRANSIENT))) HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "unable to copy") if (H5T_set_loc(dt_dst, H5F_VOL_OBJ(f_dst), H5T_LOC_DISK) < 0) { diff --git a/src/H5Dcontig.c b/src/H5Dcontig.c index 05ecc40..00916f3 100644 --- a/src/H5Dcontig.c +++ b/src/H5Dcontig.c @@ -538,7 +538,7 @@ H5D__contig_is_space_alloc(const H5O_storage_t *storage) * Return: Non-negative on success/Negative on failure * * Programmer: Neil Fortner - * Wednessday, March 6, 2016 + * Wednesday, March 6, 2016 * *------------------------------------------------------------------------- */ @@ -1384,7 +1384,7 @@ H5D__contig_copy(H5F_t *f_src, const H5O_storage_contig_t *storage_src, H5F_t *f HGOTO_ERROR(H5E_DATASET, H5E_CANTREGISTER, FAIL, "unable to register memory datatype") } /* end if */ - /* create variable-length datatype at the destinaton file */ + /* create variable-length datatype at the destination file */ if (NULL == (dt_dst = H5T_copy(dt_src, H5T_COPY_TRANSIENT))) HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to copy") if (H5T_set_loc(dt_dst, H5F_VOL_OBJ(f_dst), H5T_LOC_DISK) < 0) { diff --git a/src/H5Dint.c b/src/H5Dint.c index a01bd3e..d38222a 100644 --- a/src/H5Dint.c +++ b/src/H5Dint.c @@ -3146,7 +3146,7 @@ H5D__set_extent(H5D_t *dset, const hsize_t *size) } /*------------------------------------------------------------------------- * Remove chunk information in the case of chunked datasets - * This removal takes place only in case we are shrinking the dateset + * This removal takes place only in case we are shrinking the dataset * and if the chunks are written *------------------------------------------------------------------------- */ diff --git a/src/H5Dvirtual.c b/src/H5Dvirtual.c index 71e35b3..7865e46 100644 --- a/src/H5Dvirtual.c +++ b/src/H5Dvirtual.c @@ -2332,7 +2332,7 @@ H5D__virtual_is_space_alloc(const H5O_storage_t H5_ATTR_UNUSED *storage) * Return: Non-negative on success/Negative on failure * * Programmer: Neil Fortner - * Wednessday, March 6, 2016 + * Wednesday, March 6, 2016 * *------------------------------------------------------------------------- */ diff --git a/src/H5FDmirror.c b/src/H5FDmirror.c index b6d18c8..f7f79fc 100644 --- a/src/H5FDmirror.c +++ b/src/H5FDmirror.c @@ -339,7 +339,7 @@ H5FD__mirror_xmit_decode_uint32(uint32_t *out, const unsigned char *_buf) * * Purpose: Determine whether the host machine is is little-endian. * - * Store an intger with a known value, re-map the memory to a + * Store an integer with a known value, re-map the memory to a * character array, and inspect the array's contents. * * Return: The number of bytes written to the buffer (8). @@ -1570,7 +1570,7 @@ H5FD__mirror_query(const H5FD_t H5_ATTR_UNUSED *_file, unsigned long *flags) LOG_OP_CALL(FUNC); /* Notice: the Mirror VFD Writer currently uses only the Sec2 driver as - * the underying driver -- as such, the Mirror VFD implementation copies + * the underlying driver -- as such, the Mirror VFD implementation copies * the Sec2 feature flags as its own. * * File pointer is always NULL/unused -- the H5FD_FEAT_IGNORE_DRVRINFO flag diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c index 94610d3..16f4874 100644 --- a/src/H5FDsec2.c +++ b/src/H5FDsec2.c @@ -549,7 +549,7 @@ H5FD__sec2_query(const H5FD_t *_file, unsigned long *flags /* out */) /* Set the VFL feature flags that this driver supports */ /* Notice: the Mirror VFD Writer currently uses only the Sec2 driver as - * the underying driver -- as such, the Mirror VFD implementation copies + * the underlying driver -- as such, the Mirror VFD implementation copies * these feature flags as its own. Any modifications made here must be * reflected in H5FDmirror.c * -- JOS 2020-01-13 diff --git a/src/H5Gtraverse.c b/src/H5Gtraverse.c index 4f962eb..da8657c 100644 --- a/src/H5Gtraverse.c +++ b/src/H5Gtraverse.c @@ -191,7 +191,7 @@ H5G__traverse_ud(const H5G_loc_t *grp_loc /*in,out*/, const H5O_link_t *lnk, H5G /* User-defined callback function */ #ifndef H5_NO_DEPRECATED_SYMBOLS - /* (Backwardly compatible with v0 H5L_class_t traverssal callback) */ + /* (Backward-compatible with v0 H5L_class_t traversal callback) */ if (link_class->version == H5L_LINK_CLASS_T_VERS_0) cb_return = (((const H5L_class_0_t *)link_class)->trav_func)(lnk->name, cur_grp, lnk->u.ud.udata, lnk->u.ud.size, H5CX_get_lapl()); diff --git a/src/H5HFsection.c b/src/H5HFsection.c index e789f6c..573bf92 100644 --- a/src/H5HFsection.c +++ b/src/H5HFsection.c @@ -2292,7 +2292,7 @@ H5HF__sect_indirect_for_row(H5HF_hdr_t *hdr, H5HF_indirect_t *iblock, H5HF_free_ (sect->u.indirect.dir_rows = (H5HF_free_section_t **)H5MM_malloc(sizeof(H5HF_free_section_t *)))) HGOTO_ERROR(H5E_HEAP, H5E_NOSPACE, NULL, "allocation failed for row section pointer array") - /* Atatch the new row section to indirect section */ + /* Attach the new row section to indirect section */ sect->u.indirect.dir_rows[0] = row_sect; sect->u.indirect.rc = 1; diff --git a/src/H5L.c b/src/H5L.c index 997c68c..3198644 100644 --- a/src/H5L.c +++ b/src/H5L.c @@ -2951,7 +2951,7 @@ H5L__exists_inter_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc /*in*/, const char H5_ATT if (lnk != NULL) { /* Check for more components to the path */ if (udata->sep) { - H5G_traverse_t cb_func; /* Callback function for tranversal */ + H5G_traverse_t cb_func; /* Callback function for traversal */ char *next; /* Pointer to next component name */ /* Look for another separator */ @@ -3002,7 +3002,7 @@ htri_t H5L_exists_tolerant(const H5G_loc_t *loc, const char *name) { H5L_trav_le_t udata; /* User data for traversal */ - H5G_traverse_t cb_func; /* Callback function for tranversal */ + H5G_traverse_t cb_func; /* Callback function for traversal */ char *name_copy = NULL; /* Duplicate of name */ char *name_trav; /* Name to traverse */ htri_t ret_value = FAIL; /* Return value */ diff --git a/src/H5Ocopy_ref.c b/src/H5Ocopy_ref.c index dbe10e1..04988eb 100644 --- a/src/H5Ocopy_ref.c +++ b/src/H5Ocopy_ref.c @@ -318,7 +318,7 @@ H5O__copy_expand_ref_object2(H5O_loc_t *src_oloc, hid_t tid_src, H5T_t *dt_src, HGOTO_ERROR(H5E_OHDR, H5E_CANTREGISTER, FAIL, "unable to register memory datatype") } /* end if */ - /* create reference datatype at the destinaton file */ + /* create reference datatype at the destination file */ if (NULL == (dt_dst = H5T_copy(dt_src, H5T_COPY_TRANSIENT))) HGOTO_ERROR(H5E_OHDR, H5E_CANTINIT, FAIL, "unable to copy") if (H5T_set_loc(dt_dst, H5F_VOL_OBJ(dst_oloc->file), H5T_LOC_DISK) < 0) { diff --git a/src/H5Oint.c b/src/H5Oint.c index b729c6a..82bdd10 100644 --- a/src/H5Oint.c +++ b/src/H5Oint.c @@ -1441,7 +1441,7 @@ H5O_touch(const H5O_loc_t *loc, hbool_t force) /* Create/Update the modification time message */ if (H5O_touch_oh(loc->file, oh, force) < 0) - HGOTO_ERROR(H5E_OHDR, H5E_CANTSET, FAIL, "unable to update object modificaton time") + HGOTO_ERROR(H5E_OHDR, H5E_CANTSET, FAIL, "unable to update object modification time") /* Mark object header as changed */ oh_flags |= H5AC__DIRTIED_FLAG; diff --git a/src/H5P.c b/src/H5P.c index 9faed64..b42bd1a 100644 --- a/src/H5P.c +++ b/src/H5P.c @@ -664,7 +664,7 @@ H5Pset(hid_t plist_id, const char *name, const void *value) if (!name || !*name) HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid property name"); if (value == NULL) - HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalied property value"); + HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid property value"); /* Go set the value */ if (H5P_set(plist, name, value) < 0) @@ -1276,7 +1276,7 @@ H5Pget(hid_t plist_id, const char *name, void *value) if (!name || !*name) HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid property name"); if (value == NULL) - HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalied property value"); + HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid property value"); /* Go get the value */ if (H5P_get(plist, name, value) < 0) diff --git a/src/H5Pdapl.c b/src/H5Pdapl.c index 37a3be8..0ce0efd 100644 --- a/src/H5Pdapl.c +++ b/src/H5Pdapl.c @@ -739,7 +739,7 @@ H5P__dapl_efile_pref_close(const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSE * Purpose: Set the number of objects in the meta data cache and the * maximum number of chunks and bytes in the raw data chunk cache. * Once set, these values will override the values in the file access - * property list. Each of thhese values can be individually unset + * property list. Each of these values can be individually unset * (or not set at all) by passing the macros: * H5D_CHUNK_CACHE_NCHUNKS_DEFAULT, * H5D_CHUNK_CACHE_NSLOTS_DEFAULT, and/or diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c index 03b36f8..8b13d4d 100644 --- a/src/H5Pdcpl.c +++ b/src/H5Pdcpl.c @@ -1717,7 +1717,7 @@ done: * Failure: Negative * * Programmer: Neil Fortner - * Thurday, Feb 26, 2015 + * Thursday, Feb 26, 2015 * *-------------------------------------------------------------------------- */ diff --git a/src/H5Pfapl.c b/src/H5Pfapl.c index 5382148..4f0b66c 100644 --- a/src/H5Pfapl.c +++ b/src/H5Pfapl.c @@ -903,7 +903,7 @@ done: * * Purpose: Set the file driver (DRIVER_ID) for a file access * property list (PLIST_ID) and supply an optional - * struct containing the driver-specific properites + * struct containing the driver-specific properties * (DRIVER_INFO). The driver properties will be copied into the * property list and the reference count on the driver will be * incremented, allowing the caller to close the driver ID but @@ -950,7 +950,7 @@ done: * * Purpose: Set the file driver (DRIVER_ID) for a file access * property list (PLIST_ID) and supply an optional - * struct containing the driver-specific properites + * struct containing the driver-specific properties * (DRIVER_INFO). The driver properties will be copied into the * property list and the reference count on the driver will be * incremented, allowing the caller to close the driver ID but @@ -2583,7 +2583,7 @@ done: * Return: Non-negative on success/Negative on failure * * Programmer: Jacob Gruber - * Thurday, August 11, 2011 + * Thursday, August 11, 2011 * *------------------------------------------------------------------------- */ @@ -2680,7 +2680,7 @@ done: * Return: Non-negative on success/Negative on failure * * Programmer: Jacob Gruber - * Thurday, August 11, 2011 + * Thursday, August 11, 2011 * *------------------------------------------------------------------------- */ @@ -2755,7 +2755,7 @@ done: * Return: Non-negative on success/Negative on failure * * Programmer: Jacob Gruber - * Thurday, August 11, 2011 + * Thursday, August 11, 2011 * *------------------------------------------------------------------------- */ @@ -2831,7 +2831,7 @@ done: * Return: Non-negative on success/Negative on failure * * Programmer: Jacob Gruber - * Thurday, August 11, 2011 + * Thursday, August 11, 2011 * *------------------------------------------------------------------------- */ @@ -3233,7 +3233,7 @@ done: * Return: Non-negative on success/Negative on failure * * Programmer: Jacob Gruber - * Thurday, August 11, 2011 + * Thursday, August 11, 2011 * *------------------------------------------------------------------------- */ @@ -3263,7 +3263,7 @@ done: * Return: Non-negative on success/Negative on failure * * Programmer: Jacob Gruber - * Thurday, August 11, 2011 + * Thursday, August 11, 2011 * *------------------------------------------------------------------------- */ @@ -3362,7 +3362,7 @@ done: * Return: Non-negative on success/Negative on failure * * Programmer: Jacob Gruber - * Thurday, August 11, 2011 + * Thursday, August 11, 2011 * *------------------------------------------------------------------------- */ diff --git a/src/H5S.c b/src/H5S.c index 489625c..6575b6f 100644 --- a/src/H5S.c +++ b/src/H5S.c @@ -1985,7 +1985,7 @@ done: htri_t H5S_extent_equal(ds1, ds2) H5S_t *ds1, *ds2; IN: Dataspace objects to compare RETURNS - TRUE if equal, FALSE if unequal on succeess/Negative on failure + TRUE if equal, FALSE if unequal on success/Negative on failure DESCRIPTION Compare two dataspaces if their extents are identical. --------------------------------------------------------------------------*/ diff --git a/src/H5Shyper.c b/src/H5Shyper.c index c58a63a..cf22f25 100644 --- a/src/H5Shyper.c +++ b/src/H5Shyper.c @@ -3513,7 +3513,7 @@ done: USAGE hssize_t H5S__hyper_get_enc_size_real(max_size, enc_size) hsize_t max_size: IN: The maximum size of the hyperslab selection info - unint8_t *enc_size: OUT:The encoding size + uint8_t *enc_size: OUT:The encoding size RETURNS The size to encode hyperslab selection info DESCRIPTION diff --git a/src/H5Spoint.c b/src/H5Spoint.c index 01db1f6..5b3a9b3 100644 --- a/src/H5Spoint.c +++ b/src/H5Spoint.c @@ -1059,7 +1059,7 @@ H5S__point_get_version_enc_size(const H5S_t *space, uint32_t *version, uint8_t * hsize_t bounds_start[H5S_MAX_RANK]; /* Starting coordinate of bounding box */ hsize_t bounds_end[H5S_MAX_RANK]; /* Opposite coordinate of bounding box */ hsize_t max_size = 0; /* Maximum selection size */ - unsigned u; /* Local index veriable */ + unsigned u; /* Local index variable */ herr_t ret_value = SUCCEED; /* Return value */ FUNC_ENTER_STATIC diff --git a/src/H5Sselect.c b/src/H5Sselect.c index cadd649..8ac684a 100644 --- a/src/H5Sselect.c +++ b/src/H5Sselect.c @@ -2476,7 +2476,7 @@ H5S_select_fill(const void *fill, size_t fill_size, H5S_t *space, void *_buf) /* Loop, while elements left in selection */ while (max_elem > 0) { size_t nseq; /* Number of sequences generated */ - size_t curr_seq; /* Current sequnce being worked on */ + size_t curr_seq; /* Current sequence being worked on */ size_t nelem; /* Number of elements used in sequences */ /* Get the sequences of bytes */ diff --git a/src/H5T.c b/src/H5T.c index 5b913ac..0f0b702 100644 --- a/src/H5T.c +++ b/src/H5T.c @@ -2734,7 +2734,7 @@ done: * All arguments are optional. Missing arguments are wild cards. * The special no-op path cannot be removed. * - * Return: Succeess: non-negative + * Return: Success: non-negative * Failure: negative * * Programmer: Robb Matzke @@ -2838,7 +2838,7 @@ H5T__unregister(H5T_pers_t pers, const char *name, H5T_t *src, H5T_t *dst, H5T_c * All arguments are optional. Missing arguments are wild cards. * The special no-op path cannot be removed. * - * Return: Succeess: non-negative + * Return: Success: non-negative * * Failure: negative * diff --git a/src/H5TSprivate.h b/src/H5TSprivate.h index 7bcf34d..095f1c1 100644 --- a/src/H5TSprivate.h +++ b/src/H5TSprivate.h @@ -260,7 +260,7 @@ typedef struct H5TS_rw_lock_stats_t { * Structure H5TS_rw_lock_t * * A read / write lock, is a lock that allows either an arbitrary number - * of readers, or a single writer into a critical region. A recurssive + * of readers, or a single writer into a critical region. A recursive * lock is one that allows a thread that already has a lock (be it read or * write) to successfully request the lock again, only dropping the lock * when the number of un-lock calls equals the number of lock calls. diff --git a/src/H5Tbit.c b/src/H5Tbit.c index 20f3855..5a3ce1e 100644 --- a/src/H5Tbit.c +++ b/src/H5Tbit.c @@ -372,7 +372,7 @@ H5T__bit_set(uint8_t *buf, size_t offset, size_t size, hbool_t value) * Purpose: Finds the first bit with the specified VALUE within a region * of a bit vector. The region begins at OFFSET and continues * for SIZE bits, but the region can be searched from the least - * significat end toward the most significant end(H5T_BIT_LSB + * significant end toward the most significant end(H5T_BIT_LSB * as DIRECTION), or from the most significant end to the least * significant end(H5T_BIT_MSB as DIRECTION). * diff --git a/src/H5Tconv.c b/src/H5Tconv.c index 4d3e1f1..62983cf 100644 --- a/src/H5Tconv.c +++ b/src/H5Tconv.c @@ -5077,7 +5077,7 @@ H5T__conv_s_s(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts, siz break; default: - HGOTO_ERROR(H5E_DATATYPE, H5E_UNSUPPORTED, FAIL, "unknown converson command") + HGOTO_ERROR(H5E_DATATYPE, H5E_UNSUPPORTED, FAIL, "unknown conversion command") } /* end switch */ done: diff --git a/src/H5Toffset.c b/src/H5Toffset.c index b206dca..cccede6 100644 --- a/src/H5Toffset.c +++ b/src/H5Toffset.c @@ -70,7 +70,7 @@ H5Tget_offset(hid_t type_id) /* Get offset */ if ((ret_value = H5T_get_offset(dt)) < 0) - HGOTO_ERROR(H5E_DATATYPE, H5E_UNSUPPORTED, FAIL, "cant't get offset for specified datatype") + HGOTO_ERROR(H5E_DATATYPE, H5E_UNSUPPORTED, FAIL, "can't get offset for specified datatype") done: FUNC_LEAVE_API(ret_value) diff --git a/src/H5Tprecis.c b/src/H5Tprecis.c index 1dc0073..168bfc8 100644 --- a/src/H5Tprecis.c +++ b/src/H5Tprecis.c @@ -59,7 +59,7 @@ H5Tget_precision(hid_t type_id) /* Get precision */ if ((ret_value = H5T_get_precision(dt)) == 0) - HGOTO_ERROR(H5E_DATATYPE, H5E_UNSUPPORTED, 0, "cant't get precision for specified datatype") + HGOTO_ERROR(H5E_DATATYPE, H5E_UNSUPPORTED, 0, "can't get precision for specified datatype") done: FUNC_LEAVE_API(ret_value) diff --git a/src/H5VL.c b/src/H5VL.c index c43171f..3fe498f 100644 --- a/src/H5VL.c +++ b/src/H5VL.c @@ -12,7 +12,7 @@ /* * Purpose: The Virtual Object Layer as described in documentation. - * The pupose is to provide an abstraction on how to access the + * The purpose is to provide an abstraction on how to access the * underlying HDF5 container, whether in a local file with * a specific file format, or remotely on other machines, etc... */ diff --git a/src/H5VLcallback.c b/src/H5VLcallback.c index 0af2a9c..9645384 100644 --- a/src/H5VLcallback.c +++ b/src/H5VLcallback.c @@ -12,7 +12,7 @@ /* * Purpose: The Virtual Object Layer as described in documentation. - * The pupose is to provide an abstraction on how to access the + * The purpose is to provide an abstraction on how to access the * underlying HDF5 container, whether in a local file with * a specific file format, or remotely on other machines, etc... */ diff --git a/src/H5VLint.c b/src/H5VLint.c index 3d586c4..b9ef8d9 100644 --- a/src/H5VLint.c +++ b/src/H5VLint.c @@ -12,7 +12,7 @@ /* * Purpose: The Virtual Object Layer as described in documentation. - * The pupose is to provide an abstraction on how to access the + * The purpose is to provide an abstraction on how to access the * underlying HDF5 container, whether in a local file with * a specific file format, or remotely on other machines, etc... */ diff --git a/src/H5Ztrans.c b/src/H5Ztrans.c index ae59ca5..6fb6940 100644 --- a/src/H5Ztrans.c +++ b/src/H5Ztrans.c @@ -363,7 +363,7 @@ H5Z__unget_token(H5Z_token *current) * kept internal to the H5Z_token and handled by this and the * unget_H5Z_token function. * - * Return: Succeess: The passed in H5Z_token with a valid tok_type + * Return: Success: The passed in H5Z_token with a valid tok_type * field. * Failure: The passed in H5Z_token but with the tok_type * field set to ERROR. diff --git a/src/H5private.h b/src/H5private.h index b5c9d3a..e470f17 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -84,7 +84,7 @@ /* * The `struct stat' data type for stat() and fstat(). This is a POSIX file - * but often apears on non-POSIX systems also. The `struct stat' is required + * but often appears on non-POSIX systems also. The `struct stat' is required * for HDF5 to compile, although only a few fields are actually used. */ #ifdef H5_HAVE_SYS_STAT_H diff --git a/test/cache.c b/test/cache.c index 57b7fef..f6f9074 100644 --- a/test/cache.c +++ b/test/cache.c @@ -9853,15 +9853,6 @@ check_flush_cache__flush_op_eviction_test(H5F_t *file_ptr) * Programmer: John Mainzer * 1/12/05 * - * Modifications: - * - * JRM -- 3/29/06 - * Added tests for pinned entries. - * - * JRM -- 5/17/06 - * Complete reqrite of pinned entry tests to accommodate - * the new H5C_mark_entry_dirty() call. - * *------------------------------------------------------------------------- */ @@ -33492,7 +33483,7 @@ cedds__H5C_flush_invalidate_cache__bucket_scan(H5F_t *file_ptr) if (pass) { - /* load the entry that will have a flush dependencey with (MET, 0), + /* load the entry that will have a flush dependency with (MET, 0), * thus preventing it from being flushed on the first pass through * the skip list. */ diff --git a/test/cache_common.c b/test/cache_common.c index 65da724..ce6d941 100644 --- a/test/cache_common.c +++ b/test/cache_common.c @@ -922,7 +922,7 @@ notify_image_len(const void *thing, size_t *image_length) /*------------------------------------------------------------------------- * Function: pre_serialize & friends * - * Purpose: Pre_serialize the supplied entry. For now this consistes of + * Purpose: Pre_serialize the supplied entry. For now this consists of * executing any flush operations and loading the appropriate * values into *new_addr_ptr, *new_len_ptr, and *flags_ptr. * @@ -1086,7 +1086,7 @@ notify_pre_serialize(H5F_t *f, void *thing, haddr_t addr, size_t len, haddr_t *n /*------------------------------------------------------------------------- * Function: serialize & friends * - * Purpose: Serialize the supplied entry. For now this consistes of + * Purpose: Serialize the supplied entry. For now this consists of * loading the type and index of the entry into the first * three bytes of the image (if it is long enough -- if not * just load the low order byte of the index into the first diff --git a/test/cache_common.h b/test/cache_common.h index acc05f0..24ce509 100644 --- a/test/cache_common.h +++ b/test/cache_common.h @@ -253,7 +253,7 @@ typedef struct flush_op { typedef enum test_entry_action_t { TEST_ENTRY_ACTION_NUL = 0, /* No action on entry */ - TEST_ENTRY_ACTION_MOVE /* Entry is beging moved */ + TEST_ENTRY_ACTION_MOVE /* Entry is being moved */ } test_entry_action_t; typedef struct test_entry_t { @@ -372,7 +372,7 @@ typedef struct test_entry_t { * been resized by a resize flush * op, and the flush function has * not yet returned, This field is - * used to turn off overactive santity + * used to turn off overactive sanity * checking code that would otherwise * cause a false test failure. */ diff --git a/test/chunk_info.c b/test/chunk_info.c index 563334c..bcb3b5f 100644 --- a/test/chunk_info.c +++ b/test/chunk_info.c @@ -921,7 +921,7 @@ test_chunk_info_single_chunk(const char *filename, hid_t fapl) if (ret != FAIL) TEST_ERROR - /* Release resourse */ + /* Release resource */ if (H5Dclose(dset) < 0) TEST_ERROR if (H5Sclose(dspace) < 0) @@ -1038,7 +1038,7 @@ test_chunk_info_implicit(char *filename, hid_t fapl) FAIL_PUTS_ERROR("Verification of H5Dget_chunk_info_by_coord failed\n"); } - /* Release resourse */ + /* Release resource */ if (H5Dclose(dset) < 0) TEST_ERROR if (H5Sclose(dspace) < 0) @@ -1183,7 +1183,7 @@ test_chunk_info_fixed_array(const char *filename, hid_t fapl) /* Read and verify values of selected chunks */ if (verify_selected_chunks(dset, H5P_DEFAULT, start, end) < 0) - /* Release resourse */ + /* Release resource */ if (H5Dclose(dset) < 0) TEST_ERROR if (H5Sclose(dspace) < 0) @@ -1332,7 +1332,7 @@ test_chunk_info_extensible_array(const char *filename, hid_t fapl) /* Read and verify values of selected chunks */ if (verify_selected_chunks(dset, H5P_DEFAULT, start, end) < 0) - /* Release resourse */ + /* Release resource */ if (H5Dclose(dset) < 0) TEST_ERROR if (H5Sclose(dspace) < 0) @@ -1481,7 +1481,7 @@ test_chunk_info_version2_btrees(const char *filename, hid_t fapl) /* Read and verify values of selected chunks */ if (verify_selected_chunks(dset, H5P_DEFAULT, start, end) < 0) - /* Release resourse */ + /* Release resource */ if (H5Dclose(dset) < 0) TEST_ERROR if (H5Sclose(dspace) < 0) @@ -1745,7 +1745,7 @@ test_basic_query(hid_t fapl) if (cptr != &(chunk_infos[1])) FAIL_PUTS_ERROR("Verification of halted iterator failed"); - /* Release resourse */ + /* Release resource */ if (H5Dclose(dset) < 0) TEST_ERROR if (H5Sclose(dspace) < 0) @@ -1874,7 +1874,7 @@ test_failed_attempts(const char *filename, hid_t fapl) if (ret != FAIL) FAIL_PUTS_ERROR(" Attempt a chunk query function on a contiguous dataset.") - /* Release resourse */ + /* Release resource */ if (H5Dclose(dset) < 0) TEST_ERROR if (H5Sclose(dspace) < 0) @@ -2150,7 +2150,7 @@ test_flt_msk_with_skip_compress(hid_t fapl) if (verify_get_chunk_info_by_coord(dset, offset, CHK_SIZE, flt_msk) == FAIL) FAIL_PUTS_ERROR("Verification of H5Dget_chunk_info_by_coord failed\n"); - /* Release resourse */ + /* Release resource */ if (H5Dclose(dset) < 0) TEST_ERROR if (H5Sclose(mem_space) < 0) diff --git a/test/dsets.c b/test/dsets.c index 87d8b81..4d0fe1b 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -1825,7 +1825,7 @@ filter_corrupt(unsigned int flags, size_t cd_nelmts, const unsigned int *cd_valu TEST_ERROR HDmemset(data, (int)value, (size_t)length); - if (flags & H5Z_FLAG_REVERSE) { /* Varify data is actually corrupted during read */ + if (flags & H5Z_FLAG_REVERSE) { /* Verify data is actually corrupted during read */ dst += offset; if (HDmemcmp(data, dst, (size_t)length) != 0) TEST_ERROR @@ -7720,7 +7720,7 @@ test_missing_chunk(hid_t file) if (H5Dread(did2, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, H5P_DEFAULT, rdata2_bytes) < 0) TEST_ERROR; - /* Validata values read for the 1-D dataset */ + /* Validate values read for the 1-D dataset */ for (u = 0; u < MISSING_CHUNK_DIM; u++) { if ((u % 10) >= 5) { if (rdata[u] != 911) { @@ -7737,7 +7737,7 @@ test_missing_chunk(hid_t file) } /* end else */ } /* end for */ - /* Validata values read for the 2-D dataset */ + /* Validate values read for the 2-D dataset */ for (i = 0; i < MISSING_CHUNK_DIM; i++) { for (j = 0; j < MISSING_CHUNK_DIM; j++) { @@ -8843,7 +8843,7 @@ test_chunk_cache(hid_t fapl) if ((dsid = H5Dcreate2(fid, "dset", H5T_NATIVE_INT, sid, H5P_DEFAULT, dcpl, dapl1)) < 0) FAIL_STACK_ERROR - /* Retrieve dapl from dataset, verfiy cache values are the same as on fapl_local */ + /* Retrieve dapl from dataset, verify cache values are the same as on fapl_local */ if ((dapl2 = H5Dget_access_plist(dsid)) < 0) FAIL_STACK_ERROR if (H5Pget_chunk_cache(dapl2, &nslots_4, &nbytes_4, &w0_4) < 0) @@ -8867,7 +8867,7 @@ test_chunk_cache(hid_t fapl) if ((dsid = H5Oopen(fid, "dset", dapl1)) < 0) FAIL_STACK_ERROR - /* Retrieve dapl from dataset, verfiy cache values are the same as on dapl1 */ + /* Retrieve dapl from dataset, verify cache values are the same as on dapl1 */ /* Note we rely on the knowledge that H5Pget_chunk_cache retrieves these * values directly from the dataset structure, and not from a copy of the * dapl used to open the dataset (which is not preserved). @@ -8887,7 +8887,7 @@ test_chunk_cache(hid_t fapl) if ((dsid = H5Dopen2(fid, "dset", H5P_DEFAULT)) < 0) FAIL_STACK_ERROR - /* Retrieve dapl from dataset, verfiy cache values are the same on fapl_local */ + /* Retrieve dapl from dataset, verify cache values are the same on fapl_local */ if ((dapl2 = H5Dget_access_plist(dsid)) < 0) FAIL_STACK_ERROR if (H5Pget_chunk_cache(dapl2, &nslots_4, &nbytes_4, &w0_4) < 0) diff --git a/test/enum.c b/test/enum.c index 512fd9d..5695a79 100644 --- a/test/enum.c +++ b/test/enum.c @@ -541,7 +541,7 @@ test_value_dsnt_exist(void) hid_t datatype_id = (-1); /* identifiers */ int val; - char nam[100]; + char name[100]; size_t size = 100; TESTING("for non-existing name and value"); /* Turn off error reporting since we expect failure in this test */ @@ -556,7 +556,7 @@ test_value_dsnt_exist(void) if (H5Tenum_valueof(datatype_id, "SAX", &val) >= 0) goto error; val = 3; - if (H5Tenum_nameof(datatype_id, &val, nam, size) >= 0) + if (H5Tenum_nameof(datatype_id, &val, name, size) >= 0) goto error; val = 2; @@ -571,17 +571,17 @@ test_value_dsnt_exist(void) /* This call should fail since we did not create a member with value = 3*/ val = 3; - if (H5Tenum_nameof(datatype_id, &val, nam, size) >= 0) + if (H5Tenum_nameof(datatype_id, &val, name, size) >= 0) goto error; /* This call should fail since we did not create a member with value = 11*/ val = 11; - if (H5Tenum_nameof(datatype_id, &val, nam, size) >= 0) + if (H5Tenum_nameof(datatype_id, &val, name, size) >= 0) goto error; /* This call should fail since we did not create a member with value = 0*/ val = 0; - if (H5Tenum_nameof(datatype_id, &val, nam, size) >= 0) + if (H5Tenum_nameof(datatype_id, &val, name, size) >= 0) goto error; /* This call should fail since we do not have SAX name in the type */ diff --git a/test/file_image.c b/test/file_image.c index a5b0053..5b794c8 100644 --- a/test/file_image.c +++ b/test/file_image.c @@ -610,7 +610,7 @@ test_core(void) VERIFY((udata->used_callbacks == MALLOC) || (udata->used_callbacks == (MALLOC | UDATA_COPY | UDATA_FREE)), "opening a core file used the wrong callbacks"); VERIFY(udata->malloc_src == H5FD_FILE_IMAGE_OP_FILE_OPEN, - "Malloc callback came from wrong sourc in core open"); + "Malloc callback came from wrong source in core open"); /* Close file */ reset_udata(udata); @@ -618,7 +618,7 @@ test_core(void) VERIFY(ret >= 0, "H5Fclose failed"); VERIFY(udata->used_callbacks == FREE, "Closing a core file used the wrong callbacks"); VERIFY(udata->free_src == H5FD_FILE_IMAGE_OP_FILE_CLOSE, - "Free callback came from wrong sourc in core close"); + "Free callback came from wrong source in core close"); /* Reopen file */ file = H5Fopen(copied_filename, H5F_ACC_RDWR, fapl); @@ -654,7 +654,7 @@ test_core(void) VERIFY(ret >= 0, "H5Fclose failed"); VERIFY(udata->used_callbacks == (FREE), "Closing a core file used the wrong callbacks"); VERIFY(udata->free_src == H5FD_FILE_IMAGE_OP_FILE_CLOSE, - "Free callback came from wrong sourc in core close"); + "Free callback came from wrong source in core close"); /* Create file image buffer */ fd = HDopen(copied_filename, O_RDONLY); diff --git a/test/h5test.c b/test/h5test.c index 76f3482..8a59b4a 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -1533,7 +1533,7 @@ h5_szip_can_encode(void) * further calls to getenv_all take place. * * Return: pointer to a string containing the value of the environment variable - * NULL if the varialbe doesn't exist in task 'root's environment. + * NULL if the variable doesn't exist in task 'root's environment. * * Programmer: Leon Arber * 4/4/05 diff --git a/test/hdfs.c b/test/hdfs.c index cdc209f..8fec788 100644 --- a/test/hdfs.c +++ b/test/hdfs.c @@ -52,7 +52,7 @@ * 4) Configurable expected-actual order in generated comparison strings. * Some prefer `VERIFY(expected, actual)`, others * `VERIFY(actual, expected)`. Provide preprocessor ifdef switch - * to satifsy both parties, assuming one paradigm per test file. + * to satisfy both parties, assuming one paradigm per test file. * (One could #undef and redefine the flag through the file as desired, * but _why_.) * diff --git a/test/objcopy.c b/test/objcopy.c index 24441d3..aa141a1 100644 --- a/test/objcopy.c +++ b/test/objcopy.c @@ -3992,7 +3992,7 @@ test_copy_dataset_chunked_empty(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, if ((did = H5Dopen2(fid_src, NAME_DATASET_CHUNKED3, H5P_DEFAULT)) < 0) TEST_ERROR - /* open the copied dataset NAME_DATASET_CHUNKED3 at destinaion */ + /* open the copied dataset NAME_DATASET_CHUNKED3 at destination */ if ((did2 = H5Dopen2(fid_dst, NAME_DATASET_CHUNKED3, H5P_DEFAULT)) < 0) TEST_ERROR @@ -11063,7 +11063,7 @@ typedef struct cmpd_vl_t { * Failure: number of errors * * Programmer: Neil Fortner - * Tuseday, September 29, 2009 + * Tuesday, September 29, 2009 * *------------------------------------------------------------------------- */ diff --git a/test/page_buffer.c b/test/page_buffer.c index dd3d71f..d1b0c27 100644 --- a/test/page_buffer.c +++ b/test/page_buffer.c @@ -370,7 +370,7 @@ error: * 1) verifying that API errors are caught. * * 2) verifying that the page buffer behaves more or less - * as advertized. + * as advertised. * * Any data mis-matches or unexpected failures or successes * reported by the HDF5 library result in test failure. diff --git a/test/reserved.c b/test/reserved.c index 57a9ca6..36291a4 100644 --- a/test/reserved.c +++ b/test/reserved.c @@ -479,7 +479,7 @@ error: int main(void) { - /* This test is currently not working properly; it should be revisted + /* This test is currently not working properly; it should be revisited * when we have time. * * (Also, we should try to make this test work with all the VFDs) @@ -509,8 +509,7 @@ main(void) return num_errs; } else { - HDputs( - "All address space reservation tests skippped - Incompatible with current Virtual File Driver"); + HDputs("All address space reservation tests skipped - Incompatible with current Virtual File Driver"); } #endif /* BROKEN */ diff --git a/test/ros3.c b/test/ros3.c index 1248b6f..110a50b 100644 --- a/test/ros3.c +++ b/test/ros3.c @@ -56,7 +56,7 @@ * 4) Configurable expected-actual order in generated comparison strings. * Some prefer `VERIFY(expected, actual)`, others * `VERIFY(actual, expected)`. Provide preprocessor ifdef switch - * to satifsy both parties, assuming one paradigm per test file. + * to satisfy both parties, assuming one paradigm per test file. * (One could #undef and redefine the flag through the file as desired, * but _why_.) * diff --git a/test/s3comms.c b/test/s3comms.c index 5af5438..ee2e4f3 100644 --- a/test/s3comms.c +++ b/test/s3comms.c @@ -47,7 +47,7 @@ * 4) Configurable expected-actual order in generated comparison strings. * Some prefer `VERIFY(expected, actual)`, others * `VERIFY(actual, expected)`. Provide preprocessor ifdef switch - * to satifsy both parties, assuming one paradigm per test file. + * to satisfy both parties, assuming one paradigm per test file. * (One could #undef and redefine the flag through the file as desired, * but _why_.) * Provided as courtesy, per consideration for inclusion in the library @@ -1374,7 +1374,7 @@ test_nlowercase(void) HDfree(dest); } /* end for each testcase */ - JSVERIFY(FAIL, H5FD_s3comms_nlowercase(NULL, cases[0].in, cases[0].len), "null distination should fail") + JSVERIFY(FAIL, H5FD_s3comms_nlowercase(NULL, cases[0].in, cases[0].len), "null destination should fail") PASSED(); return 0; diff --git a/test/swmr_common.c b/test/swmr_common.c index 2201427..2665969 100644 --- a/test/swmr_common.c +++ b/test/swmr_common.c @@ -187,7 +187,7 @@ generate_name(char *name_buf, unsigned level, unsigned count) /*------------------------------------------------------------------------- * Function: generate_symbols * - * Purpose: Initializes the global dataset infomration arrays. + * Purpose: Initializes the global dataset information arrays. * * Parameters: N/A * diff --git a/test/swmr_reader.c b/test/swmr_reader.c index 0566613..3369562 100644 --- a/test/swmr_reader.c +++ b/test/swmr_reader.c @@ -275,7 +275,7 @@ read_records(const char *filename, hbool_t verbose, FILE *verbose_file, unsigned if ((fapl = h5_fileaccess()) < 0) return -1; - /* Log I/O when verbose output it enbabled */ + /* Log I/O when verbose output it enabled */ if (use_log_vfd) { char verbose_name[1024]; diff --git a/test/swmr_sparse_writer.c b/test/swmr_sparse_writer.c index 96eff6c..0c8e391 100644 --- a/test/swmr_sparse_writer.c +++ b/test/swmr_sparse_writer.c @@ -149,7 +149,7 @@ add_records(hid_t fid, unsigned verbose, unsigned long nrecords, unsigned long f symbol_t record; /* The record to add to the dataset */ unsigned long rec_to_flush; /* # of records left to write before flush */ #ifdef OUT - volatile int dummy; /* Dummy varialbe for busy sleep */ + volatile int dummy; /* Dummy variable for busy sleep */ #endif /* OUT */ hsize_t dim[2] = {1, 0}; /* Dataspace dimensions */ unsigned long u, v; /* Local index variables */ diff --git a/test/th5s.c b/test/th5s.c index 329f3cf..e016e74 100644 --- a/test/th5s.c +++ b/test/th5s.c @@ -1104,7 +1104,7 @@ test_h5s_zero_dim(void) dset1 = H5Dopen2(fid1, BASICDATASET1, H5P_DEFAULT); CHECK(dset1, FAIL, "H5Dopen2"); - /* Get the space of the dataset and querry it */ + /* Get the space of the dataset and query it */ sid1 = H5Dget_space(dset1); CHECK(sid1, FAIL, "H5Dget_space"); diff --git a/test/tselect.c b/test/tselect.c index 62be284..d0bdc34 100644 --- a/test/tselect.c +++ b/test/tselect.c @@ -6785,7 +6785,7 @@ test_select_point_chunk(void) /* Verify data (later) */ - /* Close everything (inclusing selections) */ + /* Close everything (including selections) */ ret = H5Sclose(pnt1_space); CHECK(ret, FAIL, "H5Sclose"); ret = H5Sclose(pnt2_space); @@ -10957,7 +10957,7 @@ test_shape_same_dr__full_space_vs_slice(int test_num, int small_rank, int large_ ** m-cube (m >= n). ** ** 2) The dimensions selected in the slice through the m-cube -** are the dimesnions with the most quickly changing +** are the dimensions with the most quickly changing ** indices. ** ****************************************************************/ diff --git a/test/ttsafe_rec_rw_lock.c b/test/ttsafe_rec_rw_lock.c index d166445..551e4ba 100644 --- a/test/ttsafe_rec_rw_lock.c +++ b/test/ttsafe_rec_rw_lock.c @@ -590,7 +590,7 @@ tts_rw_lock_smoke_check_test_thread(void *_udata) * The reader threads obtain and drop the read lock a specified * number of times. Once a reader has a read lock, it does random * recursive read locks / unlocks until drops the read lock, and then - * repeats the process until the spcified number of read locks have + * repeats the process until the specified number of read locks have * been acquired and dropped. * * Created Sept. 3. 2020. @@ -836,7 +836,7 @@ cleanup_rec_rw_lock_smoke_check_2(void) * The writer threads obtain and drop the read lock a specified * number of times. Once a writeer has a write lock, it does random * recursive write locks / unlocks until drops the write lock, and then - * repeats the process until the spcified number of write locks have + * repeats the process until the specified number of write locks have * been acquired and dropped. * * Created Sept. 3. 2020. @@ -1082,7 +1082,7 @@ cleanup_rec_rw_lock_smoke_check_3(void) * The reader / writer threads obtain and drop the read or write * locks a specified number of times. Once a thread has a lock, it * does random recursive locks / unlocks until drops the lock, and then - * repeats the process until the spcified number of locks have + * repeats the process until the specified number of locks have * been acquired and dropped. * * Created Sept. 3. 2020. diff --git a/test/twriteorder.c b/test/twriteorder.c index c58b030..c7984e7 100644 --- a/test/twriteorder.c +++ b/test/twriteorder.c @@ -294,7 +294,7 @@ write_wo_file(void) return -1; } - /* all writes done. return succeess. */ + /* all writes done. return success. */ #ifdef DEBUG HDprintf("wrote %d blocks\n", nlinkedblock_g); #endif diff --git a/testpar/t_2Gio.c b/testpar/t_2Gio.c index 33f9d14..91b469f 100644 --- a/testpar/t_2Gio.c +++ b/testpar/t_2Gio.c @@ -3493,7 +3493,7 @@ test_actual_io_mode(int selection_mode) * process. To get mixed I/O, have the root select all chunks and each * subsequent process select the first and nth chunk. The first chunk, * accessed by all, will be assigned collective I/O while each other chunk - * will be accessed only by the root and the nth procecess and will be + * will be accessed only by the root and the nth process and will be * assigned independent I/O. Each process will access one chunk collectively * and at least one chunk independently, reporting mixed I/O. */ diff --git a/testpar/t_bigio.c b/testpar/t_bigio.c index 68e828d..2bd4006 100644 --- a/testpar/t_bigio.c +++ b/testpar/t_bigio.c @@ -1250,7 +1250,7 @@ create_faccess_plist(MPI_Comm comm, MPI_Info info, int l_facc_type) */ /* ------------------------------------------------------------------------ - * Descriptions for the selection: One big singluar selection inside one chunk + * Descriptions for the selection: One big singular selection inside one chunk * Two dimensions, * * dim1 = space_dim1(5760)*mpi_size diff --git a/testpar/t_cache_image.c b/testpar/t_cache_image.c index 963681d..70d0ebd 100644 --- a/testpar/t_cache_image.c +++ b/testpar/t_cache_image.c @@ -3827,7 +3827,7 @@ smoke_check_1(MPI_Comm mpi_comm, MPI_Info mpi_info, int mpi_rank, int mpi_size) * Purpose: Run parallel tests on the cache image feature. * * At present, cache image is disabled in parallel, and - * thus these tests are restructed to verifying that a + * thus these tests are restricted to verifying that a * file with a cache image can be opened in the parallel * case, and verifying that instructions to create a * cache image are ignored in the parallel case. diff --git a/testpar/t_coll_chunk.c b/testpar/t_coll_chunk.c index 854a1d4..8f699ea 100644 --- a/testpar/t_coll_chunk.c +++ b/testpar/t_coll_chunk.c @@ -53,7 +53,7 @@ static void coll_chunktest(const char *filename, int chunk_factor, int select_fa */ /* ------------------------------------------------------------------------ - * Descriptions for the selection: One big singluar selection inside one chunk + * Descriptions for the selection: One big singular selection inside one chunk * Two dimensions, * * dim1 = SPACE_DIM1(5760)*mpi_size diff --git a/testpar/t_dset.c b/testpar/t_dset.c index 1609fc0..a2f0b1c 100644 --- a/testpar/t_dset.c +++ b/testpar/t_dset.c @@ -3051,7 +3051,7 @@ test_actual_io_mode(int selection_mode) * process. To get mixed I/O, have the root select all chunks and each * subsequent process select the first and nth chunk. The first chunk, * accessed by all, will be assigned collective I/O while each other chunk - * will be accessed only by the root and the nth procecess and will be + * will be accessed only by the root and the nth process and will be * assigned independent I/O. Each process will access one chunk collectively * and at least one chunk independently, reporting mixed I/O. */ diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c index cc88431..ce1202f 100644 --- a/testpar/t_mdset.c +++ b/testpar/t_mdset.c @@ -2066,7 +2066,7 @@ rr_obj_hdr_flush_confusion_writer(MPI_Comm comm) * flush the metadata cache yet again to clean the object headers. * * This is an attempt to create a situation where we have dirty - * object header continuation chunks, but clean opject headers + * object header continuation chunks, but clean object headers * to verify a speculative bug fix -- it doesn't seem to work, * but I will leave the code in anyway, as the object header * code is going to change a lot in the near future. diff --git a/testpar/t_ph5basic.c b/testpar/t_ph5basic.c index 59f14cb..f8d4129 100644 --- a/testpar/t_ph5basic.c +++ b/testpar/t_ph5basic.c @@ -141,7 +141,7 @@ test_fapl_mpio_dup(void) VRFY((ret >= 0), "H5Pget_fapl_mpio neither"); /* now get both and check validity too. */ - /* Donot free the returned objects which are used in the next case. */ + /* Do not free the returned objects which are used in the next case. */ ret = H5Pget_fapl_mpio(acc_pl, &comm_tmp, &info_tmp); VRFY((ret >= 0), "H5Pget_fapl_mpio"); MPI_Comm_size(comm_tmp, &mpi_size_tmp); diff --git a/testpar/t_shapesame.c b/testpar/t_shapesame.c index 201f331..cbae5e1 100644 --- a/testpar/t_shapesame.c +++ b/testpar/t_shapesame.c @@ -736,7 +736,7 @@ contig_hs_dr_pio_test__d2m_l2s(struct hs_dr_pio_test_vars_t *tv_ptr) * of the large data set. However, in the parallel version, each * process only works with that slice of the large cube indicated * by its rank -- hence we set the most slowly changing index to - * mpi_rank, and don't itterate over it. + * mpi_rank, and don't iterate over it. */ if (PAR_SS_DR_MAX_RANK - tv_ptr->large_rank == 0) { @@ -966,7 +966,7 @@ contig_hs_dr_pio_test__d2m_s2l(struct hs_dr_pio_test_vars_t *tv_ptr) * * However, in the parallel version, each process only works with that * slice of the large (and small) data set indicated by its rank -- hence - * we set the most slowly changing index to mpi_rank, and don't itterate + * we set the most slowly changing index to mpi_rank, and don't iterate * over it. */ @@ -1223,7 +1223,7 @@ contig_hs_dr_pio_test__m2d_l2s(struct hs_dr_pio_test_vars_t *tv_ptr) * * However, in the parallel version, each process only works with that * slice of the large (and small) data set indicated by its rank -- hence - * we set the most slowly changing index to mpi_rank, and don't itterate + * we set the most slowly changing index to mpi_rank, and don't iterate * over it. */ @@ -2607,7 +2607,7 @@ ckrbrd_hs_dr_pio_test__d2m_l2s(struct hs_dr_pio_test_vars_t *tv_ptr) * of the large data set. However, in the parallel version, each * process only works with that slice of the large cube indicated * by its rank -- hence we set the most slowly changing index to - * mpi_rank, and don't itterate over it. + * mpi_rank, and don't iterate over it. */ if (PAR_SS_DR_MAX_RANK - tv_ptr->large_rank == 0) { @@ -2830,7 +2830,7 @@ ckrbrd_hs_dr_pio_test__d2m_s2l(struct hs_dr_pio_test_vars_t *tv_ptr) * * However, in the parallel version, each process only works with that * slice of the large (and small) data set indicated by its rank -- hence - * we set the most slowly changing index to mpi_rank, and don't itterate + * we set the most slowly changing index to mpi_rank, and don't iterate * over it. */ @@ -3142,7 +3142,7 @@ ckrbrd_hs_dr_pio_test__m2d_l2s(struct hs_dr_pio_test_vars_t *tv_ptr) * * However, in the parallel version, each process only works with that * slice of the large (and small) data set indicated by its rank -- hence - * we set the most slowly changing index to mpi_rank, and don't itterate + * we set the most slowly changing index to mpi_rank, and don't iterate * over it. */ diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c index 76d0aac..4b45d4c 100644 --- a/tools/lib/h5tools_utils.c +++ b/tools/lib/h5tools_utils.c @@ -862,7 +862,7 @@ tmpfile(void) * Purpose: Get symbolic link (soft, external) info and its target object type (dataset, group, named datatype) and path, if exist * - * Patameters: + * Parameters: * - [IN] fileid : link file id * - [IN] linkpath : link path * - [OUT] link_info: returning target object info (h5tool_link_info_t) diff --git a/tools/libtest/h5tools_test_utils.c b/tools/libtest/h5tools_test_utils.c index 8411dc1..995d722 100644 --- a/tools/libtest/h5tools_test_utils.c +++ b/tools/libtest/h5tools_test_utils.c @@ -48,7 +48,7 @@ * 4. Configurable expected-actual order in generated comparison strings. * Some prefer `VERIFY(expected, actual)`, others * `VERIFY(actual, expected)`. Provide preprocessor ifdef switch - * to satifsy both parties, assuming one paradigm per test file. + * to satisfy both parties, assuming one paradigm per test file. * (One could #undef and redefine the flag through the file as desired, * but _why_.) * diff --git a/tools/src/h5perf/perf.c b/tools/src/h5perf/perf.c index 64e1fb5..ab443b7 100644 --- a/tools/src/h5perf/perf.c +++ b/tools/src/h5perf/perf.c @@ -480,7 +480,7 @@ parse_args(int argc, char **argv) * further calls to getenv_all take place. * * Return: pointer to a string containing the value of the environment variable - * NULL if the varialbe doesn't exist in task 'root's environment. + * NULL if the variable doesn't exist in task 'root's environment. * * Programmer: Leon Arber * 4/4/05 diff --git a/tools/src/h5perf/pio_perf.c b/tools/src/h5perf/pio_perf.c index aea7337..0ff722c 100644 --- a/tools/src/h5perf/pio_perf.c +++ b/tools/src/h5perf/pio_perf.c @@ -1694,7 +1694,7 @@ usage(const char *prog) HDprintf(" Environment variables:\n"); HDprintf(" HDF5_NOCLEANUP Do not remove data files if set [default remove]\n"); HDprintf(" HDF5_MPI_INFO MPI INFO object key=value separated by ;\n"); - HDprintf(" HDF5_PARAPREFIX Paralllel data files prefix\n"); + HDprintf(" HDF5_PARAPREFIX Parallel data files prefix\n"); fflush(stdout); } /* end if */ } /* end usage() */ diff --git a/tools/src/h5repack/h5repack_copy.c b/tools/src/h5repack/h5repack_copy.c index b9b2b8e..d8a9e15 100644 --- a/tools/src/h5repack/h5repack_copy.c +++ b/tools/src/h5repack/h5repack_copy.c @@ -441,7 +441,7 @@ get_hyperslab(hid_t dcpl_id, int rank_dset, const hsize_t dims_dset[], size_t si hsize_t dims_chunk[H5S_MAX_RANK]; hsize_t size_chunk = 1; hsize_t nchunk_fit; /* number of chunks that fits in hyperslab buffer (H5TOOLS_BUFSIZE) */ - hsize_t ndatum_fit; /* number of dataum that fits in hyperslab buffer (H5TOOLS_BUFSIZE) */ + hsize_t ndatum_fit; /* number of datum that fits in hyperslab buffer (H5TOOLS_BUFSIZE) */ hsize_t chunk_dims_map[H5S_MAX_RANK]; /* mapped chunk dimensions */ hsize_t hs_dims_map[H5S_MAX_RANK]; /* mapped hyperslab dimensions */ hsize_t hslab_nbytes; /* size of hyperslab in byte */ diff --git a/tools/test/h5copy/h5copygentest.c b/tools/test/h5copy/h5copygentest.c index 18ae0cd..dc21f82 100644 --- a/tools/test/h5copy/h5copygentest.c +++ b/tools/test/h5copy/h5copygentest.c @@ -923,7 +923,7 @@ out: /*------------------------------------------------------------------------- * Function: Test_Extlink_Copy * - * Purpose: gerenate external link files + * Purpose: generate external link files * *------------------------------------------------------------------------*/ static void diff --git a/tools/test/h5diff/h5diffgentest.c b/tools/test/h5diff/h5diffgentest.c index 2c77e87..5f2b2c5 100644 --- a/tools/test/h5diff/h5diffgentest.c +++ b/tools/test/h5diff/h5diffgentest.c @@ -2069,7 +2069,7 @@ gen_dataset_idx(const char *file, int format) int buf[10]; /* data buffer */ int i; /* local index variable */ - /* Get a copy of the file aaccess property */ + /* Get a copy of the file access property */ fapl = H5Pcreate(H5P_FILE_ACCESS); /* Set the "use the latest format" bounds for creating objects in the file */ diff --git a/tools/test/h5dump/h5dumpgentest.c b/tools/test/h5dump/h5dumpgentest.c index 003e29a..e59335b 100644 --- a/tools/test/h5dump/h5dumpgentest.c +++ b/tools/test/h5dump/h5dumpgentest.c @@ -7183,7 +7183,7 @@ gent_dataset_idx(void) int i, j; int H5_ATTR_NDEBUG_UNUSED ret; - /* Get a copy of the file aaccess property */ + /* Get a copy of the file access property */ fapl = H5Pcreate(H5P_FILE_ACCESS); /* Set the "use the latest version of the format" bounds for creating objects in the file */ diff --git a/tools/test/h5format_convert/h5fc_gentest.c b/tools/test/h5format_convert/h5fc_gentest.c index ccb64b5..5060432 100644 --- a/tools/test/h5format_convert/h5fc_gentest.c +++ b/tools/test/h5format_convert/h5fc_gentest.c @@ -63,7 +63,7 @@ const char *FILENAME[] = {"h5fc_ext1_i.h5", /* 0 */ /* * Function: gen_non() * - * Create a file with SWMR write+non-latest-format--this will result in v3 superbock+latest version support: + * Create a file with SWMR write+non-latest-format--this will result in v3 superblock+latest version support: * 1) 1 chunked dataset with extensible array chunk indexing type (without data) * 2) 1 chunked dataset with version 2 B-tree chunk indexing type (with data) * Re-open the file with write+non-latest-format and create: diff --git a/tools/test/perform/gen_report.pl b/tools/test/perform/gen_report.pl index a1fbeb0..c853b70 100644 --- a/tools/test/perform/gen_report.pl +++ b/tools/test/perform/gen_report.pl @@ -391,7 +391,7 @@ sub plot_default_graph1 { print GNUPLOT_PIPE "set term x11 1\n"; print GNUPLOT_PIPE "set xlabel \"Number of Processors\"\n"; print GNUPLOT_PIPE "set title \"" . $data_type . " Performance (Speed vs. Num. Procs)\"\n"; - print GNUPLOT_PIPE "set ylabel \"Bandwdith (MB/s)\"\n"; + print GNUPLOT_PIPE "set ylabel \"Bandwidth (MB/s)\"\n"; print GNUPLOT_PIPE "set label 1 \"Transfer buffer size: " . $transfer_buffer_size . "K\" at graph 0.7, graph 0.7 left \n"; #the next line attempts to hack gnuplot to get around it's inability to linearly scale, but logarithmically label an axis @@ -435,7 +435,7 @@ sub plot_default_graph2 { print GNUPLOT_PIPE "set term x11 2\n"; print GNUPLOT_PIPE "set xlabel \"Transfer Buffer Size (in bytes)\"\n"; print GNUPLOT_PIPE "set title \"" . $data_type . " Performance (Speed vs. Transfer Buffer Size)\"\n"; - print GNUPLOT_PIPE "set ylabel \"Bandwdith (MB/s)\"\n"; + print GNUPLOT_PIPE "set ylabel \"Bandwidth (MB/s)\"\n"; print GNUPLOT_PIPE "set label 1 \"Procs: " . $num_procs_graph . "\" at graph 0.7, graph 0.7 left \n"; #the next line attempts to hack gnuplot to get around it's inability to linearly scale, but logarithmically label an axis diff --git a/tools/test/perform/overhead.c b/tools/test/perform/overhead.c index d2340fc..10b897f 100644 --- a/tools/test/perform/overhead.c +++ b/tools/test/perform/overhead.c @@ -176,7 +176,7 @@ test(fill_t fill_style, const double splits[], hbool_t verbose, hbool_t use_rdcc hsize_t hs_count[1] = {1}; /*hyperslab nelmts */ int fd = (-1); /*h5 file direct */ int *had = NULL; /*for random filling */ - const char *sname = NULL; /*fill style nam */ + const char *sname = NULL; /*fill style name */ int mdc_nelmts; /*num meta objs to cache*/ hsize_t i, k; int j; diff --git a/utils/mirror_vfd/mirror_writer.c b/utils/mirror_vfd/mirror_writer.c index f8d7544..a69ea73 100644 --- a/utils/mirror_vfd/mirror_writer.c +++ b/utils/mirror_vfd/mirror_writer.c @@ -291,7 +291,7 @@ session_start(int socketfd, const H5FD_mirror_xmit_open_t *xmit_open) { struct mirror_session *session = NULL; struct mirror_writer_opts opts; -#if 0 /* TODO: behaviro option */ +#if 0 /* TODO: behavior option */ char logpath[H5FD_MIRROR_XMIT_FILEPATH_MAX] = ""; #endif -- cgit v0.12