docs: Fix SKILL.md规范 violations - Remove ## 方法列表 and flatten ### sub-headers in ## 公共方法

This commit is contained in:
2026-03-19 02:01:18 +08:00
parent 8e85fd98b8
commit 5257f3d75c
68 changed files with 718 additions and 1289 deletions

View File

@@ -12,25 +12,13 @@
## 公共方法
### 生命周期
| 方法 | 描述 |
|------|------|
| `PoolAllocator` | 构造内存池分配器 |
| `~PoolAllocator` | 析构函数,释放整个内存池 |
### 内存操作
| 方法 | 描述 |
|------|------|
| `Allocate` | 分配一个内存块 |
| `Free` | 释放内存块回空闲链表 |
| `Reallocate` | 不支持(始终返回 nullptr |
### 查询方法
| 方法 | 描述 |
|------|------|
| `Contains` | 检查指针是否属于此池 |
| `GetBlockSize` | 获取块大小 |
| `GetFreeBlockCount` | 获取空闲块数量 |