{"id":21730468,"url":"https://github.com/kumarjitdas/align-memory","last_synced_at":"2026-06-22T01:31:23.607Z","repository":{"id":46227515,"uuid":"394618129","full_name":"KumarjitDas/Align-Memory","owner":"KumarjitDas","description":"A simple C library for easy memory alignment.","archived":false,"fork":false,"pushed_at":"2022-01-17T18:23:52.000Z","size":161,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T23:26:41.735Z","etag":null,"topics":["batch-script","c","c99","cmake","library","memory","memory-alignment"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KumarjitDas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-10T10:53:50.000Z","updated_at":"2025-01-09T23:13:15.000Z","dependencies_parsed_at":"2022-09-07T19:41:02.911Z","dependency_job_id":null,"html_url":"https://github.com/KumarjitDas/Align-Memory","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/KumarjitDas/Align-Memory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KumarjitDas%2FAlign-Memory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KumarjitDas%2FAlign-Memory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KumarjitDas%2FAlign-Memory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KumarjitDas%2FAlign-Memory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KumarjitDas","download_url":"https://codeload.github.com/KumarjitDas/Align-Memory/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KumarjitDas%2FAlign-Memory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34630770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["batch-script","c","c99","cmake","library","memory","memory-alignment"],"created_at":"2024-11-26T04:16:04.977Z","updated_at":"2026-06-22T01:31:23.589Z","avatar_url":"https://github.com/KumarjitDas.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Align-Memory\n\nA simple C library for easy memory alignment.\n\n## Table of Contents\n\n- [Align-Memory](#align-memory)\n  - [Table of Contents](#table-of-contents)\n  - [Description](#description)\n  - [Installation](#installation)\n  - [Roadmap](#roadmap)\n  - [Contributing](#contributing)\n  - [Naming Convension](#naming-convension)\n  - [License](#license)\n  - [Project Status](#project-status)\n  - [Acknowledgment](#acknowledgment)\n  - [Contact](#contact)\n  - [Versioning](#versioning)\n  - [Changelog](#changelog)\n\n## Description\n\nThis is a simple dynamic memory-alignment C library. It contains convenience functions for *getting aligned-memory\nallocation size*, *aligned-memory location*, and *actual memory location from aligned-memory*.\n\nSee the list of features and functions implemented till now in [Project Status](#project-status).\n\n## Installation\n\nTo get started with this project, download and install the following.\n\n- Download and install **git**\n  - If you use *Windows*, then go to [this link](https://git-scm.com/downloads) and download and install the suitable\n    version.\n  - If you use any stable version of *Debian/Ubuntu* then run this command in your terminal\n\n    ```sh\n    sudo apt-get install git\n    ```\n\n  - If you use *macOS* then install [homebrew](https://brew.sh/) if you don't already have it, then run this command\n    in your terminal\n\n    ```sh\n    brew install git\n    ```\n\n- Run the command to clone this repository\n\n  ```sh\n  git clone https://github.com/KumarjitDas/Align-Memory.git\n  ```\n\n- Download and install a **C** compiler (*clang* or *gcc*)\n  - If you use *Windows 10* then download and install a suitable version of **clang** from\n    [this](https://releases.llvm.org/download.html) link. For **gcc**, use the suitable *MinGW* version from\n    [this](http://mingw-w64.org/doku.php/download) link.\n  - If you use any stable version of *Debian/Ubuntu* then run these commands in your terminal to download and install\n    **clang** and **gcc** compilers\n\n    ```sh\n    sudo apt install clang\n    ```\n\n    ```sh\n    sudo apt install gcc\n    ```\n\n  - In *macOS*, **clang** is the default **C** compiler. To download and install gcc, run this command in your terminal\n\n    ```sh\n    brew install gcc\n    ```\n\n- Download and install **Ninja** build system\n  - If you use *Windows 10* then download and install **Ninja** from\n    [here](https://github.com/ninja-build/ninja/releases).\n  - If you use any stable version of *Debian/Ubuntu* then run this command in your terminal\n\n    ```sh\n    sudo apt-get install ninja-build\n    ```\n\n  - If you use *macOS* then run this command in your terminal\n\n    ```sh\n    brew install ninja\n    ```\n\n- Download and install **CMake** build automation tool\n  - If you use *Windows 10* then download and install **CMake** from [here](https://cmake.org/download/).\n  - If you use any stable version of *Debian/Ubuntu* then run this command in your terminal\n\n    ```sh\n    sudo apt-get -y install cmake\n    ```\n\n  - If you use *macOS* then run this command in your terminal\n\n    ```sh\n    brew install cmake\n    ```\n\n## Roadmap\n\nSee the [open issues](https://github.com/KumarjitDas/Align-Memory/issues) for a list of proposed\nfeatures/functionalities (and known issues).\n\nThe list of features and functions implemented till now is given in [Project Status](#project-status).\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any\ncontributions you make are greatly appreciated.\n\n- Fork this Project\n- Create your *Feature Branch*\n\n  ```sh\n  git checkout -b feature/AmazingFeature\n  ```\n\n- Commit your *Changes*\n\n  ```sh\n  git commit -m 'Add some AmazingFeature'\n  ```\n\n- Push to the Branch\n\n  ```sh\n  git push origin feature/AmazingFeature\n  ```\n\n- Create a *Pull Request*\n\n## Naming Convension\n\nThe naming convension used in this project will be listed soon.\n\n## License\n\nThis project is distributed under the **MIT License**. See [LICENSE](LICENSE) for more information.\n\n## Project Status\n\nList of functionalities/features implemented so far.\n\n- *kdi_get_size_for_memory_alignment*\n- *kdi_align_memory*\n- *kdi_get_actual_memory_from_aligned_memory*\n\n## Acknowledgment\n\nI appreciate these websites which helped me to make such good **README** file, and helped me to learn about project\nversioning and keeping **CHANGELOG**.\n\n- [Make a README](https://www.makeareadme.com/)\n- [Semantic Versioning](https://semver.org/spec/v2.0.0.html)\n- [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)\n\n## Contact\n\nTwitter: [@kumarjitdas1999](https://twitter.com/kumarjitdas1999)\n\nLinkedIn:\n[Kumarjit Das | কুমারজিৎ দাস](https://www.linkedin.com/in/kumarjit-das/)\n\nE-mail: [kumarjitdas1999@gmail.com](kumarjitdas1999@gmail.com)\n\nProject link:\n[GitHub-KumarjitDas-Align-Memory](https://github.com/KumarjitDas/Align-Memory)\n\n## Versioning\n\nThis project uses **MAJOR**, **MINOR**, and **PATCH** version numbers for\nversioning (v*MAJOR.MINOR.PATCH*).\n\n- **MAJOR** version number indicates *new changes which may be incompatible with older versions*.\n- **MINOR** version number indicates *addition of backwards-compatible features*.\n- **PATCH** version number indicates *backwards-compatible bug fixes*, or minor mistake fixes like *spelling*,\n  *character cases*, *punctuations*, and *indentation*.\n\n## Changelog\n\nThe [Changelog](CHANGELOG.md) file contains all the information about the changes made to this project till now.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkumarjitdas%2Falign-memory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkumarjitdas%2Falign-memory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkumarjitdas%2Falign-memory/lists"}