Skip to content

Commit

Permalink
Cleanup comments in tests, align comments better, update vfd test
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF committed Oct 5, 2020
1 parent d40fc11 commit 2744238
Show file tree
Hide file tree
Showing 68 changed files with 350 additions and 393 deletions.
6 changes: 1 addition & 5 deletions hl/src/H5LTanalyze.c
Original file line number Diff line number Diff line change
Expand Up @@ -2156,11 +2156,7 @@ H5LTyy_scan_buffer(char *base, yy_size_t size)
* H5LTyy_scan_bytes() instead.
*/
YY_BUFFER_STATE
H5LTyy_scan_string(yyconst char *yystr)
{

return H5LTyy_scan_bytes(yystr, strlen(yystr));
}
H5LTyy_scan_string(yyconst char *yystr) { return H5LTyy_scan_bytes(yystr, strlen(yystr)); }

/** Setup the input buffer state to scan the given bytes. The next call to H5LTyylex() will
* scan from a @e copy of @a bytes.
Expand Down
12 changes: 6 additions & 6 deletions src/H5Fquery.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ H5F_get_actual_name(const H5F_t *f)
* Function: H5F_get_extpath
*
* Purpose: Retrieve the file's 'extpath' flags
* This is used by H5L_extern_traverse() and H5D_build_file_prefix() to retrieve the main file's
*location when searching the target file.
* This is used by H5L_extern_traverse() and H5D_build_file_prefix()
* to retrieve the main file's location when searching the target file.
*
* Return: 'extpath' on success/abort on failure (shouldn't fail)
*-------------------------------------------------------------------------
Expand Down Expand Up @@ -1228,8 +1228,8 @@ H5F_get_null_fsm_addr(const H5F_t *f)
*
* Return: VOL class pointer for file, can't fail
*
* Programmer: Quincey Koziol
* Saturday, August 17, 2019
* Programmer: Quincey Koziol
* Saturday, August 17, 2019
*
*-------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -1271,8 +1271,8 @@ H5F_get_vol_obj(const H5F_t *f)
* Return: Success: Non-negative
* Failure: Negative
*
* Programmer: Quincey Koziol
* Saturday, August 17, 2019
* Programmer: Quincey Koziol
* Saturday, August 17, 2019
*
*-------------------------------------------------------------------------
*/
Expand Down
4 changes: 2 additions & 2 deletions test/SWMR_UseCase_UG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
case program and explain how to run them.

2.1. Author and Dates:
Version 2: By Albert Cheng (acheng@hdfgroup.org), 2013/06/18.
Version 1: By Albert Cheng (acheng@hdfgroup.org), 2013/06/01.
Version 2: By Albert Cheng, 2013/06/18.
Version 1: By Albert Cheng, 2013/06/01.


%%%%Use Case 1.7%%%%
Expand Down
2 changes: 1 addition & 1 deletion test/app_ref.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/*
* Programmer: Neil Fortner <nfortne2@hdfgroup.org>
* Programmer: Neil Fortner
* Thursday, August 14, 2008
*
* Purpose: Tests closing the library after reference counts have been
Expand Down
2 changes: 1 addition & 1 deletion test/bittests.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/*
* Programmer: Robb Matzke <matzke@llnl.gov>
* Programmer: Robb Matzke
* Tuesday, June 16, 1998
*
* Purpose: Tests functions in H5Tbit.c
Expand Down
2 changes: 1 addition & 1 deletion test/btree2.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* Programmer: Quincey Koziol <koziol@ncsa.uiuc.edu>
/* Programmer: Quincey Koziol
* Tuesday, February 1, 2005
*/
#include "h5test.h"
Expand Down
2 changes: 1 addition & 1 deletion test/cache_image.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* 7/13/15
*
* This file contains tests specific to the cache image
* feature implemented in H5C.c
* feature implemented in H5C.c
*/
#include "cache_common.h"
#include "genall5.h"
Expand Down
2 changes: 1 addition & 1 deletion test/cmpd_dset.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/*
* Programmer: Robb Matzke <matzke@llnl.gov>
* Programmer: Robb Matzke
* Friday, January 23, 1998
*/

Expand Down
2 changes: 1 addition & 1 deletion test/cross_read.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/*
* Programmer: Raymond Lu <slu@ncsa.uiuc.edu>
* Programmer: Raymond Lu
* Thursday, March 23, 2006
*
* Purpose: Check if floating-point data created on big-endian and
Expand Down
2 changes: 1 addition & 1 deletion test/dangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/*
* Programmer: Quincey Koziol <koziol@ncsa.uiuc.edu>
* Programmer: Quincey Koziol
* Tuesday, May 13, 2003
*
* Purpose: Test dangling IDs
Expand Down
2 changes: 1 addition & 1 deletion test/dsets.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/*
* Programmer: Robb Matzke <matzke@llnl.gov>
* Programmer: Robb Matzke
* Tuesday, December 9, 1997
*
* Purpose: Tests the dataset interface (H5D)
Expand Down
2 changes: 1 addition & 1 deletion test/dt_arith.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/*
* Programmer: Robb Matzke <matzke@llnl.gov>
* Programmer: Robb Matzke
* Tuesday, December 9, 1997
*
* Purpose: Tests the data type interface (H5T)
Expand Down
Loading

0 comments on commit 2744238

Please sign in to comment.