登录
首页 » Unix_Linux » 2

2

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

  • MSP430F135C
    MSP430F135单片机程序代码,可用于调试,一看你就明白了(MSP430F135 microcontroller code can be used for debugging, to see you understand)
    2010-10-09 22:17:46下载
    积分:1
  • PCB-design-instruction-grounded
    PCB设计接地指导书,指导pcb设计及人员更好的设计PC版(PCB design ground, guide the pcb design and make better PC version of the design)
    2011-05-07 01:28:12下载
    积分:1
  • 3 按键使用
    STM32F103控制独立按键和矩阵按键,基于keil4(STM32F103 controls independent keys and matrix keys based on keil 4)
    2020-06-24 07:20:02下载
    积分:1
  • Components
    zigbee无线定位系统的相关程序代码。很有用 都有相关解释(zigbee location code)
    2021-03-09 21:59:27下载
    积分:1
  • 双向DC-DC变换器
    说明:  实现电池的充放电功能,恒流充电、恒压放电,充电电流步进可调,步进值0.1A,电流控制精度6%。充电变换器的效率为85%。(The charging and discharging function of the battery is realized, including constant current charging and constant voltage discharging. The charging current can be adjusted step by step, the step value is 0.1A, and the current control accuracy is 6%. The efficiency of the charging converter is 85%.)
    2021-01-22 09:08:40下载
    积分:1
  • AD.X
    AD转换,实现简单的模拟电压转换数字电压(AD conversion, to achieve a simple analog voltage conversion digital voltage.)
    2018-04-20 07:56:17下载
    积分:1
  • 雾霾
    使用SMT32F103做的一款用于雾霾检测的板子(A board made of SMT32F103 for haze detection)
    2019-03-04 17:59:08下载
    积分:1
  • F5529_LM75A
    msp430f5529单片机 lm75a程序(msp430f5529 SCM lm75a program)
    2020-08-30 14:38:10下载
    积分:1
  • power_hvdc12pulse
    电力电子中高压直流输电控制系统的12脉波驱动仿真模型(power hvdc 12pulse)
    2013-10-16 23:22:40下载
    积分:1
  • xhfsq
    c8051f060 一款信号发生器的程序。发生正弦信号,方波信号(c8051f060 a signal generator program. Occurred sine signal, square wave signal)
    2016-06-13 10:57:17下载
    积分:1
  • 696516资源总数
  • 106668会员总数
  • 21今日下载