Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode OS program

C++NeiCunFenPei

  • Category : OS program
  • Tags :
  • Update : 2012-11-26
  • Size : 2kb
  • Downloaded :0次
  • Author :w*****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
C++ simulated memory allocation A, thinking To simulate the memory allocation and release of the compiled system, implement some simple operations. First using a static array simulation memory space (buf), when the calling application memory operations, from the array space (buf) returned to the caller of a certain space, when the free memory, memory tag specifies part is unused. 1. Distribution rules Each allocated or freed memory is recorded by MemInfo and saved in an array (buf) as the "head" of memory space, followed by data. MemInfo consists of a list structure with the header not occupying the array space (buf). When the caller application memory, will lead to MemInfo list traversal, traverse the purpose is to find a "memory fragments", if "debris" size is available, to use the "fragments", returned to the caller. 2. Release rules When each block of memory is released, simply mark the data area as useless and do not delete the MemInfo linked list node, which can be reused to avoid multiple MemInfo linked list operations.
Packet file list
(Preview for download)
C++模拟内存分配.txt
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.