summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
Commit message (Collapse)AuthorAgeFilesLines
* Add semicolon at end of TEST_ERROR() invocation for consistency.Jacob Smith2019-01-041-1/+1
|
* Change FAIL_PUTS_ERROR to TEST_ERROR.Jacob Smith2019-01-041-17/+17
| | | | Remove VOL-related merge cruft.
* Incoporate minimized dataset headers code and tests.Jacob Smith2018-12-311-157/+293
|
* Moved tests to another fileBinh-Minh Ribler2018-11-071-344/+7
| | | | | | | | Description: Moved the test function test_get_chunk_info from dsets.c to chunk_info.c because chunk_info.c was created for the purpose of testing chunk information. Platforms tested: Linux/64 (jelly)
* Updated new API functionsBinh-Minh Ribler2018-11-051-17/+77
| | | | | | | | | | | | | | Description: - Per Vailin's review, revised H5Dget_chunk_info_by_coord to handle non-existing chunk and H5Dget_num_chunks and H5Dget_chunk_info to handle dataset with no data. - Addressed other review comments - Note that additional tests will be added as we need to send users these functions asap for feedback. Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1011test)
* New API functionsBinh-Minh Ribler2018-10-291-1/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Added functions to query chunk information: H5Dget_num_chunks(dset_id, fspace_id, *nchunks) Gets the number of written chunks that intersect with the given dataspace. However, in this version, the intersection is not yet completed. Thus, the number of all written chunks will be returned. H5Dget_chunk_info_by_coord(dset_id, *coord, *filter_mask, *addr, *size) Given a chunk's coordinates, returns the chunk's filter, address, and size. H5Dget_chunk_info(dset_id, fspace_id, index, *coord, *filter_mask, *addr, *size) Given a chunk's index, returns the chunk's coordinates, filter, address, and size. The chunk belongs to a set of chunks that have nonempty intersection with the specified dataspace. However, in this version, the intersection is not yet completed, and the index is of all the written chunks. Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1011test)
* 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
|
* Misc. small cleanups to sync against incoming page buffering changes.Quincey Koziol2017-03-021-4/+6
|
* Bring over tweak for missing environment variable.Quincey Koziol2016-12-181-1/+1
|
* Bring SWMR support in to the main development branch. (Finally!) More testsQuincey Koziol2016-12-021-11/+649
| | | | and the tool and API wrappers will be coming in over the weekend.
* Changes to be committed:Frank.Willmore2016-10-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | modified: bittests.c modified: cmpd_dset.c modified: dsets.c modified: dt_arith.c modified: dtypes.c modified: extend.c modified: fillval.c modified: filter_fail.c modified: flush1.c modified: gen_cross.c modified: hyperslab.c modified: istore.c modified: links.c modified: links_env.c modified: objcopy.c modified: plugin.c modified: tcheck_version.c modified: unlink.c modified: unregister.c Minor fixes to replace numeric exit codes with MACRO declarations. Not all codes found were boolean, and those cases were not changed.
* Fixed Windows dsets.c test failure.Dana Robinson2016-10-141-1/+1
| | | | | | | A 'static' keyword was removed from an array that needs it on Windows during a warning removal overhaul. Replacing it fixes the error. Tested on: 64-bit Windows 7 w/ VS 2015
* Revert "Fixed Windows test failures."Dana Robinson2016-10-141-1/+1
| | | | This reverts commit f1dcda5c8e23d4897b5fe49049b8d939313b39c6.
* Fixed Windows test failures.derobins2016-10-141-1/+1
| | | | | | Replaced a static keyword that was deleted during a warnings overhaul. Tested on 64-bit Visual Studio 2015
* Clean up hardcoded constants and check return values better. (Comments fromQuincey Koziol2016-09-291-6/+10
| | | | group code review)
* Description:Quincey Koziol2016-09-271-13/+69
| | | | Further warning cleanups: from 667 warnings to 503.
* [svn-r30189] Description:Quincey Koziol2016-07-181-268/+391
| | | | | | | | | 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-r30112] Description:Quincey Koziol2016-06-281-1/+2
| | | | | | | | | | 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-r29770] Description:Quincey Koziol2016-04-231-1/+19
| | | | | | | | Bring 'none' chunk index from revise_chunks branch to trunk. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd) (h5committest forthcoming)
* [svn-r29743] Description:Quincey Koziol2016-04-191-0/+5
| | | | | | | | Close another FAPL in the test_missing_chunk() routine. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd) (h5committest forthcoming)
* [svn-r29738] Description:Quincey Koziol2016-04-191-2/+246
| | | | | | | | Bring "single" chunk index from revise_chunks branch to trunk. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd) (h5committest forthcoming)
* [svn-r29736] Description:Quincey Koziol2016-04-191-0/+5
| | | | | | | | Close FAPL that was leaked in zero_dims test. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production, including check-vfd (h5committest forthcoming)
* [svn-r29722] Description:Quincey Koziol2016-04-171-106/+1585
| | | | | | | | Bring over more dataset tests from the revise_chunks branch. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r29717] Description:Quincey Koziol2016-04-161-0/+404
| | | | | | | | | | Correct chunk index computation for earrays and farrays, particularly when copying datasets with H5Ocopy() and other operations (like H5Dget_storage_size) that require iterating over all chunks. Tested on: MacOSX/64 10.11.4 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r29659] Added fixed array chunk indexing from revise_chunks.Dana Robinson2016-04-071-0/+406
| | | | | Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 Autotools serial w/ Java, Fortran, & C++
* [svn-r29635] Description:Quincey Koziol2016-04-051-3/+22
| | | | | | | | | Bring support for earray and v2 B-trees from revise_chunks branch to trunk. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r29607] Description:Quincey Koziol2016-04-021-18/+209
| | | | | | | | | Bring "don't filter partial edge chunks" capability from revise_chunks to trunk. Tested on: MacOSX/64 10.11.4 (amazon) w/debug, production & parallel (h5committest forthcoming)
* [svn-r29548] Minor normalization w/ trunk in preparation for big merge.Dana Robinson2016-03-241-21/+18
| | | | | | Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial autotools parallel (MPICH 3.1.4)
* [svn-r28710] Description:Quincey Koziol2015-12-191-33/+34
| | | | | | | | | | | | Bring r28708 from revise_chunks branch: Fix earray, farray and btree2 use of incorrect file pointer when two files are opened and used to access the data structure. Misc. minor code cleanups as well. Tested on: MacOSX/64 10.11.2 (amazon) w/serial & parallel h5committest forthcoming
* [svn-r28138] Add first support for _Bool and make hbool_t a "real" _Bool if ↵Jerome Soumagne2015-10-201-1/+1
| | | | | | | | | | | | | | available Fix tests accordingly and fix misuse of hbool_t in various places Fix initialization of H5Pgcpl/ocpl structs in property decoding routines Tested on: Linux/32 (jam) Linux/64 (platypus) Linux/PPC64 (ostrich) MacOSX/64 10.11
* [svn-r27810] Description:Quincey Koziol2015-09-161-6/+39
| | | | | | | Clean up resources on failure Tested on: Linux/32 2.6.x (jam) w/Purify