-
program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize =...
program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize = 4096 //定义页面大小 var VmAddress, CommitAddress: Pointer //存放虚拟内存基址 Text: Pchar begin //保留二页虚拟内存 VmAddress := VirtualAlloc(nil, PageSize * 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned(VmAddress) then begin WriteLn( 保留虚拟内存失败! ) ExitProcess(0) end else WriteLn(Format( 保留虚拟内存成功, 基址为:[%8.8x]! , [Longint(VmAddress)])) //提交第二页虚拟内存 CommitAddress := Pointer(Longint(VmAddress) + PageSize) CommitAddress := VirtualAlloc(CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne-program VirtualMemory ($ APPTYPE CONSOLE) uses SysUtils, Windows const PageSize = 4096// definition pages size var VmAddress, CommitAddress : Pointer// virtual memory-based storage site Text : Pchar begin// reservations two virtual memory VmAddress : = VirtualAlloc (nil. PageSize* 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned (VmAddress) then begin WriteLn (reservations virtual memory failure!) ExitProcess (0) end else WriteLn (Format
- 2022-10-06 15:35:03下载
- 积分:1
-
The process of implementation method, this procedure describes how to create a p...
进程的实现方法,此程序介绍如何创建一个进程的方法-The process of implementation method, this procedure describes how to create a process approach
- 2022-04-11 00:12:25下载
- 积分:1
-
一个好的java程序,保证新鲜,能够实现java的网络功能,数据库功能...
一个好的java程序,保证新鲜,能够实现java的网络功能,数据库功能-a good java procedures to ensure that fresh, can be achieved java networking, database functions
- 2022-01-25 23:40:11下载
- 积分:1
-
可以每个进程使用的内存情况
可以每个进程使用的内存情况-each process can be used in memory of
- 2022-06-28 21:57:25下载
- 积分:1
-
高定时器,高分辨率,对实时处理有用。采用win32api编写
高定时器,高分辨率,对实时处理有用。采用win32api编写-highresolutiontimer
- 2023-05-11 19:25:03下载
- 积分:1
-
又一个使用java的小程序察看期边次厄的的好例子
又一个使用java的小程序察看期边次厄的的好例子-also use a small java procedures probation while meeting the Eritrean a good example
- 2022-03-06 19:43:48下载
- 积分:1
-
类出进程和线程,花了我以个下午和晚上才写出来的
类出进程和线程,花了我以个下午和晚上才写出来的-Type of process and thread, I spent the afternoon and evening before a written
- 2022-02-24 10:11:58下载
- 积分:1
-
多线程网络IP扫描(SNMP)
非常快。
多线程网络IP扫描(SNMP)
非常快。-Multi-threaded IP scanning the network (SNMP) very quickly.
- 2022-03-19 14:00:56下载
- 积分:1
-
本人的操作系统题目,用优先级算法实现进程调度,可以随时添加进程进入就绪队列。...
本人的操作系统题目,用优先级算法实现进程调度,可以随时添加进程进入就绪队列。-subject of the operating system, with priority scheduling algorithm process, the process can be added at any time into ready queue.
- 2022-01-26 15:06:26下载
- 积分:1
-
使CPU利用率为100%
当为双核是运行两个实例即可
使CPU利用率为100%
当为双核是运行两个实例即可-So that CPU utilization was 100 when running for the dual-core is two examples can be
- 2022-07-17 22:50:04下载
- 积分:1