登录
首页 » Unix_Linux » 2

2

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

  • 10 完整版代码(完成)
    说明:  使用STM32F103C8T6系统板,通过两个NRF24L01模块实现无线通信,将光电二极管驱动电路采集到的荧光强度值无线传输到上位机的串口软件显示出来。(Using stm32f103c8t6 system board, wireless communication is realized by two nRF24L01 modules, and the fluorescence intensity value collected by the photodiode driving circuit is wirelessly transmitted to the serial port software of the upper computer to display.)
    2019-12-11 17:05:36下载
    积分:1
  • ir_decode
    NEC协议的红外遥控器解码程序,程序占用资源少,在51等单片机上验证OK。(ir decode for NEC protocal.)
    2020-06-16 01:40:01下载
    积分:1
  • 3,STM32 FLASH模拟EEPROM资料
    说明:  3,STM32 FLASH模拟EEPROM资料(STM32 FLASH simulation EEPROM)
    2020-12-24 10:17:37下载
    积分:1
  • 33
    说明:  模数转换ADC0832,基于51单片机的c语言程序(Analog to digital converter ADC0832, based on 51 MCU c language program)
    2013-12-07 00:33:47下载
    积分:1
  • PI_1
    高压直流输电模型,二百二十千伏的,有参考价值,做的挺不错(HVDC model, $ 220 kV, a reference value, doing pretty good)
    2014-03-08 16:05:02下载
    积分:1
  • Visio
    visio 用来画电路图的模板库,非常好用Visio模板(Visio used to draw circuit diagram of the template library, very easy to use Visio template)
    2020-12-15 14:59:13下载
    积分:1
  • tbb_armeabi-v7a
    tbb源码和tbb android例子和编译文档及新建项目使用tbb文档 centos系统中编译android tbb动态库,然后在android中调用,包括tbb编译的android release and debug版本的动态库,使用文档等等(tbb tbb android source code and examples of new projects and compile documents and documents using tbb centos system to compile android tbb dynamic library, then call in android, including the tbb compiled android release and debug versions of dynamic libraries, documents, etc. Use)
    2021-03-16 22:09:21下载
    积分:1
  • usb_host_printer_pcl_5
    说明:  惠普打印机 PCL5 语言 命令函数程序代码参考(hp pcl5 printing command reference)
    2011-03-17 21:31:23下载
    积分:1
  • 1602csb
    使用MSP430F5438单片机和HC-SR04超声波模块,1602显示屏块实现的超声波测距,精确到厘米。(The use of MSP430F5438 microcontroller and HC-SR04 ultrasonic module, ultrasonic ranging 1602 display block realization, accurate to centimeters. )
    2013-09-21 17:41:57下载
    积分:1
  • STM32PWM
    STM32F103ZET6 PI调节的PWM 开关电源(STM32F103ZET6 PI regulated PWM switching power supply)
    2021-01-04 23:38:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载