登录
首页 » c++ » 动态分区式存贮区管理

动态分区式存贮区管理

于 2022-04-10 发布 文件大小:2.10 kB
0 98
下载积分: 2 下载次数: 1

代码说明:

设计一个动态分区式存贮区管理程序,要求支持不同的放置策略,如首次、最佳、最坏。对于内存中的每一块分区,都需要一个分区描述器来描述其状态,且分区描述器之间按链表连接。这一步需要两个主存队列,一个存储自由分区,另一个存储已占用的分区。对于每一个任务,需要有申请和释放的函数,而根据放置策略的不同函数的实现也有所不同。考虑到内存会被不断读写,还需要程序能循环处理用户的请求。在内存分配的过程中,要注意到分区描述器也要占用一个单位的空间,已分配区也要尽量占用高地址处的空间。回收内存时还要想到需要合并的情况。每次申请或释放内存后即输出当前的内存状态。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • jicheng
    定义点Point类作为基类,在此基础上派生出直线Line类和圆Circle类,在Circle类的基础上以不同的属性派生出圆柱Cylinder类和球Spheroid。并要求基类和各派生类具有以下特点: (1) Line类含有计算直线长度和斜率的成员函数。 (2) Circle类含有计算圆面积的成员函数。 (3) Cylinder类含有计算圆柱表面积和体积的成员函数。 (4) Spheroid类含有计算球体的表面积和体积的成员函数。 (Point definition of point type as the base category, on the basis of a straight line derived Circle Circle Line category and class, in the Circle class based on different attributes derived Cylinder class and ball cylinder Spheroid. And requested the base class, and factions of Health category has the following characteristics: (1) Line category contains the length and slope of a straight-line calculation of member functions. (2) Circle type of circular area containing the members of the calculation function. (3) Cylinder category contains cylindrical surface area and volume calculation of the member functions. (4) Spheroid Spheroid category contains the calculation of surface area and volume of the member functions.)
    2009-01-03 09:49:40下载
    积分:1
  • others_ssp
    中颖51单片机EEPROM读写完整程序(已调试) (Ying, 51 single-chip EEPROM read and write the complete program (debug))
    2012-12-19 13:20:12下载
    积分:1
  • zutaijiankong
    一个组态监控的界面源码,原来网上下的有BUG,这个是修正后的还是挺实用的(A source interface configuration monitoring, the original BUG online, this is corrected quite useful)
    2015-01-21 22:01:35下载
    积分:1
  • 8Sharpmenjin-system
    本文章是一篇基于单片机应用于门禁系统的文章,具有科普性质的文章。(This article is a microcontroller-based access control systems used in the article, with the nature of science articles.)
    2014-02-07 23:24:08下载
    积分:1
  • C#开发服务的流程代码
    提供C#开发的服务源码,能够帮助你快速学习C#语言,及其相关的一些操作,其中主要的是服务,服务中又设计到了很多东西,源代码中将教会你怎么去办,你很容易上手的,源码也是非常容易的,希望对你有一点作用,谢谢你
    2023-04-27 02:00:03下载
    积分:1
  • 微信自动回复 asp.net
    微信自动回复 asp.net
    2014-04-14下载
    积分:1
  • pcd-lab.tar
    parser program for compiler design
    2015-02-13 00:00:51下载
    积分:1
  • C++11
    说明:  c++11特性介绍,这是一本详细介绍了有关c++11各项改进的官方书籍(about the new features with c++ 11)
    2020-06-17 14:00:01下载
    积分:1
  • button
    按钮导航示例,VC++初学者很好的学习资料,基于对话框 (Navigation button example, VC++ for beginners to learn good information, based on the dialog box)
    2009-07-11 20:27:07下载
    积分:1
  • 找圆,里面是HALCON写的算法,和部分C#程序
    HALCON找圆算法,先进性模板创建,输入图像,然后用创建的模板找到目标圆形,对HALCON初学者有很大的帮助。和部分C#程序
    2022-02-22 13:32:40下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载