{"id":16345055,"url":"https://github.com/davidegrayson/intsafe","last_synced_at":"2025-04-12T03:14:36.194Z","repository":{"id":35254290,"uuid":"39514092","full_name":"DavidEGrayson/intsafe","owner":"DavidEGrayson","description":"Implementation of intsafe.h for mingw-w64.","archived":false,"fork":false,"pushed_at":"2024-10-20T20:29:29.000Z","size":328,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T03:14:31.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DavidEGrayson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-22T15:29:30.000Z","updated_at":"2024-11-28T18:15:16.000Z","dependencies_parsed_at":"2024-11-07T09:46:25.534Z","dependency_job_id":"3931bbda-3001-42ba-a68f-4c7de5826d7c","html_url":"https://github.com/DavidEGrayson/intsafe","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidEGrayson%2Fintsafe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidEGrayson%2Fintsafe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidEGrayson%2Fintsafe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidEGrayson%2Fintsafe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidEGrayson","download_url":"https://codeload.github.com/DavidEGrayson/intsafe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248510001,"owners_count":21116130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T00:29:45.781Z","updated_at":"2025-04-12T03:14:36.188Z","avatar_url":"https://github.com/DavidEGrayson.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# intsafe.h testing and generation for mingw-w64\n\nThese files help the [mingw-w64] project matain its implementation of\n[Microsoft's intsafe.h header], which defines hundreds of inline functions for safe\nconversions, additions, multiplications, and subtractions of integers.\n\nI originally auto-generated mignw-w64's intsafe.h back in 2015, but a few other\ncontributors have added things since then.\n\n## How to run tests\n\nTo run an auto-generated testsuite for intsafe.h, first install MSYS2, then\nopen a MINGW64 shell (or any other environment where the pacman command below runs\nsuccessfully) and run this command to install prerequisites:\n\n    pacman --needed -S mingw-w64-{i686,x86_64,clang-i686,clang-x86_64,cross-mingwarm64}-gcc $MINGW_PACKAGE_PREFIX-ruby\n\nThen run `./test/test.sh INTSAFE`, where `INTSAFE` is the path to the\nheader you want to test.  Some examples:\n\n    ./test/test.sh ./intsafe.h\n    ./test/test.sh ../mingw-w64/mingw-w64-headers/include/intsafe.h\n\n[mingw-w64]: https://www.mingw-w64.org/\n[Microsoft's intsafe.h header]: https://msdn.microsoft.com/en-us/library/windows/desktop/ff521693\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidegrayson%2Fintsafe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidegrayson%2Fintsafe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidegrayson%2Fintsafe/lists"}