登录
首页 » Unix_Linux » 2

2

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

  • ds1820
    说明:  ds1820的源码驱动(The source driver ds1820)
    2008-09-10 07:34:50下载
    积分:1
  • FONT
    说明:  ASCII码字库,包括12*12,24*24,32*32(ASCII codeword library, including 12*12, 24*24, 32*32)
    2020-06-24 18:00:02下载
    积分:1
  • Car-rental-system
    简单汽车租赁系统 大学C++开发实习参考(Car rental system)
    2014-10-22 21:48:32下载
    积分:1
  • 微惯性测量元云传输 - 副本
    说明:  基本目的是将MPU6050测量到的加速度、角速度数据上传到云平台,实现远程的下载和监控(THE AIM OF THIS PROJECT IS TO TRANPORT THE DATA THAT MPU6050 GET TO A PLATFORM THROUGH INTERNET THEN DOWNLOAD AND MONITOR IT IN DISTANCE.)
    2020-04-25 20:40:15下载
    积分:1
  • Sonoff-Tasmota-development
    Sonoff-Tasmota ESP8266 源码文件(Sonoff-Tasmota ESP8266)
    2020-06-17 16:40:02下载
    积分:1
  • 180度舵
    180度舵机可以由按键控制,缓慢转180度(The 180 degree steering gear can be controlled by keys and rotates 180 degrees slowly)
    2020-06-19 10:40:02下载
    积分:1
  • 无线充电资料
    芯科泰又大量生产了一款最小体积的无线输电模块,模块体积仅为长18mm宽15mm高8mm的输电控制模块,除外置一个发射线圈外无任何元件,无线充电接收电流可高达600mA,基本满足普通电子产品的充电供电之用,模块具有识别能力,可根据负载大小自动增减发射功率,工作效率约70%安装方便简单,价格低廉,可直接工作在4~12V的宽电压工作,主要用于短距离的各种小电子产品使用(Wireless charging data,Core Tai also produced a minimal volume of wireless transmission module, the module volume is only 18 mm long and 15 mm wide 15 mm high 8 mm transmission control module, except for an external transmitter coil without any components, wireless charging receiving current can be as high as 600 mA, basically meet the charging and power supply of ordinary electronic products, the module has the ability to identify. It can automatically increase or decrease the transmitting power according to the load size. Its efficiency is about 70% easy to install and low cost. It can work directly at a wide voltage of 4-12 V. It is mainly used for short distance small electronic products.)
    2018-10-24 20:33:43下载
    积分:1
  • felica.c
    felica implementation
    2012-05-05 14:24:18下载
    积分:1
  • TemperaturePID
    基于stm32的PID温度控制,采用18B20反馈,恒温40度。用于医疗自动分析。稳定温度在正负0.5度内(Stm32 based PID temperature control, the use of 18B20 feedback, constant temperature of 40 degrees. Automatic analysis for medical treatment. Stable temperature within plus or minus 0.5 degrees)
    2020-07-04 14:20:01下载
    积分:1
  • SD
    说明:  读写SD卡的头文件,MMC,不含fat文件系统。(Read and write SD card.)
    2010-11-24 15:32:39下载
    积分:1
  • 696522资源总数
  • 104042会员总数
  • 18今日下载