summaryrefslogtreecommitdiffstats
path: root/test/ohdr.c
Commit message (Collapse)AuthorAgeFilesLines
* Sync test dir w/ develop (#3303)Dana Robinson2023-07-281-18/+18
|
* Remove "Programmer" lines (#3294)Dana Robinson2023-07-271-6/+0
|
* Brings over most of the HD prefix removal (#3293)Dana Robinson2023-07-271-14/+14
|
* Update copyright headers (#2184)Larry Knox2022-11-011-1/+0
| | | | | * Updated source file copyright headers to remove "Copyright by the Board of Trustees of the University of Illinois", which is kept in the top-level COPYING file.
* Develop clang 13 format (#1933)Allen Byrne2022-07-261-10/+10
| | | | | * Update format source to clang 13 * More format changes
* sprintf to snprintf (#1815)Sean McBride2022-06-221-1/+1
| | | | | | | | | | | * Straightforward conversion of sprintf to the safer snprintf * Trickier conversion of sprintf to safer snprintf This involved minor changes to private function signatures to take the size of the buffer. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* h5test.h testing macros get enclosed in do..while loops (#1721)Dana Robinson2022-05-041-317/+343
| | | | | | | * h5test.h testing macros get enclosed in do..while loops * Adds missed macro in hl C++ code * Fixes macro in Windows code
* Fixed Spelling Errors (#1166)Scot Breitenfeld2021-12-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed missed closing of a dataset * fixed missed closing of a dataset * fixed typo in error return * Committing clang-format changes * minor edits * code format * Committing clang-format changes * code format * minor edit * switched from using MPI_count, to actual bytes written for H5FD_mpio_debug rw debugging * Committing clang-format changes * changed size_i in printf to reflect the I/O. * Committing clang-format changes * Fixed seg fault with xlf on BE with -qintsize=8 * fixed error function string * spelling corrections via codespell, added new spell check github actions * Committing clang-format changes * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * work around for https://github.com/codespell-project/codespell/issues/2137 * misc * added missing file * misc * misc. * misc * switch to using Codespell with GitHub Actions * misc. * misc. * fixed more sp errors * Fix new typos found by codespell. * fixed proceed with precede * fixed variable in fortran test * fixed minnum * updated spelling list Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* VFD plugins (#602)jhendersonHDF2021-09-291-8/+18
| | | | | | | | | | | | | | | | | * Implement support for loading of Virtual File Drivers as plugins Fix plugin caching for VOL connector and VFD plugins Fix plugin iteration to skip paths that can't be opened * Enable dynamic loading of VFDs with HDF5_DRIVER environment variable * Temporarily disable error reporting during H5F_open double file open * Default to using HDstat in h5_get_file_size for unknown VFDs * Use macros for some environment variables that HDF5 interprets * Update "null" and "ctl testing" VFDs
* Fix several warnings (#720)jhendersonHDF2021-09-141-1/+1
|
* Fixes a bad memory read and unfreed memory in fsinfo code (#893)Dana Robinson2021-08-121-0/+56
| | | | | | | | | | | | | | * Fixes a bad memory read and unfreed memory in fsinfo code The segfaul from CVE-2020-10810 was fixed some time ago, but the illegal memory read and unfreed memory were not. This fix tracks some buffer sizes and errors out gracefully on errors, ensuring buffers are cleaned up and avoiding the H5FL infinite loop + abort on library close. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* 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)