登录
首页 » Unix_Linux » 2

2

于 2016-11-05 发布 文件大小:5KB
0 164
下载积分: 1 下载次数: 0

代码说明:

说明:  编写带缓存的文件操作类 从执行体程序库中的CLLogger类可知,通过缓存要写入文件中的数据,能够提高读写磁盘的性能 请编写一个文件操作的封装类,其要求如下: 需要提供open/read/write/lseek/close等函数的封装函数 该类要提供数据缓存服务。 调用该类的写操作接口时,数据要首先写到缓存,然后再根据策略写到文件中。 调用该类的读操作接口时,该类能根据策略缓存读出的数据 读写缓存要保持一致性 (From the implementation of the CLLogger class library, we can know, through the cache to write data in the file, you can improve the performance of the read and write disk Please write a package for the operation of the class, and its requirements are as follows: The encapsulation function of open/read/write/lseek/close and other functions is required. The class to provide data cache services. When the write operation interface of the class is called, the data must first be written to the cache, and then the policy is written to the file. When a read operation interface of the class is called, the class can read the data according to the policy cache. Read/write cache to maintain consistency)

文件列表:

CLFileRW.cpp,7267,2016-10-02
CLFileRW.h,1119,2016-10-02
CLFileRWTester.cpp,645,2016-10-02
CLStatus.cpp,516,2016-09-21
CLStatus.h,419,2016-09-21
CLThread.cpp,544,2016-10-02
CLThread.h,323,2016-10-02
CLThreadRW.cpp,851,2016-10-02
CLThreadRW.h,489,2016-10-02

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

发表评论


0 个回复

  • lcd
    这是一个基于单片机的LCD显示程序,驱动LCD1602,并显示两条字符。(This is a microcontroller-based LCD display, driver LCD1602, and displays the two characters.)
    2010-05-05 19:21:46下载
    积分:1
  • emWIN5.12中文手册
    说明:  emWIN5.12中文手册,不是最新版本,但大部分函数都在(EMWIN 5.12 Chinese manual, not the latest version, but most functions are in)
    2020-03-30 00:11:32下载
    积分:1
  • 安福莱-示波器教程
    说明:  安富莱这个二代示波器无敌牛,建议下下来学习学习!(Anfulei, the second generation oscilloscope, is invincible. It is suggested that we should learn from it.)
    2019-07-28 23:47:24下载
    积分:1
  • code_a_picutre
    针对H264 JM中encode_a_picture函数进行讲解的PPT,希望对大家的学习有所帮助(For H264 JM in encode_a_picture function to explain the PPT, we hope to be helpful to learn)
    2013-07-18 15:38:20下载
    积分:1
  • LED-S1234
    基于STC89C52单片机实现中断LED数码管显示及处理的程序,适合初学值使用(Based STC89C52 MCU interrupt LED digital display and processing procedures, suitable for beginners to use the value)
    2013-11-19 11:42:46下载
    积分:1
  • lsm6ds3
    lsm6Ds3的硬件IIC驱动程序,读取角速度及加速度,设置LSM中断。(The hardware IIC driver of lsm6Ds3 reads the angular velocity and acceleration and sets the LSM interrupt.)
    2020-07-10 17:08:55下载
    积分:1
  • stm32基本例程 PWM输出实验
    输出PWM波,可移植性强。适用于stm32F103系列的单片机。例子也比较经典。(Output PWM wave, strong portability)
    2020-06-17 21:20:02下载
    积分:1
  • tanCS
    说明:  基于STC单片机开发的贪吃蛇游戏,使用一块12864液晶作显示。(a retro snake game program base in STC mcu, 12864 LCD display.)
    2020-03-22 10:59:28下载
    积分:1
  • snes9x
    这是我汉化的 Snes9X,此模拟器被选为 TASVideos 专用模拟器之一,我是基于源代码进行汉化,现已 95 完美汉化。若有不符合逻辑、常识、常理、不通顺、不贴切,有 BUG 请及时评论,本人将会在最短时间内修正。(This is my Chinese Snes9X, this simulator was selected as one of the TASVideos dedicated simulator, I is finished based on the source code, now 95 , the perfect chinese. If there is not logical, common sense, common sense, not smooth, not appropriate, please BUG timely review, I will correct in the shortest time.)
    2014-05-19 12:43:56下载
    积分:1
  • STM32F4XX
    stm32f4 + usb3300 高速 usb msc(stm32f4+ usb3300 speed usb msc)
    2016-08-13 19:23:14下载
    积分:1
  • 696518资源总数
  • 104696会员总数
  • 19今日下载