summaryrefslogtreecommitdiffstats
path: root/test/cache.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix typos found in the rest of the hdf5 code-base (#1985)luzpaz2022-08-101-2/+2
| | | | | | | | | | | * Fix typos found in the rest of the hdf5 code-base * Typo in tool.cmake * Revert "Typo in tool.cmake" This reverts commit 06b8403d99757c7d20f1eed530cf317c3d84de4b. * Fix clang-format styling
* Develop clang 13 format (#1933)Allen Byrne2022-07-261-92/+92
| | | | | * Update format source to clang 13 * More format changes
* h5test.h testing macros get enclosed in do..while loops (#1721)Dana Robinson2022-05-041-104/+104
| | | | | | | * h5test.h testing macros get enclosed in do..while loops * Adds missed macro in hl C++ code * Fixes macro in Windows code
* Fix object size warnings in cache.c test (#1701)jhendersonHDF2022-05-011-4051/+2717
|
* Fixed Spelling Errors (#1166)Scot Breitenfeld2021-12-071-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0/+5
| | | | | | | | | | | | | | | | | * 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
* OESS-168:Remove implicit conversion warnings. (#829)H. Joe Lee2021-07-121-559/+559
| | | | | * OESS-168:Remove implicit conversion increases floating-point precision warnings. * OESS-168:Remove clang warnings.
* Removes obsolete equivalents of C99's __func__ (#800)Dana Robinson2021-06-291-242/+257
|
* Removes pre-C99 build and header cruft (#700)Dana Robinson2021-05-281-13/+0
| | | | | | | | | | | | | | * Committing clang-format changes * Removes pre-C99 build and header cruft * Assumes ANSI C headers exist * Assumes stdbool.h, stdint.h, and inttypes.h are present * Assumes the C++ compiler can handle stdint.h * Removes all work-arounds for missing functionality, especially stdbool.h * Formats source Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Removes gratuitous (double)x.yF casts (#632)Dana Robinson2021-05-071-4/+4
| | | | | | | | | * Committing clang-format changes * Removes gratuitous (double)x.yF casts * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fixed clang-tidy readability-redundant-control-flow warnings (#428)Sean McBride2021-03-051-34/+0
| | | | | | | | | * Fixed clang-tidy readability-redundant-control-flow warnings Just removed useless trailing return statements. * Removed blank lines from h5diffgentest.c with clang-format v10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* More warning fixes (#400)Sean McBride2021-03-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed -Wunused-local-typedef warning * Fixed -Wformat warnings In one case also removed a `z` character. There was a `z%d` that I think was supposed to be `%zd` * Fixed -Wshorten-64-to-32 warnings * Fixed -Wself-assign warnings * Fixed -Wreserved-id-macro warnings * Commit format changes from clang-format, clang version 10.0.1. * Fixed -Wself-assign warnings * Fixed -Wunused-local-typedef warning * Fixed -Wformat warnings In two cases also removed a `z` character. There was a `z%d` that was supposed to be `%zd`. * Fixed -Wshorten-64-to-32 warnings * Fixed -Wreserved-id-macro warnings * Fixed -Wself-assign warnings * Format source. * Remove blank lines to pass format check. 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.
* develop revert source to clang-format version 11 (#293)Allen Byrne2021-01-291-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction
* Add flag to H5CX_pop that allow setting the properties to return to ↵Quincey Koziol2020-12-011-1/+1
| | | | application to be skipped. (#134)
* Basic alignment with async branch (#115)Quincey Koziol2020-11-231-5/+5
| | | | | | | * Basic alignment with async branch - trivial changes to reduce clutter in overall diff. * Update minor error code to reflect change within library * Update the error output to match library
* Clang-format of source filesAllen Byrne2020-09-301-18610/+17495
|
* File changes to affect formattingAllen Byrne2020-09-041-32/+51
|
* Tab to space conversions.mainzer2020-08-141-4/+4
| | | | | | | | Re-applied tab to space conversions accidentally reverted in the commit of the metadata cache skip list optimization, and performed some additional tab to space conversions in passing. Tested parallel / debug on Jelly.
* Merge branch 'develop' into mdc_sl_optmainzer2020-08-131-1/+0
|\
| * Removes staff email addresses from the repositoryDana Robinson2020-08-071-1/+0
| | | | | | | | Removes redundant C library headers from hl library
* | When flushing, the metadata cache attempts to flush entries in increasingmainzer2020-08-051-1003/+1096
|/ | | | | | | | | | | | | | | | 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.
* So that I can use PASSED(); anywhere a statement can go, #define PASSED() withDavid Young2020-02-281-6/+6
| | | | a do-while wrapper.
* Revert "Revert "Moved -Wunsuffixed-float-constants to the developer warnings.""Dana Robinson2020-01-231-1/+1
| | | | This reverts commit 6486e06545bf637d46e18a787395542f4fca143a.
* Adjust cache.c only variables.Allen Byrne2019-12-181-13/+26
|
* Fix include to correct memory calls - big-endian issue.Allen Byrne2019-12-181-0/+1
|
* HDFFV-10979 cleanup globalsAllen Byrne2019-12-121-1/+0
|
* HDFFV-10979 fix global name clashAllen Byrne2019-12-111-0/+465
|
* Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings ↵David Young2019-11-271-1/+1
| | | | level and fixing some code.' (commit 5c911d8baf3)"
* Change some GCC warnings to errors. Fix code to quiet some warnings.David Young2019-11-051-1/+1
|
* Add HD prefix to testsAllen Byrne2019-08-151-7481/+7481
|
* Add API context interface and use it throughout the library.Quincey Koziol2018-03-151-58/+58
|
* Better segregate clean & dirty LRU lists so that they are only defined whenQuincey Koziol2017-09-301-4/+5
| | | | the H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS macro is defined.
* 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.
* Express test mods to test/cache.cmainzer2017-04-151-17/+89
| | | | | | | | | | Modified test/cache.c to skip the smoke checks with paged aggregation for all express test levels other than 0 Change to src/H5PL.c seems to be the result of autogen.sh. As it seems to be correct, I am checking it in. Tested serial and parallel (debug only) on jelly.
* Final merge of page buffering branch to developQuincey Koziol2017-03-141-307/+415
|
* Merge in reentrency changes to "make space in cache" from page_buffering branch.Quincey Koziol2017-03-131-40/+57
|
* Minor cleanups and bring over "prefetched dirty" fixes for entries loaded fromQuincey Koziol2017-03-121-2/+3
| | | | a cache image.
* Misc. small cleanups to sync against incoming page buffering changes.Quincey Koziol2017-03-021-8/+4
|
* Fix some more signed -> unsigned value issues with cache data structures, alsoQuincey Koziol2017-02-231-33/+14
| | | | misc. style cleanups. All to align w/incoming page_buffering changes.
* Cleanups and normalizations against incoming page_buffering changes.Quincey Koziol2017-02-201-10/+7
|
* HDFFV-10124 Using cache_common.h contains other include filesAllen Byrne2017-02-021-3/+0
|
* Cache image feature and testingQuincey Koziol2017-01-291-5/+5
|
* Bring change to use array of metadata cache entry classes for H5C_createQuincey Koziol2017-01-281-12/+12
| | | | instead of array of class names from cache image branch.
* Switch list lengths to unsigned integers (to align better w/cache image merge)Quincey Koziol2017-01-281-154/+154
|
* Add "image up to date" flag / parameter to metadata cache entry status calls.Quincey Koziol2017-01-061-35/+36
|
* Bring file shutdown code from cache image branchQuincey Koziol2017-01-051-0/+19
|
* Bring support for doubly-linked list of all entries in cache from incomingQuincey Koziol2016-12-301-13/+35
| | | | cache image branch.
* More normalizations against incoming cache image branch.Quincey Koziol2016-12-291-194/+102
|