大约有 41 项符合查询结果(耗时:0.0021秒) [XML]

https://www.tsingfun.com/it/op... 

TLSF源码及算法介绍 - 开源 & Github - 清泛网 - 专注C/C++及内核技术

... 测试代码如下: /* * benchmark.cc * * Created on: Aug 19, 2021 * Author: root */ #include "utility/TestCommand.h" #include "tlsf.h" #include <benchmark/benchmark.h> void std_test() { void* p = malloc(1024); *(int*)p = 2134; free(p); } #define POOL_SIZE 102...