重置上传,新增了多个标准库,开始 TransPyV 自举实验

This commit is contained in:
2026-07-19 11:38:15 +08:00
parent 796222a300
commit 4e66207ba1
1041 changed files with 6597 additions and 27814 deletions

View File

@@ -73,7 +73,7 @@ def main() -> int:
b3: t.CVoid | t.CPtr = buddy.alloc(100)
testcheck.check(b3 is not None, "MemBuddy alloc after free", "FAIL")
# realloc 增长
b4: t.CVoid | t.CPtr = buddy.realloc(b2, 0, 400)
b4: t.CVoid | t.CPtr = buddy.realloc(b2, 400)
testcheck.check(b4 is not None, "MemBuddy realloc 200->400", "FAIL")
# ========== 多态分派 (核心测试) ==========