galloc

所属分类:Linux/Unix编程
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2018-04-07 18:04:34
上 传 者sh-1993
说明:  Go编程语言中`malloc(3)`的实现
(An implementation of `malloc(3)` in the Go programming language)

文件列表:
LICENSE (35141, 2018-04-06)
galloc/ (0, 2018-04-06)
galloc/galloc.go (2629, 2018-04-06)
main.go (622, 2018-04-06)

# galloc An implementation of `malloc(3)` in the Go programming language. **Disclaimer**: this was created for educational purposes. ### Dependencies This program is intended to be used on a Unix system because it depends on the [`unix`](https://godoc.org/golang.org/x/sys/unix) package. ### Usage Simply download / clone the repo then run: ```shell $ cd path/to/repo $ go build && ./malloc ``` ## TODO - ~~Add implementation for `free(3)`~~ - Add implementation for `realloc(3)` - Add implementation for `calloc(3)` - Allow for use in C using cgo ## License This program is free software, distributed under the terms of the [GNU] General Public License as published by the Free Software Foundation, version 3 of the License (or any later version). For more information, see the file LICENSE.

近期下载者

相关文件


收藏者