summaryrefslogtreecommitdiffstats
path: root/test/cache.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Bring over changes from revise_chunks that cleanup recent SWMR changes fromQuincey Koziol2016-12-111-172/+236
| | | | code review feedback.
* Bring over support for retrying metadata cache entry loads, along with all theQuincey Koziol2016-11-201-0/+130
| | | | supporting metadata cache callback changes, etc.
* Code style and warning cleanups, from revise_chunks branch.Quincey Koziol2016-11-061-4757/+4619
|
* [svn-r30112] Description:Quincey Koziol2016-06-281-969/+2180
| | | | | | | | | | Move updated flush dependency code in metadata cache from revise_chunks branch to trunk. Also many of the cleanups from r30111 in the revise_chunks branch. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r30068] Description:Quincey Koziol2016-06-131-353/+355
| | | | | | | | Bring metadata cache corking to trunk. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r30002] Fixed some minor warnings in H5AC.c and H5C.c, cleaned up warningsDana Robinson2016-06-011-27/+40
| | | | | | | | in the cache tests, and made some huge static arrays dynamic in the cache tests. Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1 Autotools serial
* [svn-r29882] Convert cache source files to library compatible by CMake and ↵Allen Byrne2016-05-041-2/+0
| | | | Windows
* [svn-r29081] - merge in the phdf5_metadata_opt/ branch with the collective ↵Mohamad Chaarawi2016-02-101-52/+52
| | | | | | | | metadata optimizations. - rename H5AC_dxpl_id to H5AC_ind_read_dxpl_id and update all usage in the library tested on bb-8 with parallel and serial.
* [svn-r29057] added dxpl type checking when debug mode is enabled ↵Mohamad Chaarawi2016-02-071-52/+52
| | | | | | (H5_DEBUG_BUILD) tested on bb-8 with Serial and Parallel, debug and production builds.