Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converts testhdf5 macros to h5test macros in chunk_info.c #1820

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

derobins
Copy link
Member

@derobins derobins commented Jun 22, 2022

The two macro schemes were not designed to work together. Also
quiets some MSVC warnings about comparing pointers and integers.

220>C:\Users\Dana Robinson\Desktop\hdf5\hdf5\test\chunk_info.c(1701,5): warning C4311: 'type cast': pointer truncation from 'chunk_iter_info_t *' to 'long'
220>C:\Users\Dana Robinson\Desktop\hdf5\hdf5\test\chunk_info.c(1712,5): warning C4311: 'type cast': pointer truncation from 'chunk_iter_info_t *' to 'long'

The two macro schemes were not designed to work together. Also
quiets some MSVC warnings about comparing pointers and integers.
@derobins derobins merged commit 249008d into HDFGroup:develop Jun 23, 2022
mkitti pushed a commit to mkitti/hdf5 that referenced this pull request Aug 8, 2022
…info.c (HDFGroup#1820)

The two macro schemes were not designed to work together. Also
quiets some MSVC warnings about comparing pointers and integers.
derobins added a commit that referenced this pull request Aug 16, 2022
* Revert "Revert H5Dchunk_iter changes in hdf5_1_12_1 (#733)"

This reverts commit 10abe9a.

* Apply clang-format

* Reincorporate spelling fix from #1166

* Incorporate H5Dchunk_iter changes from #161

* Backport to 1.12: Adds a quick for for some egregious chunk_info badness (#722)

* Backport to 1.12: Converts testhdf5 macros to h5test macros in chunk_info.c (#1820)

The two macro schemes were not designed to work together. Also
quiets some MSVC warnings about comparing pointers and integers.

* Backport to 1.12: H5Dchunk_iter now passes offsets in units of dataset elements, fix #1419 (#1969)

* H5Dchunk_iter now passes chunk dimension scaled offsets, fix #1419

* Update docs for H5Dchunk_iter, H5Dget_chunk_info*

Modified description for `H5Dchunk_iter`, `H5Dget_chunk_info`, and `H5Dget_chunk_info_by_coord` to the following

 * offset          Logical position of the chunk’s first element in units of dataset elements
 * filter_mask  Bitmask indicating the filters used when the chunk was written
 * size             Chunk size in bytes, 0 if the chunk does not exist

* Sync H5Dchunk_iter documentation with develop

* Remove H5VL_DATASET_WAIT references from 1.12

* Backport to 1.12 #161, #1474, review comments

Co-authored-by: Dana Robinson <[email protected]>
@derobins derobins deleted the chunk_info_testhdf5_badness branch March 27, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants