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

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

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

  • 2
    说明:  基于boosted的粒子滤波,用于冰球的跟踪(Based on the boosted particle filter for tracking hockey)
    2010-03-09 13:56:56下载
    积分:1
  • AM_ana
    说明:  个人做的AM调制数字解调simulink仿真模块,大家多交流(The AM modulation personal digital demodulation simulink simulation module, we more exchanges)
    2009-08-04 09:01:54下载
    积分:1
  • readline-5.0.tar
    说明:  在非GUI环境下,需要用户输入的程序就免不了使用命令行,命令行要写得好可不容易。readline提供了几乎你能想到的所有命令行功能。这个版本是linux/unix通用平台,并可方便的移植到其它平台(实际上它与操作系统关联不大)。(in non- GUI environment, the need for user input on the process will inevitably use the command line, the command line is difficult to write well. Readline provided you can think of almost all the command line functions. This version of linux/unix common platform, convenience may migrate to other platforms (it not associated with the operating system).)
    2006-01-10 11:45:55下载
    积分:1
  • 24点牌游戏,我的第一个程序,还有很多bug没有修改,而且时间复杂度比较大....
    24点牌游戏,我的第一个程序,还有很多bug没有修改,而且时间复杂度比较大.-24 sign game, my first procedure, but also has very many bug not to revise, moreover time complex quite is big
    2023-04-13 02:15:03下载
    积分:1
  • CLA-CCSv4.x
    F28035DSP,在CCS4环境下的配置,可以同时调试主CPU和CLA(F28035DSP, in the environment of CCS4 configuration, can debug the main CPU and CLA)
    2020-12-12 16:09:15下载
    积分:1
  • 数控电压源
    一款基于IAP15W4K61S4的数控电压源(A Digital Voltage Source Based on IAP15W4K61S4)
    2020-06-19 15:20:02下载
    积分:1
  • 悬浮球+sinD
    说明:  风洞悬浮球程序 本程序来源于正点原子例程 芯片为STM32F103ZET6 超声波测距模块SR04 ILI9341主控的320*240液晶屏 程序使用超声波测距模块SR04测量透明亚克力管子内风洞悬浮乒乓球的位置, 输出给ILI9341主控的320*240液晶屏上,在屏幕上画出球的位置曲线。 可通过串口1输入修改PID参数以及悬浮球目标位置(Translate by GOOGLE from Chinese Wind tunnel suspension ball program This program is derived from the punctual atomic routine The chip is STM32F103ZET6 Ultrasonic ranging module SR04 320 * 240 LCD screen controlled by ILI9341 The program uses the ultrasonic ranging module SR04 to measure the position of suspended table tennis in a wind tunnel in a transparent acrylic tube. Output the position to the LCD screen with 320 * 240 resolution, and draw the position curve of the ball on the screen. Can modify PID parameters and hoverball target position through serial port 1 input)
    2020-01-02 09:24:10下载
    积分:1
  • 粗糙度matlab程序
    计算一维和二维表面粗糙度Ra,根据需要自行选择。(Calculate one and two dimensional surface roughness Ra, according to the needs of your choice.)
    2017-08-01 21:59:44下载
    积分:1
  • ToTwo
    说明:  能够通过读取图片处理出黑色背景下的单一白色规则几何体的坐标(The ability to process the coordinates of a single white regular geometry in a black background by reading the picture)
    2020-06-22 18:00:01下载
    积分:1
  • SInAR-0.1.tar
    rookit源码 仅供参考学习
    2010-02-19 00:14:25下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载