summaryrefslogtreecommitdiffstats
path: root/test/tselect.c
Commit message (Collapse)AuthorAgeFilesLines
* HD prefix updates in src/ and test/Dana Robinson2020-10-241-4/+4
| | | | | | | Adds missing HD prefixes to API calls in src and test. Adds some extra processing to bin/checkposix to keep the noise levels down when running the script (not comprehensive).
* Clang-format of source filesAllen Byrne2020-09-301-5929/+6136
|
* Add H5Ssel_iter_init API call to reset a selection iteratorJordan Henderson2020-09-181-0/+174
|
* Fixed additional typos in tselect.c comments.Dana Robinson2020-07-281-2/+2
|
* Fixes typo in tselect.cDana Robinson2020-07-281-1/+1
|
* Updates H5Sset_extent_none() to set H5S_NULLDana Robinson2020-07-281-2/+78
| | | | | | | | The API call used to set the internal H5S_NO_CLASS value which produced errors when such a dataspace was passed to many other API calls. Fixes HDFFV-11027
* Detect when there's the same-shaped selection of a single block of elements onQuincey Koziol2020-06-051-7/+7
| | | | | | both selections, but with different selection types (i.e. one selection defined as an 'all' type and the other as a hyperslab or point type), without falling into the generic selection iteration case.
* Minor tweaks to testhdf5 code after normalization with 1.10.Dana Robinson2020-05-281-39/+39
|
* Trim trailing whitespaceQuincey Koziol2020-04-201-1/+1
|
* more cleanupkmu2020-01-231-2/+0
|
* merge and fix conflictkmu2020-01-191-1/+1
|\
* | fix unused related warningskmu2020-01-131-1/+2
|/
* Number of arguments requires H5Dopen2.Larry Knox2019-09-281-1/+1
|
* (1) Address the feedback from the PR reviewVailin Choi2019-09-261-11/+11
| | | | (2) Add release notes
* Fix for HDFFV-10585 investigate hyperslab slowness:Vailin Choi2019-09-191-0/+162
| | | | | | | 1) Improve hyperslab performance when doing I/O from 1-d disjoint file dataspace to 1-d contiguous memory dataspace. 2) Move coding in H5D__chunk_io_init() that is constructing the chunk mappings to a separate routine.
* Add HD prefix to testsAllen Byrne2019-08-151-1197/+1197
|
* Add H5Sselect_shape_same and H5Sselect_intersect_block API routines, alongQuincey Koziol2019-07-301-591/+719
| | | | with tests and minor cleanups and refactorings.
* Fixed various warnings in testhdf5 files.Dana Robinson2019-06-281-1/+0
|
* Add support for GCC 7.x warnings, update warnhist script to account for them,Quincey Koziol2019-06-211-3/+3
| | | | clean up warnings.
* Add H5S_SEL_ITER_SHARE_WITH_DATASPACE selection iterator creation flag, toQuincey Koziol2019-06-171-171/+182
| | | | | share dataspace's selection with iterator (and with caution about not modifying or closing the dataspace while the iterator is open).
* New hyperslab selection routines and new public selection iterator routines.Quincey Koziol2019-06-161-0/+737
|
* Core changes to selection code from the hyperslab_updates branch.Quincey Koziol2019-03-161-89/+1309
|
* Merge branch 'develop' into c_stdlib_posix_call_cleanupDana Robinson2019-02-191-1042/+616
|\
| * More changes to align with incoming selection improvements.Quincey Koziol2019-02-141-366/+0
| |
| * Align develop with incoming hyperslab_updates branch changes.Quincey Koziol2019-02-131-603/+611
| |
| * Delta reduction against hyperslab_updates branch.Quincey Koziol2019-01-111-74/+6
| |
* | C and POSIX call cleanupDana Robinson2019-01-111-12/+12
|/
* Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-04-291-71/+69
|\ | | | | | | merge_hyperslab_updates
| * Fixed misc Warnings flagged by VS2017.Dana Robinson2017-11-271-65/+65
| |
| * 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.
* | Checkpoint normalization against incoming hyperslab / selection / dataspaceQuincey Koziol2017-03-281-204/+206
|/ | | | improvements.
* [svn-r30219] Description:Quincey Koziol2016-07-221-15/+15
| | | | | | | | | More warning cleaups: down to 770 warnings (from ~940) in 134 files (from 148), with 28 unique kinds of warnings (from 31). Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r30113] Description:Quincey Koziol2016-06-281-1/+1
| | | | | | | | Clean up warnings (from 2774 -> 1560, with my standard debug build) Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r27835] Description:Quincey Koziol2015-09-211-1/+1
|\ | | | | | | | | | | | | | | Sync w/trunk. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
| * [svn-r27768] Description:Quincey Koziol2015-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complete revamp of package initialization/shutdown mechanism in the library. Each package now has a single init/term routine. This new way should avoid packages being re-initialized during library shutdown and is also be _much_ more proactive about giving feedback for resource leaks internal to the library. Introduces a new "module" header file for packages in the library (e.g src/H5Fmodule.h) which sets up some necessary package configuration macros for the FUNC_ENTER/LEAVE macros. (The VFL drivers have their own slightly modified version of this header, src/H5FDdrvr_module.h) Also cleaned up a bunch of resources leaks all across the library and tests, along with addressing many warnings, as I encountered them. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/64 3.10.x (kituo) w/serial & parallel Linux/64 2.6.x (ostrich) w/serial
* | [svn-r27546] Add tests for H5O__dset_bh_info (H5Oget_info) and unlimited ↵Neil Fortner2015-08-211-2/+0
| | | | | | | | | | | | | | | | selections in a region reference. Tested: ummon
* | [svn-r27543] Add tests to cover remaining code coverage assertions in ↵Neil Fortner2015-08-201-4/+226
| | | | | | | | | | | | | | | | | | H5Shyper.c. Add more tests for unlimited selections. Fix bug related to empty unlimited source dataset. Tested: ummon
* | [svn-r27284] Modify VDS implementation to always use FAPL and DAPL from VDS ↵Neil Fortner2015-06-251-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | file and dataset to open source files and datasets, instead of using the default property lists. Modify VDS to reject attempts at parallel I/O, fix parallel compile error. Modify VDS to not write fill value to memory buffer if the fill value is undefined. Other minor fixes/cleanup. Tested: ummon
* | [svn-r27246] Remove "clipped" status from unlimited selections, decoupling ↵Neil Fortner2015-06-181-277/+103
| | | | | | | | | | | | | | | | | | | | | | them from the extent. Improve algorithm for calculation of VDS extent by removing the need for a temporary copy of a dataspace. Other minor fixes/cleanup. Tested: ummon
* | [svn-r27191] Merged r26781 to r27185 from trunkDana Robinson2015-06-111-6/+6
|\ \ | |/ | | | | | | Tested on: 64-bit Ubuntu Linux VM w/ gcc 4.8.2 (C++ and Fortran 2003 also tested)
| * [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-011-6/+6
| | | | | | | | | | | | | | | | * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* | [svn-r26984] Add support for unlimited selection being clipped in the middle ↵Neil Fortner2015-04-301-18/+15
| | | | | | | | | | | | | | | | | | of a block. Add tests for this (pure selection tests, needs testing with VDS). Various bug fixes. Tested: ummon
* | [svn-r26828] Implement support for unlimited selections (not supported by ↵Neil Fortner2015-04-161-0/+392
|/ | | | | | | | | VDS code yet). Add tests for unlimited selections. Various other minor changes. Tested: ummon
* [svn-r26300] Description:Quincey Koziol2015-02-251-0/+164
| | | | | | | | | Add H5Sis_regular_hyperslab() and H5Sget_regular_hyperslab() API routines, along with tests. Tested on: Mac OSX/64 10.10.2 (amazon) w/serial (h5committest forthcoming)
* [svn-r25766] Description:Quincey Koziol2014-11-031-1526/+301
| | | | | | | | | | Revert r25273, 25283 & 25439 (the hyperslab improvement changes). They are buggy and it's taking me a long time to correct the problem. I'll check in a revised form of the changes when I've got them straightened out. Tested on: Mac OSX 10.10.0 (amazon) w/gcc 4.9.x, C++, FORTRAN Linux 2.6.x (jam) w/parallel
* [svn-r25283] Description:Quincey Koziol2014-06-141-16/+16
| | | | | | | | | | Correct error in new hyperslab selection test to use the right # of dimensions for start/stride/count/block arrays. Also, switch H5Sselect_select to H5Smodify_select. Tested on: MacOSX/64 10.9.3 (amazon) w/gcc 4.9.1, OpenMPI, C++, FORTRAN & threadsafe (Too minor to require h5committest)
* [svn-r25273] Description:Quincey Koziol2014-06-131-298/+1523
| | | | | | | | | | | Bring in Chao/Neil/my changes to optimize hyperslab selection operations further, along with 3 new public API routines: H5Scombine_hyperslab(), H5Sselect_select() and H5Scombine_select(), along with many minor cleanups to the code and fixing a few compiler warnings. Tested on: Mac OSX/64 10.9.3 w/gcc 4.9.x and parallel w/OpenMPI (h5commttest forthcoming)
* [svn-r24995] Description:Quincey Koziol2014-04-091-2/+10
| | | | | | | Improve checks for NULL buffer from user during H5Dread/H5Dwrite calls. Tested on: Linux/32 2.4.x (jam) w/gcc
* [svn-r24869] Description:Quincey Koziol2014-03-231-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Clean up more compiler warnings, plus merge a few Coverity bug fixes from the hdf5_1_8_coverity branch back to the trunk: r20877: Purpose: Fix coverity issue 1723 Description: Modified test_generate in hl/test_image to close file "f" before exit, even if an error occurs. r20879: Issue 63: change check of return of H5Tget_nmembers to <=0. No need to go futher if call fails as well as empty. r20881: Coverity #659 in Run 46: I changed the Line 442 where it tries to check whether FLAG_PRINTED is TRUE. But it had just been set to FALSE. I took out the condition check in the print statement. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & Parallel (too minor to require h5committest)
* [svn-r24376] Updated all code to use HDmalloc, HDcalloc, and HDfree.Dana Robinson2013-10-311-18/+18
| | | | | | | | | | | | | Prep work for adding a memory free function, part of HDFFV-8551. Tested on: 32-bit LE linux (jam) * with C++, Fortran * with thread safety on These are minor changes (almost entirely renaming foo functions to HDfoo) that don't change functionality. This should not require a full commit test.