搜索资源列表
sort
- 在输入的字符串中查找指定字符,动态分配内存-In the input string to find the specified character, dynamic allocation of memory
mmry_mng
- 模拟内存的动态分配管理。采用动态双向循环链表-Simulate the dynamic allocation of memory management. Dynamic two-way linked list
sy5
- 动态分区分配算法的模拟 初始化功能:内存状态设置为初始状态。 分配功能:要求至少使用两种算法,用户可以选择使用。 回收功能: 空闲块的合并:即紧凑功能,用以消除碎片。当做碎片整理时,需要跟踪分配的空间,修改其引用以保证引用的正确性。 显示当前内存的使用状态,可以使用表格或图形。 -Dynamic partition allocation algorithm simulation
car_recong
- 使用VC++6.0做开发工具, 采用简单的SDI框架结构 ,一次处理一幅位图(有兴趣的可以作成MDI) 1)位图信息的数据是从左下往右下为一行,一行一行往上排的。 2)每行像素应该是4的倍数,不足的地方用空点补齐,读的时候注意跳过冗余点。 3)主要数据都存在Doc里面,BMP的主要数据存在一个由ImgData指向的BYTE型的内存空间(根据位图的大小,动态分配的)。 4)数据读进来以后,注意向内存中贴图,以保证刷新的效率。 5)程序执行流程-Use VC++6.0 as de
MemoryAllocation
- 检验标识符是否合法(动态数组) 根据C语言标识符是否合法的程序 主要联系动态分配内存的使用-Memory Allocation
DynamicArray
- 完成满足上述接口的动态数组(Dynamic array)的程序; 需要遵循基本的编程规范和风格; 动态分配内存用C++的函数new/delete,不用malloc/free; 处理好动态分配的运用,不要出现内存泄漏; 了解C++类的构造函数和析构函数的作用; 熟悉C++类的写法(*.h, *.cpp); 各种情况考虑周到,不要出现程序崩溃; -
MemoryAllocationAndRecovery
- 内存分配与回收,本程序采用两各分配方法,首次适应算法和最佳适应算法,深入了解动态分区存储管理方式内存分配与回收的实现.-Memory allocation and recovery, the program uses two different distribution methods, first-fit algorithm and the best fit algorithm, in-depth understanding of the dynamic memory allocation a
main
- 自己写的矩阵类。重载了<< >> + - =。动态分配内存。-Write your own matrix class. Overload the < < > > +- =. Dynamic allocation of memory.
MCUSimilate_1.2
- 一个用于单片机内运行的微内核,有像ucOS样的基于优先级的任务调度。但是没有使用其实时抢夺,我是等待一个高任务级运行完了才等到其他的任务运行。当前任务不可抢夺。这样就不用考虑到任务切换带来的损耗了。还有我用了一个内存分配机制,可以动态分配和释放内存块。这些都是在VC6.0上的测试示例,但使用者可以用到任意一款单片机开发上面。所有代码都在VC6.0和XC2287M上测试过了。-One for the microcontroller to run the micro-kernel, there is
Testmalloc
- 动态内存分配的C语言实现,调试通过,深入理解操作系统和指针-Dynamic memory allocation of C language, debugging through in-depth understanding of the operating system and pointers
progressmanagement
- 进程是当前操作系统下一个被加载到内存的、正在运行的应用程序的实例。每一个进程都是由内核对象和地址空间所组成的,内核对象可以让系统在其内存放有关进程的统计信息并使系统能够以此来管理进程,而地址空间则包括了所有程序模块的代码和数据以及线程堆栈、堆分配空间等动态分配的空间-Process is a current operating system is loaded into memory, the running instance of the application. Each is a proc
dynamic
- 内存分配动态算法,对内存的动态分配进行模拟-Dynamic memory allocation algorithm, to simulate the dynamic allocation of memory
variable_distribution
- 采用最佳适配算法实验动态分区分配过程alloc()和回收过程recover()。其中,空闲分区通过空闲分区链来管理;在进行内存分配时,系统优先使用空闲区低端的空间-Experimental best fit algorithm using the dynamic partition allocation process alloc () and the recovery process recover (). Among them, free partition management throu
Memory
- 简单的模拟内存的动态分配程序,输入进程相关信息,动态调度进程-Simple simulation of dynamic memory allocation process the information input process, the dynamic scheduling process
fifo
- 一个循环线性地址先进先出队列(FIFO),非常适合用做通讯、任务等,具有如下特点: 1.循环队列,空间利用率非常高,不用动态分配内存,不使用链表,无内存泄漏,无内存碎片; 2.线性地址空间,直接使用memcpy进出,速度非常快; 使用说明: 1.fifo_init 2.fifo_into 2.fifo_get 3.fifo_remove 4.fifo_uninit 如发现问题联系本人: lxj_com@163.com QQ:67016879
test
- 二维数组动态分配内存 完全是C语言的malloc函数 而非C++的new函数-Two-dimensional array is completely dynamic memory allocation functions malloc C language rather than C++, new functions
CUNCHU
- 模拟各种内存分配算法及回收过程,并能动态演示。结合进程调度算法,能为进程模拟分配内存,并设计一个跟踪该内存模拟分配的进程或线程,记录内存分配的结果;-Simulate all kinds of memory allocation algorithms and recycling process, and can dynamic presentation. Combination of process scheduling algorithm to allocate memory for pro
Determinant-of-a-Matrix
- 采用C语言描写了一个基本矩阵的行列式计算算法,采用了动态分配内存的方式计算。-Using C language to describe a basic determinant of a matrix calculation algorithm, using dynamic allocation of memory is calculated.
Dynamic_Memory_Two_demention
- 本程序主要分析和讲解了动态分配内存的基本问题,程序中分析了2维以上动态分配内存注意的事项-The program analyzes the dynamic allocation of memory and explain the basic problem of the program for more than two-dimensional analysis of dynamically allocated memory note
mpatrol
- 本文档介绍了mpatrol,控制和跟踪动态内存分配库。 mpatrol库是另一个链接库,并尝试诊断动态分配的内存的错误使用造成的运行时错误。-This document describes mpatrol, a library for controlling and tracing dynamic memory allocations. The mpatrol library is yet another link library that attempts to diagnose run-ti