mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
Fix typos found in the rest of the hdf5 code-base (#1985)
* Fix typos found in the rest of the hdf5 code-base
* Typo in tool.cmake
* Revert "Typo in tool.cmake"
This reverts commit 06b8403d99.
* Fix clang-format styling
This commit is contained in:
+2
-2
@@ -182,7 +182,7 @@ is_exclude_path(char *path, h5trav_type_t type, diff_opt_t *opts)
|
||||
|
||||
/* search objects in exclude list */
|
||||
while (NULL != exclude_path_ptr) {
|
||||
/* if exclude path is is group, exclude its members as well */
|
||||
/* if exclude path is in group, exclude its members as well */
|
||||
if (exclude_path_ptr->obj_type == H5TRAV_TYPE_GROUP) {
|
||||
ret_cmp = HDstrncmp(exclude_path_ptr->obj_path, path, HDstrlen(exclude_path_ptr->obj_path));
|
||||
if (ret_cmp == 0) { /* found matching members */
|
||||
@@ -246,7 +246,7 @@ is_exclude_attr(const char *path, h5trav_type_t type, diff_opt_t *opts)
|
||||
|
||||
/* search objects in exclude list */
|
||||
while (NULL != exclude_ptr) {
|
||||
/* if exclude path is is group, exclude its members as well */
|
||||
/* if exclude path is in group, exclude its members as well */
|
||||
if (exclude_ptr->obj_type == H5TRAV_TYPE_GROUP) {
|
||||
ret_cmp = HDstrncmp(exclude_ptr->obj_path, path, HDstrlen(exclude_ptr->obj_path));
|
||||
if (ret_cmp == 0) { /* found matching members */
|
||||
|
||||
@@ -697,7 +697,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)
|
||||
|
||||
@@ -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_.)
|
||||
*
|
||||
|
||||
@@ -1688,7 +1688,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() */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -2752,7 +2752,7 @@ gen_dataset_idx(const char *file, int format)
|
||||
hid_t did2 = H5I_INVALID_HID; /* dataset id */
|
||||
#endif
|
||||
|
||||
/* 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 */
|
||||
|
||||
@@ -7191,7 +7191,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 */
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user