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

动态分区式存贮区管理 C++实现

于 2023-06-03 发布 文件大小:139.95 kB
0 144
下载积分: 2 下载次数: 1

代码说明:

设计一个动态分区式存贮区管理程序, 要求支持不同的放置策略。 如首次、 最佳、 最坏。 说明: ( 1) 分区描述器 rd 如下: flag size next 要求自由主存队列按链表组织。 主存大小假设为 maxsize( 单位为节=rd 的大小) 。 ( 2) 主程序结构如下: 输入放置策略 申请一块内存作为主存 循环处理用户的请求( 包括申请、 释放) ( 3) 数据实例: maxsize=512 J1 申请 162, J2 申请 64, J3 申请 120, J4 申请 86, J1 完成, J3 完成, J5 申请 72, J6 申请 100, J2 完成, J7 申请 36, J8 申请 60, J4 完成, J9 申请 110, J10 申 请 42。 备注: ( a) 所有大小其单位为节( 1 节=rd 的大小) ( b) 作业申请 n 节,实际分配的分区大小应为 n+1 节。 其中一节作为分区描述器, 其他 n 节提供给作业。 ( c) 已分配区放在高地址处。 ( d)合并时应考虑四种情况: 假设回收区为 r,上邻为 f1 ( f1 需搜索自由主存队列), 下邻为 f2( f2 可直接计算) A)f1 空闲, f2 已分配; B)f1 已分配, f2 空闲; C)f1 空闲, f2 空闲; D)f1 已分配, f2 已分配;

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

发表评论

0 个回复

  • VC
    说明:  VC与matlab的混合编写程序的COM方法,如何调用COM进行混合编程。(Mixture of VC and matlab programming of COM methods, how to call COM mixed programming.)
    2010-11-30 13:14:57下载
    积分:1
  • Project_ShortestPath
    任务:实现Dijkstra算法 工程名:Project_ShortestPath 要求:实现Dijkstra算法,算法主体写在CGraph类中;要求是从command窗口中输入源节点编号,并在command窗口中输出从源节点到所有目的节点的最短路长及最短路。注:要输出整条路径,而不仅仅是前一跳,也不允许逆序输出。 (Task: Dijkstra' s algorithm to achieve the project name: Project_ShortestPath requirements: achieve Dijkstra algorithm, the algorithm written in the body CGraph class requires input from the command window, the source node number, and in the command window, all of the output from the source node to the destination node shortest long and the shortest. Note: To export the entire path, not just before the jump, do not allow reverse output.)
    2013-08-21 16:40:41下载
    积分:1
  • airkiss在公众号进行配置wifi密码的功能 airkill_web
    现在比较流程的airkiss在公众号进行配置wifi密码的功能,(Now compare the airkiss of the process to configure the WiFi password on the public number.)
    2020-06-22 00:40:01下载
    积分:1
  • 51MCU
    51单片机开发全笔记 搜集自网络 51学习入门隆重推荐(51 MCU development notes collected from the whole network of 51 highly recommended learning portal)
    2011-04-20 21:39:23下载
    积分:1
  • C++stl代码
    实现数组插入,移除,迭代器插入,移除,push_back,push_front,find等功能全部实现
    2022-05-20 11:06:08下载
    积分:1
  • STM32 WIFI_STA_Server模式实验 ESP8266
    STM32 WIFI_STA_Server模式实验 ESP8266  ,IAR 软件  和流程图
    2022-03-14 11:57:38下载
    积分:1
  • 开发板使用手册
    linux 2440 开发板使用手册,包括linux实验说明,编程(linux 2440 board test and programming manual)
    2020-06-18 21:20:02下载
    积分:1
  • spwm
    说明:  用proteus仿真实现逆变器,基本实现闭环控制,单片机是ATMEGA88。(The inverters are simulated by proteus, and the closed-loop control is basically realized. The single chip computer is ATMEGA88.)
    2019-07-10 15:16:08下载
    积分:1
  • fenxintu
    分形几何是数学领域里新兴的课题,如果将图形的每个元素按某种规则进行变形,得到新的图形,以此类推,进行若干次变形后得到的图形就是分形图形。本程序实现分形图。(Fractal geometry is the mathematical field of emerging issues, if the graphics of each element according to certain rules of deformation, new graphics, and so on, to carry out a number of graphics after deformation is fractal graphics. This procedure realize fractals.)
    2008-06-03 11:21:52下载
    积分:1
  • shift
    将它编译为sethc.exe,覆盖到系统目录的sethc.exe(粘滞键程序),在无法登录时按5下shift即可调用,(密码是:832)(Compile it as sethc.exe, covered to the system directory sethc.exe (Sticky Keys program), can not log in under the shift can be called by 5, (password is: 832))
    2016-02-29 16:18:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载