summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
Commit message (Collapse)AuthorAgeFilesLines
* Use H5_ATTR_NDEBUG_UNUSED instead of H5_ATTR_SANITY_CHECK.David Young2020-05-201-1/+1
|
* Avoid allocating a chunk index for datasets with 0-sized dimensions, untilQuincey Koziol2020-05-201-19/+212
| | | | the dataset is extended.
* Trim trailing whitespaceQuincey Koziol2020-05-201-6/+6
|
* testpar/t_2Gio.c: Fix a typo that I think was introduced by aDavid Young2020-05-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previous warnings PR. An array element was assigned to itself---shape[2]Â =Â shape[2];---instead of being assigned to chunk[2]. fortran/src/H5Pf.c: move conditional compilation controlled by H5_NO_DEPRECATED_SYMBOLS outside of a function for readability. fortran/src/H5match_types.c: put a variable's declaration under the same conditional compilation (H5_FORTRAN_HAVE_C_LONG_DOUBLE) as its use. For now, skip compilation of some unused debug dump routines in the JNI. While I'm in the JNI, delete a set-but-unused variable. src/H5Z.c: condition a variable declaration on H5_NO_DEPRECATED_SYMBOLS so that it's not declared but unused or vice versa. test/cache_common.h: add an #include in to get some symbols we need to avoid implicit declaration warnings. test/dsets.c: use a more conventional conditional-compilation syntax. test/dt_arith.c, test/fillval.c: initialize a bunch of uninitialized variables before use. test/vfd.c: pass the expected type of `void **` to posix_memalign(3) instead of `int **`. testpar/t_bigio.c: explicitly compare with 0 instead of using ! when "equal to 0?" is the question not "is false?" Repair some indentation while I'm here. testpar/testpar.h: repair misaligned line-continuation backslashes in a macro that probably should be a function so that we don't have to fiddle with the line continuation to begin with. tools/src/h5repack/h5repack_main.c: fix some compiler fussing about enums. tools/test/perform/pio_engine.c: the compiler fusses if you cast a function call returning double directly to off_t. It's ok if you cast a variable that's a double to off_t, however. Write and use a new function, sqrto(), to avoid the cast warnings.
* Revert "Revert "Moved -Wunsuffixed-float-constants to the developer warnings.""Dana Robinson2020-05-201-10/+10
| | | | This reverts commit 6486e06545bf637d46e18a787395542f4fca143a.
* Revert "Moved -Wunsuffixed-float-constants to the developer warnings."Dana Robinson2020-05-201-10/+10
| | | | This reverts commit 12bc75c6172ca7b64c33b17cf538a7629500cf2f.
* Moved -Wunsuffixed-float-constants to the developer warnings.Dana Robinson2020-05-201-10/+10
|
* squash cast warning fixkmu2020-05-201-12/+12
|
* fix unused related warningskmu2020-05-201-4/+4
|
* Tidying from code review.Dana Robinson2020-05-201-6/+20
|
* Fixed stack and frame size warnings. Not complete, but fixes most ofDana Robinson2020-05-201-204/+469
| | | | the easier cases.
* Squashed commit of the token_refactoring branch:Dana Robinson2020-05-201-23/+27
|
* remove unnecessary check macrokmu2020-05-201-4/+4
|
* fix intel compile warningskmu2020-05-201-4/+4
|
* Revert "fix warnings from Intel compiler"kmu2020-05-201-4/+4
| | | | This reverts commit 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.
* Revert "fix issues from previous PR comments"kmu2020-05-201-3/+3
| | | | This reverts commit d242a900f420b040e364f6c0976c01593e955db3.
* Revert "using a different MACRO"kmu2020-05-201-3/+3
| | | | This reverts commit fc61b7a9f3a38331809ebcb6247482943947cdb8.
* using a different MACROkmu2020-05-201-3/+3
|
* fix issues from previous PR commentskmu2020-05-201-3/+3
|
* fix warnings from Intel compilerkmu2020-05-201-4/+4
|
* Small changes from the token_refactoring branch, to reduce the delta to developQuincey Koziol2020-05-201-7/+10
|
* Remove constAllen Byrne2020-05-201-1/+1
|
* Fix compile error - declaration after executable statementAllen Byrne2020-05-201-2/+3
|
* Yanked -Wc++-compat from the flags used to build the C library in bothDana Robinson2020-05-201-12/+12
| | | | the Autotools and CMake.
* Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings ↵David Young2020-05-201-4/+5
| | | | level and fixing some code.' (commit 5c911d8baf3)"
* Quiet decleration-after-statement warnings.David Young2020-05-201-5/+4
|
* Use HD prefix.David Young2020-05-201-8/+8
|
* Merge all of my changes from merge-back-to-feature-vfd_swmr-attempt-1,David Young2019-12-091-597/+736
| | | | | | | | including the merge of `hdffv/hdf5/develop`, back to the branch that Vailin and I share. Now I need to put this branch on a fork with a less confusing name than vchoi_fork!
* I've changed `test/dsets` so that every time it needs to visit allDavid Young2019-10-171-32/+121
| | | | | | | | | | | | | | | | | cells in a matrix in an arbitrary order, first it chooses a random starting `offset` in [0, rows * columns - 1]. Then it chooses a random `increment` that's relatively prime to `rows * columns`. Then it visits every cell in `rows * columns` steps: for (i = 0; i < rows * columns; i++) { visit(cell[offset / columns][offset % columns]); offset = (increment + offset) % (rows * columns); } By moving the HDrandom() calls outside of the main loop and visiting each cell only once, this probably speeds things up quite a bit. It's also more resilient to a crummy random sequence. The new code visits cells in an order that's probably arbitrary enough for testing purposes.
* Develop normalization with vol_integration.Dana Robinson2018-09-191-51/+50
| | | | | Mostly peripheral things like the tools and wrappers, with just enough core library code to support that.
* Changes made based on feedback from pull request #1039.Vailin Choi2018-05-141-7/+7
|
* Fix for HDFFV-10180 Performance issues with H5Oget_info.Vailin Choi2018-04-241-7/+7
|
* Cleanup API context function usage.Quincey Koziol2018-03-191-0/+12
|
* Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-03-181-136/+432
|\ | | | | | | | | | | merge_func_enter_vol Plus initial steps toward merging API context push into FUNC_ENTER_API* macros
| * Improving testsBinh-Minh Ribler2018-02-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Description: - Added test for version bounds with nested datatypes - Added script for additional version bound test in h5repack - Cleaned up tests for consistency - Removed extra included header files Platforms tested: Linux/64 (jelly) Linux/64 (moohan) Darwin (osx1010test)
| * More includes cleanupAllen Byrne2018-02-141-78/+77
| |
| * Additional testsBinh-Minh Ribler2018-02-131-61/+358
| | | | | | | | | | | | | | | | | | | | 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-2/+4
|/
* Correct linkage of filters and other libsAllen Byrne2017-11-161-1/+1
|
* HDFFV-10297 update calls to H5Zfilter_availAllen Byrne2017-10-091-1499/+1380
|
* Fix for HDFFV-10217 infinite loop in H5VM_power2up().Vailin Choi2017-07-101-2/+95
| | | | | | The function H5VM_power2up() returns the next power of 2 for n. When n exceeds 2^63, it overflows and becomes 0 causing the infinite looping. The fix ensures that the function checks for n >= 2^63 and returns 0.
* Merge branch 'develop' into windows_openDana Robinson2017-05-311-2/+117
|\
| * Fixed additional minor warnings.Dana Robinson2017-05-251-0/+3
| |
| * Call to H5Dopen has H5dopen2 arguments at line 12704 of test/dsets.c -lrknox2017-05-101-1/+1
| | | | | | | | | | changed to H5Dopen2 to fix failure with --with-default-api-version=v16 configure option.
| * Fix for the two issues reported in HDFFV-10051Vailin Choi2017-05-091-13/+6
| | | | | | | | | | Modifications made based on the review comments from pull request #494 Tested on moohan, mayll, kituo, platypus, ostrich, osx1010test, quail, emu.
| * Fix for the two issues reported in HDFFV-10051:Vailin Choi2017-05-071-0/+119
| | | | | | | | | | | | | | | | | | | | | | (1) Repeated open/close of a compact dataset fails due to the increment of ndims in the dataset structure for every open. --This is done only for chunked dataset via H5D__chunk_set_sizes(). (2) layout "dirty" flag for a compact dataset is not reset properly after flushing the data at dataset close. --Reset the "dirty" flag before flushing the message to the object header via H5O_msg_write(). Tested on moohan, kituo, platypus, ostrich, osx1010test, quail, emu.
* | Rework of the POSIX file open permissions and macros to clean upDana Robinson2017-04-281-2/+2
| | | | | | | | | | | | HDopen() calls. Also fixed a minor const warning in the core VFD.
* | Changed the Windows POSIX open() file permissions to be correctDana Robinson2017-04-281-2/+2
|/ | | | according to MSDN. Partial fix for HDFFV-9630.
* 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.
* Final merge of page buffering branch to developQuincey Koziol2017-03-141-87/+131
|