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

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

于 2023-06-03 发布 文件大小:139.95 kB
0 134
下载积分: 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 个回复

  • AjaxAplicationInWebGIS
    说明:  Ajax技术在WebGIS中的应用,Ajax技术在WebGIS中的应用,Ajax技术在WebGIS中的应用,(Ajax technology in WebGIS application, Ajax technology in WebGIS application, Ajax technology in WebGIS application,)
    2009-08-04 02:37:00下载
    积分:1
  • 用vs学习可视化的控件编程
    关于可视化界面的常用控件都有代码,进度条,编辑控件,静态文本控件、图片控件、列表控件、组合控件等等,每个控件都有相应的代码注释,可以很快学习与掌握控件的使用
    2022-01-30 15:57:53下载
    积分:1
  • bibtool.1.7.1.tar
    bibtool 是一个简单的基于curses的编辑,它是为了BibTeX参考文件,特别对于大数目的参考书目很有用,比如象博士论文那样的主要文献。它每天履行象加,减和看参考条目类的功能。当加入分类时有智能化的提示,这样当作者不知道文件能或不能用于不同登录类型时就不会依赖于记忆(bibtool is a simple curses on the editing, it is to BibTeX Bibliographic details for reference, especially for the large number of useful bibliography, such as doctoral thesis as the main document. Like its daily discharge, plus or minus reference entries and see the functional category. When it joined the classification intelligence tips, the author does not know when the document would not be used or different types Login would not rely on memory)
    2006-06-04 17:23:35下载
    积分:1
  • RSA
    基于RSA算法的加密解密以及数字签名系统,实现加密解密签名的功能(RSA-based encryption and decryption algorithms and digital signature system to achieve the function of signature encryption and decryption )
    2011-05-06 16:10:42下载
    积分:1
  • three-phase-inverter
    电力电子技术中三相变流器的模型,可用于微电网中质量的控制(Three-phase power electronic converter technology models that can be used in quality control microgrid)
    2014-12-24 20:45:46下载
    积分:1
  • 成绩系统.cpp
    本程序可用时输入学生序号学号成绩并进行查找(import the number, student ID numbers and scores, available to search.)
    2020-06-23 11:20:01下载
    积分:1
  • huiseyucemoxing
    灰色预测程序,采用GM(1,1)模型建立(Grey prediction program)
    2013-01-06 09:32:17下载
    积分:1
  • USB-shujucaiji
    USB数据采集系统论文-自己的毕业设计论文,花了很长时间做的,内容十分详细,包括核心代码和开发环境的设置。(USB Data Acquisition System papers-their graduation thesis design, and having spent a very long time. which is very detailed, including the core code and development environment configuration.)
    2020-06-26 06:00:01下载
    积分:1
  • UBLOx7270
    UBX-G7020在mtk平台上的驱动资料(UBX-G7020 use in mtk platform)
    2014-02-12 18:45:32下载
    积分:1
  • PluginSample8
    插件的本质在于不修改程序主体(平台)的情况下对软件功能进行拓展与加强,当插件的接口公开后,任何公司或个人都可以制作自己的插件来解决一些操作上的不便或增加新功能,也就是真正意义上实现“即插即用”软件开发。(The plugin is the essence of not changing the main body of program (platform) under the condition of the functions of the software development and strengthening, when the plug-in interface is public, any company or person can make your own plug-ins of operationalinconvenience or add new features, is truly plug and use of software development ".)
    2017-08-22 08:30:30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载