Low-fragmentation Heap
摘要:Heap fragmentation is a state in which available memory is broken into small, noncontiguous blocks. When a heap is fragmented, memory allocation can fail even when the total available memory in the heap is enough to satisfy a request, because no single block of memory is large enough. The low-fragme
阅读全文
Heap Verifier Stops in Appverifier and The Structure of a Page Heap Block
摘要:Heap Verifier Stops Attempt To Destroy Process Heap It is incorrect to try to destroy the default process heap (the one returned by GetProcessHeap() interface). Corrupted End Stamp of Block Header This stop occurs when the end stamp of the header of the block is corrupted. This happens during buffe.
阅读全文
DllMain Callback Function
摘要:An optional entry point into a dynamic-link library (DLL). When the system starts or terminates a process or thread, it calls the entry-point function for each loaded DLL using the first thread of the process. The system also calls the entry-point function for a DLL when it is loaded or unloaded usi
阅读全文
.Net Runtime Host
摘要:CLR 没有与任何操作系统集成,也就是说,当用户运行一个托管代码程序或者一个Native代码的程序时,OS对其是毫不知情的,所以也就没法根据其是什么类型的代码来决定是否要调用CLR来运行特定的程序。因此进程创建时必须由自己完成CLR的加载操作。 加载CLR涉及到运行库宿主(Runtime Host) 。Runtime host需要加载CLR,因此他本身至少包含是Native代码的。 Most runtime hosts consist of both unmanaged and managed code. The unmanaged hosting code loads the runtime
阅读全文
前端开发常见图片格式详解
摘要:端开发设计,打交道最多的就是图片啦~今天就来个图片格式讲解,也许一些围绕你的问题可以在这篇文章中找到答案 Gif格式图片的特点 透明性 Gif是一种布尔透明类型,既它可以是全透明,也可以是全不透明,但是它并没有半透明(alpha 透明)。 动画 Gif这种格式支持动画。 无损耗性 Gif是一种无损耗的图像格式,这也意味着你可以对gif图片做任何操作也不会使 得图像质量产生损耗。 水平扫描 Gif是使用了一种叫作LZW的算法进行压缩的,当压缩gif的过程中,像素是由上到下水平压缩的,这也意味着同等条件下,横向的gif图片比竖向的gif图片更加小。例如500*10的图片比10*5...
阅读全文
The Managed Thread Pool
摘要:The ThreadPool class provides your application with a pool of worker threads that are managed by the system, allowing you to concentrate on application tasks rather than thread management. If you have short tasks that require background processing, the managed thread pool is an easy way to take adva
阅读全文
Application Domains
摘要:Application domains are usually created and manipulated programmatically by runtime hosts. However, sometimes an application program might also want to work with application domains. For example, an application program could load an application component into a domain to be able to unload the domain
阅读全文
Type Safety
摘要:In computer science, type safety is the extent to which a programming language discourages or prevents type errors. A type error is erroneous or undesirable program behavior caused by a discrepancy between differing data types. 类型安全是指某种编程语言是否阻止类型错误。类型错误是指由于不同类型的差异所引起的错误的或不是期望的程序行为,简单来说,类型错误就是由于不同类型.
阅读全文