登录
首页 » Unix_Linux » 2

2

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

  • NTC_calculator
    NTC热敏电阻计算器(B值、R25、指定温度、指定阻值均可计算,给定四个参数即可计算第五个参数)(NTC thermistors Calculator (B value, R25, specified temperature, the resistance can be specified calculation, four parameters can be calculated given the fifth parameter))
    2016-02-20 13:18:42下载
    积分:1
  • LPC1788
    LPC1788例程,包含uart、LCD等等例程,LPC1788例程,包含uart、LCD等等例程(LPC1788 routine contains the uart, the LCD routinesLPC1788 routine contains the uart, the LCD routines)
    2012-04-15 19:08:46下载
    积分:1
  • AD-transform-application
    该程序实现了利用滑动变阻器的改变,在LCD上跟随显示当前A/D转换器件的转换值、转换后的电压值,电压值要求精确到小数点后两位。转换值要求用16进制数显示出来。(The program implements the use of sliding rheostat changes follow on the LCD displays the current A/D conversion device of the conversion value, the converted voltage value, voltage value required precision to two decimal places. Conversion value required is displayed with a hexadecimal number.)
    2011-11-16 14:48:58下载
    积分:1
  • KeyBorad
    扫描4X4键盘,并将键值在数码管和8个LED上显示,同时将键值通过串口或RS232端口或USB发送给PC机接收并解码来自标准键盘的基本按键的扫描码。(4X4 keypad scanning, and key in the digital tube and eight LED display, while the key through the serial port or RS232 port or a USB send the PC to receive and decode the scan code of the key from the standard keyboard.)
    2012-12-07 11:33:37下载
    积分:1
  • codvision
    用于单片机C语言开发,是你使用单片机进行研究的好帮手(for C language development, the use of SCM is that you study a good helper)
    2007-05-05 16:31:41下载
    积分:1
  • ring
    用专业的Rsoft软件 模拟了两直波导与环形波导的耦合情况,并监测其功率变化。 可用于设计光开关或者光调制器(Using professional simulation software Rsoft two straight waveguide with the circular waveguide coupling, and to monitor changes in its power. Can be used to design optical switches or optical modulator)
    2007-11-15 01:47:05下载
    积分:1
  • STM32
    实现电子钟功能 ,可设置闹钟,有闹铃,可设置时间和闹钟时间(Implement electronic clock function, can set the alarm clock, alarm clock, can be set up time and clock time)
    2015-07-19 13:05:31下载
    积分:1
  • 10GMAC
    说明:  关于10G 以太网设计的资料,讲解的很详细,分享给大家(The information about 10G Ethernet design is explained in detail and shared with you)
    2019-11-16 18:06:32下载
    积分:1
  • light
    说明:  假设P1.0口为发光二极管(共阴),其通过按键来控制是否开启(Suppose that the P1.0 port is a light emitting diode (common negative), which controls whether to turn on or not by pressing a button.)
    2020-06-22 20:40:01下载
    积分:1
  • jianpan
    4*4键盘课件,包含电路图,教学方法、教学目标(4* 4 keyboard courseware, including circuit)
    2010-09-11 16:14:22下载
    积分:1
  • 696518资源总数
  • 104353会员总数
  • 66今日下载