登录
首页 » Unix_Linux » 2

2

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

  • 跟踪_实物1
    说明:  在过程控制中,按偏差的比例(P)、积分(I)和微分(D)进行控制的PID控制器(亦称PID调节器)是应用最为广泛的一种自动控制器。它具有原理简单,易于实现,适用面广,控制参数相互独立,参数的选定比较简单等优点;而且在理论上可以证明,对于过程控制的典型对象──“一阶滞后+纯滞后”与“二阶滞后+纯滞后”的控制对象,PID控制器是一种最优控制。PID调节规律是连续系统动态品质校正的一种有效方法,它的参数整定方式简便,结构改变灵活(PI、PD、…)(In process control, the PID controller (also called PID regulator) controlled by deviation ratio (P), integral (I) and differential (D) is one of the most widely used automatic controllers. It has the advantages of simple principle, easy realization, wide application, independent control parameters, simple parameter selection, etc. It can also be proved theoretically that PID controller is an optimal control for the typical object of process control - "first-order lag + pure lag" and "second-order lag + pure lag". System. The regulation rule of PID is an effective method for dynamic quality correction of continuous system. Its parameter setting method is simple and its structure is flexible (PI, PD,...).)
    2020-06-19 09:40:01下载
    积分:1
  • method2
    此源码为电脑鼠参赛最后冲刺作品,在比赛中取得良好成绩,可直接参加比赛代码。(The source for the computer mouse competition final sprint work, to achieve good results in the game, can directly participate in the competition code.)
    2012-08-17 17:08:55下载
    积分:1
  • usart sram
    基于keil5软件的stm32板的开发,此程序用于串口的初始化,串口发送接收数据并以相应的格式显示出来。(Software development keil5 stm32 board based on this program is used to initialize the serial port, serial port to send and receive data displayed in the appropriate format.)
    2016-10-27 11:27:45下载
    积分:1
  • 陀螺仪
    stc12单片机驱动mpu6050,读取数值(STC12 microcontroller drive mpu6050, read the value)
    2017-08-10 14:25:44下载
    积分:1
  • dm365-adc-linux_drive
    DM365 内部ADC liunx驱动。本驱动使用DM365evm裸机ADC测试程序修改而来,只有原默认ADC配置。实现功能也相对简单,app可以使用read()函数一次读取6个通道的转换值。您可以在此驱动基础上稍作修改,实现app配置ADC功能。(DM365 internal ADC liunx drive. The driver uses DM365evm ADC testing procedures modified from bare metal, only the original default ADC configuration. Relatively simple to achieve functional, app can use read () function to convert the value of a read channel 6. You can drive a slightly modified on the basis of this, the realization app configure the ADC functions.)
    2013-12-24 13:15:37下载
    积分:1
  • 35738618LTC6804
    说明:  ltc6811的使用配置程序,可以直接使用。(ltc6811,SPI use,can directly use)
    2020-10-08 12:57:35下载
    积分:1
  • Keil-C-uVision4-Chinese-tutorial
    Keil C uVision4 集成开发环境详细中文教程,对于新使用Keil C uVision4 很好的资料。(Keil C uVision4 detailed Chinese tutorial integrated development environment, for a new use Keil C uVision4 good information.)
    2013-07-23 15:34:05下载
    积分:1
  • AD7705
    AD7705的采集12864显示,以及PCB电路,加工过了,可以使用(It is about the AD7705)
    2013-03-22 13:27:24下载
    积分:1
  • 用vb写的数控仿真系统
    说明:  仿真机床切割,可生产可编辑的轨迹代码,方便操作.(Simulated machine tool cutting, can produce editable trajectory code, easy to operate.)
    2020-06-28 11:40:01下载
    积分:1
  • Torque_ControL
    Toshiba s TMPM370 torque control specification
    2013-08-06 21:34:44下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载