转换为指向指针的指针无效总是安全的?
每个堆栈框架都有一个指向前一个堆栈框架的指针(称为回链指针),还有一个当它调用其他函数时用于存放返回地址的空间。
Each stack frame holds a pointer to the previous stack frame (called the back chain pointer), as well as a space for return addresses for when it calls other functions.
该函数接受一个指向用户空间缓冲区的指针、一个指向内存缓冲区的指针、以及一个以字节定义的长度。
This function accepts a pointer to a user space buffer, a pointer to a kernel buffer, and a length defined in bytes.
引用是应用程序的特定指针,该指针指向通常存在于更大的上下文(如服务器或集群)中并且供多方使用的对象。
A reference is an application specific pointer to an object that usually lives in a larger context, such as a server or cluster, and is used by multiple parties.
COM的客户程序通过获取指向一个对象接口的一个指针,并通过该指针来调用方法以实现与COM对象之间的互相作用,就好像对象驻留在客户程序的地址空间中一样。
A COM client interacts with a COM object by acquiring a pointer to one of the object's interfaces and invoking methods through that pointer, as if the object resides in the client's address space.
它没有使用多个可直接访问的参数,而是使用一个指向主存的指针,SPE需要发出dma请求来从主存中获取指针所指向的数据。
Instead of having multiple directly accessible arguments, you get a pointer into main memory and the SPE has to issue DMA requests to get the pointed-to data from main memory.
索引包含一个节点,该节点是一个小型的指针数组,这些指针又指向更低的层。
The index contains a node that is a small array of Pointers to the lower level.
接下来,当前堆栈框架指针会被存储为指向下一个堆栈框架的后向指针,虽然尚未建立堆栈框架(这是通过负的偏移量实现的)。
Next, the current stack frame pointer is stored as the back pointer for the next stack frame, even though you haven't established the stack frame yet (this is done through negative offsets).
在这个示例中,指针在数据段中占用了4个字节,但是指针所指向的字符串则不在数据段中。
In that case, the contents of pointer gonzo - a 4-byte memory address - live in the data segment. The actual string it points to does not, however.
pte链的每一个条目使用4个字节来存储指向页表条目的指针,用另外4个字节来存储指向链的下一个条目的指针。
Each entry in the PTE chain USES 4 bytes to store a pointer to the page-table entry and an additional 4 bytes to store the pointer to the next entry on the chain.
回链指针指向前一个堆栈框架的回链指针。
The back chain pointer points to the back chain pointer of the previous stack frame.
在第一次调用这些函数中的某个函数时,pseudo客户机库会填充一个包含函数指针的表,这些函数指针指向函数“真正的”(libc)实现。
On the first call into any of these functions, the pseudo client library populates a table of function Pointers that then point to the "real" (libc) implementations of these functions.
堆栈帧中的最后一个条目是一个指向前一堆栈帧的指针,通常被称为后向指针(backpointer)。
The final item in the stack frame is a pointer to the previous stack frame, often called the back pointer.
指向该类型变量的指针被传递到process_args函数,返回该指针时,它包含从参数处理过程获得的值。
A pointer to a variable of this type is passed to the process_args function, and on return, the variable contains values obtained from arg processing.
使用指向CompositeContext的指针,可以调用下面的方法来获取指向服务的指针。
With the pointer to the CompositeContext, the following method can be invoked to obtain a pointer to service.
execv调用首先取得一个指向要运行的二进制文件名称的指针,然后取得一个指向您前面声明的参数数组的指针。
The call to execv first takes a pointer to the name of the binary to be run, and then a pointer to the array of parameters that you declared earlier.
由于向量指针所指向的值是16字节长的,因此会按照16字节的单位来移动;而char指针则是按照1个字节的单位来移动的。
Vector Pointers, since the value they point to is 16-bytes long, move forward in increments of 16 bytes, while char Pointers move forward in single-byte increments.
当得到了指向OVERLAPPED结构的指针以后,可以用CONTAINING_RECORD宏取出其中指向扩展结构的指针。
After the pointer to the OVERLAPPED structure is returned, the CONTAINING_RECORD macro can be used to obtain a pointer to the extended structure.
从概念上讲,那是“无效的指针”,“指针指向虚无”,无论。有一个很好的理由是在语言。
NULL. Conceptually, that's the "invalid pointer", "pointer that points to nothing", whatever. There's a very good reason it's in the language.
将数组转换为指向数组类型的指针,将函数转换为指向函数类型的适当指针。
An array is converted to a pointer to the type of the array; a function is converted to the appropriate pointer to function type.
这两行中的数据指针和前面指向A 的数据指针是同样的方式。
The pointers in these two lines are pointing to B in the same fashion as the two previous were pointing at A.
这只是是一个指针指向,另一个指针指向的数据。
It just changes one pointer to point to the same thing as another.
在这个上下文,一个无效的指针是一个指向无效内存中的区域,是NULL,包含一个不对齐的指针,指向的内存块比必须的还小,等等。
In this context, an invalid pointer is one that points to an invalid region in memory, is NULL, contains an unaligned pointer, points to memory block smaller than necessary, and so on.
第一个参数是一个指向函数的是要绕道指针的指针。
The first parameter is a pointer to a pointer of the function that is to be detoured.
为了进行静态缓冲区溢出分析,必须首先进行高效而精确的指针分析,以确定指针可能指向的目标缓冲区。
In order to statically analyze buffer overflow, efficient and precise pointer analysis must be performed to make certain what target buffer a pointer variable point to.
而在传递数组时,实参是指向数组第一个元素的指针,形参复制的是这个指针的值,而不是数组元素本身。
When we pass an array, the argument is a pointer to the first element in the array. That pointer value is copied; the array elements themselves are not copied.
传统数据划分模式不适合指向数组的指针数组的数据划分,论文提出了解决该类指针数组数据划分的划分模式,文中称为数组向量的数据划分。
Traditional data partition ways are not suitable to pointer array whose member points to an array, so this paper presents a new mode to solve this problem, named array-vector data partition mode.
因为数组会被自动转化为指针,所以处理数组的函数通常通过操纵指向数组指向数组中的元素的指针来处理数组。
Because arrays are automatically converted to Pointers, functions that deal with arrays usually do so indirectly by manipulating Pointers to elements in the array.
因为数组会被自动转化为指针,所以处理数组的函数通常通过操纵指向数组指向数组中的元素的指针来处理数组。
Because arrays are automatically converted to Pointers, functions that deal with arrays usually do so indirectly by manipulating Pointers to elements in the array.
应用推荐