文件名称:Buddy_System
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.62kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
采用伙伴算法管理空闲区,并增加已分配区表。
可以建立7个链表 ,分别来管理大小为210、 29、 28、 27、 26、 25、 24 块的空闲区,每块大小为16个字节。假定内存一开始有一个210的块和一个26的块,其它为空。实现内存的分配不回收。每次分配和回收后,都要显示程序运行结果。
每次分配和回收后,都要显示。-Free zone management by partners algorithm, and to increase the allocated area table. Can create 7 list, respectively, to manage the size of 210, 29, 28, 27, 26, 25, 24 of the free area, the size of each block of 16 bytes. Assume that there is a memory of a block and a 26 210 block, others are empty. Not achieve the allocation of memory recovery. Distribution and recovery time after the run results to be displayed. After each allocation and recovery should show.
可以建立7个链表 ,分别来管理大小为210、 29、 28、 27、 26、 25、 24 块的空闲区,每块大小为16个字节。假定内存一开始有一个210的块和一个26的块,其它为空。实现内存的分配不回收。每次分配和回收后,都要显示程序运行结果。
每次分配和回收后,都要显示。-Free zone management by partners algorithm, and to increase the allocated area table. Can create 7 list, respectively, to manage the size of 210, 29, 28, 27, 26, 25, 24 of the free area, the size of each block of 16 bytes. Assume that there is a memory of a block and a 26 210 block, others are empty. Not achieve the allocation of memory recovery. Distribution and recovery time after the run results to be displayed. After each allocation and recovery should show.
相关搜索: Buddy_system
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Buddy_System.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.