Code Monkey home page Code Monkey logo

align-memory's Introduction

Align-Memory

A simple C library for easy memory alignment.

Table of Contents

Description

This is a simple dynamic memory-alignment C library. It contains convenience functions for getting aligned-memory allocation size, aligned-memory location, and actual memory location from aligned-memory.

See the list of features and functions implemented till now in Project Status.

Installation

To get started with this project, download and install the following.

  • Download and install git

    • If you use Windows, then go to this link and download and install the suitable version.

    • If you use any stable version of Debian/Ubuntu then run this command in your terminal

      sudo apt-get install git
    • If you use macOS then install homebrew if you don't already have it, then run this command in your terminal

      brew install git
  • Run the command to clone this repository

    git clone https://github.com/KumarjitDas/Align-Memory.git
  • Download and install a C compiler (clang or gcc)

    • If you use Windows 10 then download and install a suitable version of clang from this link. For gcc, use the suitable MinGW version from this link.

    • If you use any stable version of Debian/Ubuntu then run these commands in your terminal to download and install clang and gcc compilers

      sudo apt install clang
      sudo apt install gcc
    • In macOS, clang is the default C compiler. To download and install gcc, run this command in your terminal

      brew install gcc
  • Download and install Ninja build system

    • If you use Windows 10 then download and install Ninja from here.

    • If you use any stable version of Debian/Ubuntu then run this command in your terminal

      sudo apt-get install ninja-build
    • If you use macOS then run this command in your terminal

      brew install ninja
  • Download and install CMake build automation tool

    • If you use Windows 10 then download and install CMake from here.

    • If you use any stable version of Debian/Ubuntu then run this command in your terminal

      sudo apt-get -y install cmake
    • If you use macOS then run this command in your terminal

      brew install cmake

Roadmap

See the open issues for a list of proposed features/functionalities (and known issues).

The list of features and functions implemented till now is given in Project Status.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  • Fork this Project

  • Create your Feature Branch

    git checkout -b feature/AmazingFeature
  • Commit your Changes

    git commit -m 'Add some AmazingFeature'
  • Push to the Branch

    git push origin feature/AmazingFeature
  • Create a Pull Request

Naming Convension

The naming convension used in this project will be listed soon.

License

This project is distributed under the MIT License. See LICENSE for more information.

Project Status

List of functionalities/features implemented so far.

  • kdi_get_size_for_memory_alignment
  • kdi_align_memory
  • kdi_get_actual_memory_from_aligned_memory

Acknowledgment

I appreciate these websites which helped me to make such good README file, and helped me to learn about project versioning and keeping CHANGELOG.

Contact

Twitter: @kumarjitdas1999

LinkedIn: Kumarjit Das | কুমারজিৎ দাস

E-mail: [email protected]

Project link: GitHub-KumarjitDas-Align-Memory

Versioning

This project uses MAJOR, MINOR, and PATCH version numbers for versioning (vMAJOR.MINOR.PATCH).

  • MAJOR version number indicates new changes which may be incompatible with older versions.
  • MINOR version number indicates addition of backwards-compatible features.
  • PATCH version number indicates backwards-compatible bug fixes, or minor mistake fixes like spelling, character cases, punctuations, and indentation.

Changelog

The Changelog file contains all the information about the changes made to this project till now.

align-memory's People

Contributors

kumarjitdas avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.