diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-07-27 18:21:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 18:21:30 (GMT) |
commit | 6ab73579f801a95a33359bf6f81d62fea99333d4 (patch) | |
tree | 8f5577ac3ad3918d3fd8ee9dd79dae4d4a47482f /c++/test/tfile.cpp | |
parent | 576aed793157c2c07a623f317ca65421fc2e73b4 (diff) | |
download | hdf5-6ab73579f801a95a33359bf6f81d62fea99333d4.zip hdf5-6ab73579f801a95a33359bf6f81d62fea99333d4.tar.gz hdf5-6ab73579f801a95a33359bf6f81d62fea99333d4.tar.bz2 |
Normalize C++ w/ develop (#3279)
Diffstat (limited to 'c++/test/tfile.cpp')
-rw-r--r-- | c++/test/tfile.cpp | 38 |
1 files changed, 3 insertions, 35 deletions
diff --git a/c++/test/tfile.cpp b/c++/test/tfile.cpp index d683797..212a241 100644 --- a/c++/test/tfile.cpp +++ b/c++/test/tfile.cpp @@ -61,10 +61,6 @@ const H5std_string FILE4("tfile4.h5"); * Purpose Test file and template creations * * Return None - * - * Programmer Binh-Minh Ribler (use C version) - * January, 2001 - * *------------------------------------------------------------------------- */ static void @@ -263,10 +259,6 @@ test_file_create() * Purpose Test file accesses * * Return None - * - * Programmer Binh-Minh Ribler (use C version) - * January, 2001 - * *------------------------------------------------------------------------- */ static void @@ -339,9 +331,6 @@ test_file_open() * Purpose Test file size. * * Return None - * - * Programmer Raymond Lu - * June, 2004 *------------------------------------------------------------------------- */ static void @@ -402,9 +391,6 @@ test_file_size() * Purpose Test file number. * * Return None - * - * Programmer Quincey Koziol - * April, 2019 *------------------------------------------------------------------------- */ static void @@ -459,9 +445,6 @@ test_file_num() * Purpose Test getting file's name. * * Return None - * - * Programmer Binh-Minh Ribler - * July, 2004 *------------------------------------------------------------------------- */ const int RANK = 2; @@ -643,7 +626,7 @@ test_file_attribute() verify_val(n_attrs, 1, "DataSet::getNumAttrs()", __LINE__, __FILE__); // Read back attribute's data - HDmemset(rdata, 0, sizeof(rdata)); + memset(rdata, 0, sizeof(rdata)); dattr.read(PredType::NATIVE_INT, rdata); /* Check results */ for (i = 0; i < ATTR1_DIM1; i++) { @@ -670,9 +653,6 @@ test_file_attribute() * versions for the right objects. * * Return None - * - * Programmer Binh-Minh Ribler (use C version) - * March, 2015 *------------------------------------------------------------------------- */ const H5std_string FILE6("tfile5.h5"); @@ -702,7 +682,7 @@ test_libver_bounds_real(H5F_libver_t libver_create, unsigned oh_vers_create, H5F // Verify object header version another way H5O_native_info_t ninfo; - HDmemset(&ninfo, 0, sizeof(ninfo)); + memset(&ninfo, 0, sizeof(ninfo)); file.getNativeObjinfo(ninfo, H5O_NATIVE_INFO_HDR); verify_val(ninfo.hdr.version, oh_vers_create, "H5File::getNativeObjinfo", __LINE__, __FILE__); @@ -729,7 +709,7 @@ test_libver_bounds_real(H5F_libver_t libver_create, unsigned oh_vers_create, H5F verify_val(obj_version, oh_vers_mod, "Group::objVersion", __LINE__, __FILE__); // Verify object header version another way - HDmemset(&ninfo, 0, sizeof(ninfo)); + memset(&ninfo, 0, sizeof(ninfo)); group.getNativeObjinfo(ninfo, H5O_NATIVE_INFO_HDR); verify_val(ninfo.hdr.version, oh_vers_mod, "Group::getNativeObjinfo", __LINE__, __FILE__); @@ -769,9 +749,6 @@ test_libver_bounds_real(H5F_libver_t libver_create, unsigned oh_vers_create, H5F * libver bounds is handled correctly. * * Return None - * - * Programmer Binh-Minh Ribler (use C version) - * March 2015 *------------------------------------------------------------------------- */ static void @@ -792,9 +769,6 @@ test_libver_bounds() * Purpose Verify that H5File works as a root group. * * Return None - * - * Programmer Binh-Minh Ribler (use C version) - * March, 2015 *------------------------------------------------------------------------- */ static void @@ -855,9 +829,6 @@ test_commonfg() * when the file is re-opened. * * Return None - * - * Programmer Binh-Minh Ribler - * February, 2017 *------------------------------------------------------------------------- */ const H5std_string FILE7("tfile7.h5"); @@ -994,9 +965,6 @@ test_file_info() * Purpose Main file testing routine * * Return None - * - * Programmer Binh-Minh Ribler (use C version) - * January 2001 *------------------------------------------------------------------------- */ extern "C" void |