Location:
Search - buffermanage
Search list
Description: C 程序设计语言定义了两个标准的内存管理函数:malloc() 和 free()。C 程序员经常使用那些函数在运行时分配缓冲区,以便在函数之间传递数据。然而在许多场合下,您无法预先确定缓冲区所需的实际大小,这对于构造复杂的 C 程序来说,可能会导致几个根本性的问题。一种自我管理的抽象数据缓冲区概括地给出了抽象缓冲区的伪 C 代码实现,并详细介绍了采用这种机制的优点。-C programming language defines two standard memory management functions: malloc () and free (). C programmers frequently use those functions at run-time allocation of buffers in order to pass data between functions. However, in many occasions, you can not pre-determine the actual size of the buffer required, which for the complex structure of the C program, it may lead to several fundamental questions. A self-management, abstract data buffer generally gives the pseudo-C code for an abstract buffer implementation, and details the advantages of using this mechanism.
Platform: |
Size: 1024 |
Author: 谢德平 |
Hits:
Description: 基于LRU算法的数据库buffer manager实现。设计一个基于LRU算法的buffer manager。内附报告、源码以及可执行程序。-LRU algorithm based on a database buffer manager implementation. Design an algorithm based on LRU buffer manager. Containing reports, source code and executable programs.
Platform: |
Size: 653312 |
Author: chenchao |
Hits: