summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-08-18 17:48:17 (GMT)
committerGitHub <noreply@github.com>2022-08-18 17:48:17 (GMT)
commit82ebc9c370164931861f0d174e2b17a109478665 (patch)
treeac35dc2aca63a1cb8d8e9f0562eb76f94f71804d /tools
parentfab27c25291d7f0b2d0a585178757dddddba1ace (diff)
downloadhdf5-82ebc9c370164931861f0d174e2b17a109478665.zip
hdf5-82ebc9c370164931861f0d174e2b17a109478665.tar.gz
hdf5-82ebc9c370164931861f0d174e2b17a109478665.tar.bz2
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5tools_utils.c2
-rw-r--r--tools/libtest/h5tools_test_utils.c2
-rw-r--r--tools/src/h5perf/perf.c2
-rw-r--r--tools/src/h5perf/pio_perf.c2
-rw-r--r--tools/src/h5repack/h5repack_copy.c2
-rw-r--r--tools/test/h5copy/h5copygentest.c2
-rw-r--r--tools/test/h5diff/h5diffgentest.c2
-rw-r--r--tools/test/h5dump/h5dumpgentest.c2
-rw-r--r--tools/test/h5format_convert/h5fc_gentest.c2
-rw-r--r--tools/test/perform/gen_report.pl4
-rw-r--r--tools/test/perform/overhead.c2
11 files changed, 12 insertions, 12 deletions
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;