This allows you to create an arbitrarily complicated data structure for the thread to work on, and pass it in as a single pointer.
这样允许您创建一个任意复杂的数据结构,并将它作为一个指针传送给需要在这个数据结构上进行操作的线程。
You could even just use a single pointer and write data back into the buffer you got it from, although this might be a nuisance to program for on the other end.
您甚至只需要使用一个指针并将数据写回到读取数据所使用的缓冲区中即可,不过这对于另外一端的编程来说可能有些麻烦。
If there is no root or a pointer pointing to any part of the list then your data is lost in memory.
如果既没有根也没有指针指向链表,那么你的数据就丢失在内存中了。
A linked list consists of a node structure that contains two members: the data it is holding and a pointer to another node structure (or NULL, to terminate the list).
链表所包含的节点结构体由两部分构成:它所持有的数据,以及指向另一个节点结构体(或者是NULL,结束链表)的指针。
This is in contrast with conservative GC systems which requires you to guess whether some piece of memory contains an object pointer or just some random data that resembles an object pointer.
这和需要你猜测某个内存片包含对象指针和一些类似对象指针的随即数据的老式GC系统有鲜明的对比。
This is a pointer to a structure which holds the data about the SPE program itself.
是持有有关SPE程序本身的数据的结构的指针。
This is a pointer to environment data for the program.
是到此程序的环境数据的指针。
This is done by entering just enough data to overwrite the arguments with dummy data and a new return pointer to a different function; the new function is now executed. 10
这是通过输入足够的数据来用伪数据覆盖参数,及输入到不同函数的新返回指针来实现的,现在就执行新的函数了。
Important registers to look for when debugging through signals are the GPRs, instruction pointer (NIP), machine state register (MSR), trap, data address register (DAR), and so on.
在调试信号时,需要查看的一些重要寄存器包括GPR、指令指针(NIP)、机器状态寄存器(MSR)、Trap、数据地址寄存器(DAR)等等。
The data pointer will now contain the pointer to that label each time the callback is called.
现在每次调用回调时,data指针都会包含到那个标签的指针。
In cases where data is not optimally modeled as a single document, MongoDB has the concept of a "DBRef", which is a pointer from a field in a document to another document.
在数据不宜被构造成单独文档的情况下,MongoDB有“DBRef”的概念,这是从文档的一个属性指向另一个文档的指针。
If a function needs to maintain the state of some data over successive calls, such as a working buffer or a pointer, the caller should provide this data.
如果函数需要在一系列调用期间维持某些数据的状态,比如工作缓存或指针,那么调用者应该提供此数据。
This simple design, possible because the data obeys strict LIFO order, means that no complex data structure is needed to track stack contents - a simple pointer to the top of the stack will do.
这种简单的设计,很有可能是考虑到数据操作都符合后进先出(LIFO )规则,这意味着访问栈的内容并不需要复杂的数据结构,一个简单的栈顶指针就能搞定一切。
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.
它没有使用多个可直接访问的参数,而是使用一个指向主存的指针,SPE需要发出dma请求来从主存中获取指针所指向的数据。
Returning a pointer to static data may cause a function to be non-reentrant.
返回指向静态数据的指针可能会导致函数不可重入。
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.
在这个示例中,指针在数据段中占用了4个字节,但是指针所指向的字符串则不在数据段中。
First, the Vee-Table pointer is used to access virtual functions, and data members are accessed directly using compile time offsets.
首先,Vee -Table指针用于访问虚函数,而对数据成员的访问直接使用编译时偏移量实现。
Here you have a struct that includes the first element as a data item and the second element as a pointer to the next node.
这样您就拥有了一个struct,其中第一个元素为数据条目,第二个元素为指向下一个节点的指针。
Does not return a pointer to static data; all data is provided by the caller of the function?
不返回指向静态数据的指针;所有数据都由函数的调用者提供。
Dxferp: a pointer to user memory of at least dxfer_len bytes in length for data transfer.
dxferp:指向数据传输时长度至少为dxfer_len字节的用户内存的指针。
Key-values Stores. The main idea here is using a hash table where there is a unique key and a pointer to a particular item of data.
KV存储的主要思想是一个哈希表,每个item有一个主键和特定的数据值。
An ID or pointer to that data is stored on the client as a cookie.
数据标识和指向该数据的指针作为cookie存储在客户机上。
Position your mouse pointer over the Data View chart, and hold down your left mouse button to display the actual values, as shown in Figure 15.
将您的鼠标指针移到DataView图表上,并按住鼠标左键以显示实际值,如图 15 所示。
This is only a pointer to some of the problems that may lie ahead - issues of command and control, data exchange and the cost of a truly comprehensive system.
这对那些如指挥和控制的问题,数据交换问题和一个真正全面的系统成本来说仅仅是一个暗示。
The code converts data into a pointer to GtkLabel.
代码把data转换成到GtkLabel的指针。
The data argument is a pointer to the private data (see Listing 7).
data参数是一个指向私有数据的指针(参见清单7)。
There is a close relationship between two data structure types. In this case, one of the two often maintains a pointer initialized to the address of the second one.
二种数据结构类型之间有紧密的关系。在这情况,其中一个经常会维持一个指针到第二个类型的住址去设定初值。
There is a close relationship between two data structure types. In this case, one of the two often maintains a pointer initialized to the address of the second one.
二种数据结构类型之间有紧密的关系。在这情况,其中一个经常会维持一个指针到第二个类型的住址去设定初值。
应用推荐