mmap
- 网络内存映射;内存文件映射;移动管理应用协议;内存映象
-
Mmap (): Maps a shared memory region into the process 's memory .
mmap():把共享内存段映射到进程的内存。
-
The parameters passed to mmap () must not conflict with the access requested during open () .
传递给mmap()的参数必须不能与open()时请求的访问相冲突。
-
The mmap () needs to supply the size of the file as the number of bytes to map .
mmap()需要为映射提供文件的大小(字节数)。
-
The driver will perform hardware register accesses and advanced programming by making use of mmap (), for example .
例如,这个驱动程序可能会通过利用mmap()来访问硬件寄存器并进行高级编程。
-
Linux uses the shmget / mmap function to access files by directly incorporating file data into memory .
Linux使用shmget/mmap函数通过直接将文件数据合并入内存来访问文件。
-
However , this improvement doesn 't come without a price ; there are hidden pitfalls when using the mmap + write method .
然而,性能的改进需要付出代价的;是用mmap与write这种组合方法,存在着一些隐藏的陷阱。
-
Here , however , we are only concerned with mmap 's ability to add mapped RAM to our process .
不过,在这里,我们只关心mmap向进程添加被映射的内存的能力。
-
Below is the Win32 sample code , and the equivalent of the Linux mmap implementation , to create a shared memory resource .
下面是创建共享内存资源的Win32示例代码,以及相对应的Linuxnmap实现。
-
As you can see , either brk () or mmap () can be used to add additional virtual memory to our processes .
如您所见,brk()或者mmap()都可以用来向我们的进程添加额外的虚拟内存。
-
Mmap : mmap (), or " memory map ," is like brk () but is much more flexible .
mmap:mmap(),或者说是“内存映像”,类似于brk(),但是更为灵活。
-
A related problem is caused by applications that try to load code at an absolute address by calling mmap with the flag MAP_FIXED .
应用程序试图通过调用带有MAPFIXED标志的mmap从绝对地址加载代码时会产生一个相关问题。
-
Mmap () annexes the shared memory segment and returns a pointer suitable for reading and writing bytes directly from the segment .
mmap()连接共享内存段,返回用于对内存段直接读写字节的指针。
-
A discussion of those options is beyond the scope of this introduction ; consult the mmap () documentation for your operating system for specifics . )
对这些操作的讨论超出了本文的范围;具体方法请查阅操作系统的mmap()文档。
-
The munmap subroutine only unmaps regions created from calls to the mmap subroutine .
munmap子例程只是取消对mmap子例程的调用而创建的区域的映射。
-
GNU Memory-Mapped Malloc ( part of GDB ) is a malloc implementation that is based on mmap () .
Hoard是一个为多线程应用程序优化的malloc实现。
-
Within a driver , the mmap function is implemented through the remap_pfn_range kernel function , which provides a linear mapping of device memory into a user 's address space .
在一个驱动程序中,mmap函数通过remappfnrange内核函数实现,它提供设备内存到用户地址空间的线性映射。
-
Munmap () does the reverse of mmap () .
munmap()所做的事情与mmap()相反。
-
That applies MMAP based file directory improved addressing method and hash table based URL filter to web content audit system , can improve the rate of the duplicated URL judgment and filtering . Finally , this paper implements a web content audit system .
将基于MMAP改进的文件目录寻址法和基于哈希表的URL过滤器结合应用于网络内容审计系统中,能够提高重复URL判定和过滤的速度。最后,本文实现了一个网络内容审计系统。
-
The discrete-time MMAP [ K ] / PH [ K ] / 1 queueing system with reneging is discussed , where there is K types of the customers , patient time of different customers is a discrete random variable and follows differently general distribution .
讨论了带中途退出的离散时间MMAP[K]/PH[K]/1排队系统,其中系统含有K种类型的顾客,不同类型顾客的耐心时间服从不同的一般离散型分布。