hdf5/tools/test/h5format_convert
jhendersonHDF ef401a5f5e
Refactor datatype conversion code to use pointers rather than IDs (#4104)
The datatype conversion code previously used IDs for the source and
destination datatypes rather than pointers to the internal structures
for those datatypes. This was mostly due to the need for an ID for these
datatypes that can be passed to an application-registered datatype
conversion function or datatype conversion exception function. However,
using IDs internally caused a lot of unnecessary ID lookups and hurt
performance of datatype conversions in general. This was especially
problematic for compound datatype conversions, where the ID lookups were
occuring on every member of every compound element of a dataset. The
code has now been refactored to use pointers internally and only create
IDs for datatypes when necessary.

Fixed a test issue in dt_arith where a library datatype conversion
function was being cast to an application conversion function. Since the
two have different prototypes, this started failing after the parameters
for a library conversion function changed from hid_t to H5T_t * and an
extra parameter was added. This appears to have worked coincidentally in
the past since the only different between a library conversion function
and application conversion function was an extra DXPL parameter at the
end of an application conversion function

Fixed an issue where memory wasn't being freed in the h5fc_chk_idx test
program. Even though the program exits quickly after allocating the
memory, it still causes failures when testing with -fsanitize=address
2024-03-09 23:47:31 -08:00
..
expected Test scripts now execute in-source with creation of tmp dir (#3723) 2023-10-20 10:57:09 -07:00
testfiles Develop tools move (#3580) 2023-09-26 13:46:55 -07:00
CMakeLists.txt Make sure that ONLY_SHARED_LIBS option is correctly set (#2544) 2023-03-13 16:24:49 -05:00
CMakeTests.cmake Rename incorrectly named option (#4067) 2024-03-05 09:07:16 -08:00
h5fc_chk_idx.c Refactor datatype conversion code to use pointers rather than IDs (#4104) 2024-03-09 23:47:31 -08:00
h5fc_gentest.c Remove unnecessary assignment in test generator (#3603) 2023-09-27 09:57:02 -05:00
Makefile.am Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
testh5fc.sh.in Test scripts now execute in-source with creation of tmp dir (#3723) 2023-10-20 10:57:09 -07:00