{"id":25834069,"url":"https://github.com/laprej/buddy-allocator","last_synced_at":"2025-02-28T23:49:40.786Z","repository":{"id":35958800,"uuid":"40248753","full_name":"laprej/buddy-allocator","owner":"laprej","description":"Buddy system allocator","archived":false,"fork":false,"pushed_at":"2016-03-07T22:41:25.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-04-07T20:22:10.776Z","etag":null,"topics":["memory-allocation"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laprej.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-05T14:08:23.000Z","updated_at":"2022-04-13T08:59:14.000Z","dependencies_parsed_at":"2022-09-14T02:40:59.201Z","dependency_job_id":null,"html_url":"https://github.com/laprej/buddy-allocator","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laprej%2Fbuddy-allocator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laprej%2Fbuddy-allocator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laprej%2Fbuddy-allocator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laprej%2Fbuddy-allocator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laprej","download_url":"https://codeload.github.com/laprej/buddy-allocator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241280697,"owners_count":19938086,"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":["memory-allocation"],"created_at":"2025-02-28T23:49:36.835Z","updated_at":"2025-02-28T23:49:40.774Z","avatar_url":"https://github.com/laprej.png","language":"C","readme":"# buddy-allocator\n\nThis is a simple buddy system allocation scheme.\nAll of the metadata about the memory chunk (e.g., its size and whether it's currently being used) is stored at the beginning of that block of memory.\nYou can initialize it by calling `create_buddy_table()` and passing in the desired power of two.\nFor example, passing in 16 will create a buddy system of 2^16 = 65,536 bytes.\nIf it returns `NULL` then the buddy system was unable to allocate enough memory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaprej%2Fbuddy-allocator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaprej%2Fbuddy-allocator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaprej%2Fbuddy-allocator/lists"}