当你调用一个函数,实际上发生的是函数得到了自己的内存块,它的大小与它期望的数据类型相同。
When you call a function, what actually happens is that function gets its own chunk of memory that's identical in size to the data type that it expects.
影响资源(特别是内存)的函数和方法需要显式地解释本身。
Functions and methods which impact resources, especially memory, need to explain themselves explicitly.
这就是用户空间内存访问函数的目的。
This is the purpose behind the user space memory access functions.
回调函数可以读取保存在已命名内存中的记录(7)并将每条记录写入一个文件(8)。
The callback function can read the records that were saved in named memory (7) and write each record to a file (8).
始终正确处理返回动态分配的内存引用的函数返回值。
Always properly handle return values of functions returning references of dynamically allocated memory.
栈是内存的一部分,存储函数参数和方法中使用的字段。
The stack is the section of memory that holds function arguments and fields used in methods.
函数默认从最高内存使用率到最低内存使用率,以便您可以集中到消耗最大内存的函数上。
By default, the functions are sorted from highest to lowest memory usage so that you can concentrate on the functions consuming the most memory.
任何ABI中最重要的部分都是具体如何使用堆栈,即保存本地函数数据的内存区域。
The most important part of any ABI is the details of how to make use of the stack, which is the area of memory that holds local function data.
生存期局限于当前函数的内存非常容易管理,但是对于生存期超出该范围的内存来说,管理内存则困难得多。
Memory whose lifetime is limited to the current function is fairly easy to manage, but for memory that lives beyond that, it becomes much more difficult.
原因是因为一些函数本身导致了内存泄露,尤其是在仅使用内置php函数的情况下。
The reason is because some of the functions cause memory leaks themselves, especially if you're only using built-in PHP functions.
处理操作系统级信息(比如说内存中的锁定对象)的函数名是以OS开头的。
Functions that deal with operating system level information (such as locking objects in memory) have names beginning with OS.
嗯,如果你想调用一个函数,这就像把一个托盘放到另一个托盘上,托盘代表一块,函数可以使用的内存。
Well, if you want to call a function, it's like putting another tray on that stack of trays and that tray represents a chunk of memory that, that function can use.
用户空间内存访问函数在表1中列出。
The user space memory access functions to be explored are listed in Table 1.
该函数占用的内存也很少。
当您在一个调试器中,您可以利用各种Purifyapi函数来研究各种内存单元的状态类型:f。
When you are inside a debugger, you can use various Purify API functions to investigate the status and type of various memory locations.
在安装函数内部,调用了kzalloc(分配内核内存并清零)。
Internal to the setup function, there's a call to kzalloc (which allocates kernel memory and zeroes it).
清单3 中的函数释放链表中的所有内存块,然后释放由 newBuffer()分配的Buffer 。
The function in Listing 3 frees any memory blocks in the linked list, then frees the Buffer allocated by newBuffer().
它没有实现很多其他的内存函数,比如realloc 。
It does not implement many of the other memory functions, such as realloc .
php中的内存管理函数。
您也不必释放由transcode函数返回的内存,因为此时这是调用者的责任。
You also don't have to free up the memory returned by the transcode function, since it's now the responsibility of the caller.
load_biz _ rules函数首先将文件读入内存。
The load_biz_rules function begins by reading the file into memory.
shmat是一个UNIX函数,它将与 shmid(另一个Solaris 函数)所标识的共享内存相关的共享内存段附加到调用进程的数据段上。
shmat is a UNIX function that attaches the shared memory segment associated with the shared memory identified by shmid (another Solaris function) to the data segment of the calling process.
下面的探测脚本使用用户函数进入探测跟踪malloc例程,显示分配的内存量。
The following probe script USES the User Function Entry probe to track malloc routines and display the size of allocation.
错误的内存使用在使用内存分配和释放的函数不匹配时发生。
Incorrect memory use occurs when functions used for allocating and de-allocating memory do not match.
在 in_pcballoc 中,调用了内核的内存分配器函数,该函数将内存分配给Internet控制块。
Within in_pcballoc, the kernel's memory allocator function is called, which allocates memory to the Internet control block.
图11:callGraph中的较粗的线表示内存密集的函数。
Figure 11: Thicker lines in the Call Graph denote more memory-intensive functions.
默认情况下,Xdebug将显示时间、内存使用量、函数名和函数调用深度字段。
By default, Xdebug displays fields for time, memory usage, function name, and the depth of the function call.
现在如果你调用一个函数,像increment或者cube或者,或者在这个例子里,foo,这些变量都是,函数的参数,在内存中存储。
Now if you call a function, swap like increment or cube or swap, or in this case, foo, those variables are the parameters to that function, end up getting stored next in memory.
在一个驱动程序中,mmap函数通过remap _ pfn_range内核函数实现,它提供设备内存到用户地址空间的线性映射。
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函数通过remap _ pfn_range内核函数实现,它提供设备内存到用户地址空间的线性映射。
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.
应用推荐