登录
首页 » Unix_Linux » 2

2

于 2016-11-05 发布 文件大小:5KB
0 270
下载积分: 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 个回复

  • STM8S-SX1276-V1.5
    stm8s + sx1276 实现超远距离发送和接收功能(stm8s+sx1276 Send and Receive)
    2021-02-23 19:19:40下载
    积分:1
  • part-2
    机器人PID控制,对于机器人而言,PID控制是比较简单且行之有效的控制方法,在工业机器人中得到了广泛的应用。(PID control robot, the robot terms, PID control is a relatively simple and effective method of controlling the industrial robot has been widely used.)
    2013-05-25 20:06:00下载
    积分:1
  • AT45DB041BSPI
    本程序是芯片AT45DB041B的ISP的模拟编程,是一个比较实用的程序,推荐大家看看。(This program is the chip AT45DB041B ISP s analog programming, is a more practical procedure, we recommend a look.)
    2013-08-19 17:08:07下载
    积分:1
  • Box-Ver1.0
    智能插座源码,可编译,正常运行,好东西,请不要用于商业用途(smart Box)
    2021-04-18 10:18:57下载
    积分:1
  • anchuanG5A4015
    安川G5A4015开关电源电路,请大家学习参考 。欢迎下载学习(Yaskawa G5A4015 switching power supply circuit, learning reference. Welcome to download learning)
    2013-04-06 15:52:18下载
    积分:1
  • xindeautosarmatlab
    详细说明autosar的开发流程,清晰的解释了利用matlab工具开发符合autosar标准的嵌入式软件。(The development process of AUTOSAR is explained in detail.)
    2018-11-15 08:45:33下载
    积分:1
  • LCD_Driver-STM32
    STM32直接驱动段式液晶屏,程序已调试通过,有完整的原理图说明及原理图,希望对各位有用。(STM32 direct drive Segment LCD screen, program debugging through a complete schematic description and schematic, want to be useful.)
    2020-08-25 11:08:15下载
    积分:1
  • mpu6050
    用于MSP430F149的MPU6050程序(MPU 6050 Program for MSP430F149)
    2020-06-23 16:40:01下载
    积分:1
  • dtmf
    PIC 16f84 based dtmf operating system
    2009-03-23 18:24:54下载
    积分:1
  • IRMCx300_Reference_Manual_Chinese
    该文档为IRMCF3xx的中文参考手册,对于使用这颗芯片的人来讲,这个资料非常珍贵。(The documentation for the IRMCF3xx the Chinese reference manual for the use of the chip of the people, this information is very valuable.)
    2013-11-18 00:01:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载