summaryrefslogtreecommitdiffstats
path: root/test/ohdr.c
Commit message (Collapse)AuthorAgeFilesLines
* Update clang config (#473)Quincey Koziol2021-03-171-7/+28
| | | | | | | * Update clang config to put H5E_BEGIN_TRY / H5E_END_TRY on separate lines, empty C++ methods on separate lines, understand that ALL_MEMBERS / UNIQUE_MEMBERS are foreach macros, and properly skip the 'config' directory in the find command without emiting a warning * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fixed all clang-tidy bugprone-suspicious-string-compare warnings (#451)Sean McBride2021-03-101-4/+4
| | | | | | | | | * Fixed all clang-tidy bugprone-suspicious-string-compare warnings This change was generated entirely by clang-tidy itself. * Reformat code with clang v10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Various clang tidy warning fixes (#448)Sean McBride2021-03-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * Fixed clang-tidy bugprone-reserved-identifier warnings * Fixed clang-tidy bugprone-assert-side-effect warnings * Fixed clang-tidy bugprone-copy-constructor-init warning * Fixed clang-tidy readability-redundant-preprocessor warning For error_test.c the removed code was already dead, because it was in the else of an `#if H5_USE_16_API` block. Based on H5Location.h, I think p_get_ref_obj_type was meant to be in `#ifndef DOXYGEN_SHOULD_SKIP_THIS` and an `#endif` was missing. Similarly, in the header, getObjTypeByIdx is only in H5_NO_DEPRECATED_SYMBOLS, not DOXYGEN_SHOULD_SKIP_THIS. * Fixed clang-tidy readability-redundant-string-init warnings * Fixed some clang-tidy performance-type-promotion-in-math-fn warnings * Fixed clang-tidy performance-unnecessary-value-param warnings * Reformat source with clang v10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Update license url (#332)Larry Knox2021-02-171-1/+1
| | | | | | * Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING file - src and test directories.
* Add flag to H5CX_pop that allow setting the properties to return to ↵Quincey Koziol2020-12-011-2/+2
| | | | application to be skipped. (#134)
* Clang-format of source filesAllen Byrne2020-09-301-721/+854
|
* Merge branch 'develop' into mdc_sl_optmainzer2020-08-131-1/+1
|\
| * Removes staff email addresses from the repositoryDana Robinson2020-08-071-1/+1
| | | | | | | | Removes redundant C library headers from hl library
* | When flushing, the metadata cache attempts to flush entries in increasingmainzer2020-08-051-0/+24
|/ | | | | | | | | | | | | | | | address order. To facilitate this, the metadata cache needs a list of of dirty entries in increasing address order. This is implemented via a skip list of all dirty entries in the cache. To date this skip list has been maintained at all times. However, profiling indicates that we can avoid significant overhead by constructing the skip list of dirty entries just before a flush, taking it down afterwareds, and not maintaining it during normal operation. This commit implements this optimization for both serial and parallel. Tested serial and parallel, debug and production on charis and jelly.
* Trim trailing whitespaceQuincey Koziol2020-04-201-1/+1
|
* So that I can use PASSED(); anywhere a statement can go, #define PASSED() withDavid Young2020-02-281-4/+4
| | | | a do-while wrapper.
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-11/+14
|
* Small changes from the token_refactoring branch, to reduce the delta to developQuincey Koziol2020-01-041-5/+6
|
* Yanked -Wc++-compat from the flags used to build the C library in bothDana Robinson2019-12-041-2/+2
| | | | the Autotools and CMake.
* Cleanup HD prefixAllen Byrne2019-08-051-2/+2
|
* Add support for GCC9, update warnhist script, and clean up warnings.Quincey Koziol2019-07-031-2/+2
|
* Cleaned up misc warnings.Dana Robinson2019-06-291-1/+1
|
* Fixed a problem in the ohdr test where hard-coded strings passedDana Robinson2019-06-191-202/+150
| | | | to H5Awrite() triggered -fsanitize failures.
* Set V112 as the latest format and extend the arrays of version bounds.Vailin Choi2019-04-041-46/+5
|
* Used the H5_INC_ENUM macro to squash enum value increment warnings.Dana Robinson2019-03-211-2/+2
|
* Delay checking if decoded message's "shareable" flag is appropriate forNeil Fortner2019-01-071-0/+10
| | | | | | | | | | | the message type until we've verified we understand the message type. Reduce size of H5O_msg_class_g to *not* include space for H5O_BOGUS_INVALID. Make bogus messages shareable. Add new bogus message test with shareable messages to cover the formerly problematic code. Re-run gen_bogus.c to add this test case and also to fix the bogus_invalid messages that were no longer H5O_BOGUS_INVLAID due to a new message class being added in a previous commit. Added comment to remind developers to run gen_bogus.c when adding a new message class.
* Corrected comment in src/H5VLint.c, fixed pass-through info size inQuincey Koziol2019-01-061-15/+35
| | | | | | | src/H5VLpassthru.c, switched to stashing VOL connector ID & info in API context (in src/H5CX.c, src/H5CXprivate.h, src/H5F.c, src/H5Fint.c, and src/H5Fefc.c), patched up all sorts of issues in the tests, to make them work with 'check-vfd' (and 'check-vol' again).
* Update calls: H5Dcreate to H5Dcreate2, H5Acreate to H5Acreate2.Jacob Smith2019-01-031-20/+20
|
* fix wrong function name that is missed by correctional macroJacob Smith2018-12-311-1/+1
|
* OHDR tests now accept h5_fileaccess() fapls.Jacob Smith2018-12-261-35/+53
| | | | Formatting, informative comments, and minor renaming.
* Add "compact" storage test to relative header size comparisons.Jacob Smith2018-12-191-60/+80
|
* Move H5Fset_dset_no_attrs_hint VOL operations to native.Jacob Smith2018-12-181-0/+863
| | | | | Move minimzied object header tests from separate file to test/ohdr.c Some formatting changes.
* Squashed commit of private branch changes to support stackable VOL plugins.Quincey Koziol2018-10-251-1/+1
| | | | modified: test/dsets.c
* VOL FEATUREDana Robinson2018-10-101-15/+16
|
* Normalization with vol_integration (test code and H5Xtest.c)Dana Robinson2018-09-201-17/+13
|
* HD prefix and whitespaceAllen Byrne2018-08-281-2/+2
|
* Fix for HDFFV-10180 Performance issues with H5Oget_info.Vailin Choi2018-04-241-1/+1
|
* Minor warning cleanup while working on VOL issues.Dana Robinson2018-04-061-10/+10
|
* Cleanup API context function usage.Quincey Koziol2018-03-191-12/+11
|
* Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-03-181-53/+59
|\ | | | | | | merge_func_enter_vol
| * Fix memory leak simply by capturing allocation in varAllen Byrne2018-03-161-53/+59
| |
* | Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-03-181-22/+75
|\ \ | |/ | | | | | | | | merge_func_enter_vol Plus initial steps toward merging API context push into FUNC_ENTER_API* macros
| * Fixed DT failureBinh-Minh Ribler2018-02-141-3/+10
| | | | | | | | | | | | | | | | | | Description: Added a missing return statement to a non-void function. Platforms tested: Linux/64 (jelly) Linux/32 (jam) Darwin (osx1010test)
| * Additional testsBinh-Minh Ribler2018-02-131-20/+66
| | | | | | | | | | | | | | | | | | | | Description: - Revised and add more variety to version bound tests per review - Revised gen_bounds.c per review Platforms tested: Linux/64 (jelly) Linux/32 (jam) Darwin (osx1010test)
* | Add API context interface and use it throughout the library.Quincey Koziol2018-03-151-62/+67
|/
* Style cleanups and misc. bugfixes discovered during full SWMR development.Quincey Koziol2017-09-231-2/+3
|
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* Merge SWMR-related testing to existing tests.Quincey Koziol2016-12-181-0/+155
|
* Merge branch 'develop' into eoc_valgrind_bugfixDana Robinson2016-11-291-2/+1
|\
| * Bring over another batch (hopefully the last) of non-SWMR "normalization"Quincey Koziol2016-11-291-2/+1
| | | | | | | | changes from the revise_chunks branch.
* | Tentative fix for valgrind issues related to EoC.Dana Robinson2016-11-261-7/+7
|/ | | | | | | | | Adds /*out*/ parameters to H5O_close() and H5F_try_close() so that H5D/G_close() will know when H5O_close() has triggered a file close and thus the file struct is not reliable. Also removes the H5F_CLOSING() macro and related which were formerly used to check if the file was closing.
* Refactor H5O code to clean up message allocation, align cache deserialize codeQuincey Koziol2016-11-121-142/+0
| | | | with revise_chunks changes, and remove unused "message locking" code.
* [svn-r30189] Description:Quincey Koziol2016-07-181-1/+0
| | | | | | | | | Clean up more warnings: drop the warning count from ~1310 down to ~940, with only 31 types of warnings in 148 files (down from 38 types in 167 files). Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r29842] Description:Quincey Koziol2016-04-301-1/+0
| | | | | | | | | Bring [appropriate portions of] r29811, 29813, 29826, 29830, 29831 from revise_chunks branch to the trunk. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r29755] test/ohdr.c apply fix for HDFFV-9713 to not open test file ↵Larry Knox2016-04-201-1/+12
| | | | | | | | in source with write permission. config/linux-gnulibc1 reapply filx for HDFFV-9439 which was partially removed, probably by merge from revise_chunks branch. Tested with h5committest.new on kituo, ostrich, osx1010dev and platypus.