The program has one performance flaw-i retrieve the string entry in the associated string table by value rather than pointer.
该程序有一个性能缺陷—我是按值而不是按指针在关联的字符串表中检索字符串条目的。
This error occurs if a program passes an invalid pointer value or if the length of the buffer is too small.
如果程序传递了无效的指针值,或者如果缓冲区的长度太小会发生此错误。
It returns a pointer to the function, which can then be used like any other reference value.
它返回一个函数指针,可以像任何其他引用值一样使用它们。
This pointer must be an absolute directory path, so you may need to tweak this value in your own code.
这个指针必须是一个绝对目录路径,因此您可能需要在自己的代码中调整该值。
Because structures, also known as value types, can appear on the stack, it is not always possible to create a pointer to them.
因为结构,也就是通常所说的值类型,可以被用在堆栈里,并不能总是为它们创建一个指针。
Methods can actually be declared on both value and pointer types.
方法实际上既可以声明为值也可以声明为指针类型。
That means a reference type can have a null pointer, but a value type cannot have a null value.
这意味着引用类型可能有空指针,但是数值类型不能有空值。
Highlight the value: Hold the left mouse button down and drag your mouse pointer over the value.
高亮显示此值:按住鼠标左键向下,把您的鼠标指针拖到此值上。
You then use register 127 as your loop counter and register 126 as your base pointer, and perform convert_to_upper on each value until you get to the end of the buffer.
然后再将寄存器127用作循环计数器,将寄存器126用作基指针,并在每个值上执行convert _ to_upper,直到到达缓冲区的底部为止。
The POSIX 1003.1 standard defines strerror_r , which accepts a pointer to a buffer and a buffer size in addition to the error value.
POSIX 1003.1标准定义strerror _ r,该函数除接受错误值之外,还接受缓冲区中的指针和缓冲区大小。
When strdup is called in foo , the namestr variable value is overwritten, thereby losing the pointer to the memory allocated in main , and that causes the leak.
当strdup在foo中被调用,这个namestr变量值就会被覆写,从而丢失main中内存分配的指针,导致渗漏。
Binary trees are represented by nodes that have a data value and a left and right pointer; however, there are many data structures that require trees with more than just a left and right branch.
描述二叉树(binarytree)的节点有一个数据值、一个左指针和一个右指针;不过,很多数据体要求树不只有一个左分支和一个右分支。
Where exactly does namestr get written with another address value, and thereby lose the last pointer to memory allocated in main(), causing the leak?
在什么地方namestr与其它地址数值一起被编写,从而丢失分配在main() 中的最后一个内存指针,最终导致渗漏吗?
You can simulate this yourself by using a printf call and the strerror function, which returns a pointer to the textual representation of the current errno value.
您可以通过使用printf调用和strerror函数(该函数返回当前errno值的文字表示形式的指针)来模拟此程序。
This function returns a pointer to the value in the environment or NULL if there is no match.
这个函数会返回一个 指向环境中的值的指针,或者如果不匹配则返回 NULL。
When you take the mouse pointer on top of the pie chart pointing to each database portion, you can see the percentage value that particular space has covered within the pie chart.
如果把鼠标指针放在饼图上面,指向每个数据库部分,就会看到对应的百分数。
Read the pressure value, observation table pointer corresponding to the scale values and their relative units of value.
读取压力数值时,观察表上指针对应的刻度值加上其相对的单位值即可。
That statement says, get the value of x, which is this link, and give z a pointer to the same place.
这个声明的意思是,取得x的值,也就是连接指向的值,然后给z赋予一个指向同样位置的指针。
Values of this type can now be allocated using the built-in function new, which returns a pointer to the value in memory with all slots initialized to the zero value.
现在这一类型的值可以通过内建的函数new来分配,这将返回一个指针,指向一块内存单元,其所占内存槽初始化为零。
In earlier versions, it changes the return value of the generated function in_word_set from its default Boolean value (that is, 0 or 1) to the pointer to wordlist array type.
在早期版本中,它将生成的函数in _ word_set返回的默认布尔值(即0或1)修改为pointerto wordlist array类型。
Write code to change the value of a pointer. Write code to change the value to which the pointer points.
编写代码修改指针的值;然后再编写代码修改指针所指对象的值。
When first using Pointers, the difference in whether an assignment is to the pointer or through the pointer to the value pointed to can be confusing.
对于初学指针者,给指针赋值和通过指针进行赋值这两种操作的差别确实让人费解。
A pointer to the converted value.
一个指针指向转换后的值。
The pointer will have some random value that, with luck, will point into an area of memory that is not available to your program and the kernel will kill your program before it can do any damage.
这个指针会有一个随机值,如果运气好的话,它将会指向一个你程序不可用的内存区域,那么内核将会在它造成什么伤害前干掉你的程序。
Put the material in a known test hole on the aperture, and then through a small aperture will load imposed on the fabric, for reads deflection scale pointer value.
将待测材料夹在已知孔径的测试孔上,然后通过较小孔径将一定负荷施加于织物上,于刻度指针上读取挠曲度值。
In an unsafe context, a type may be a pointer type as well as a value type or a reference type.
在不安全的上下文中,类型可以是指针类型以及值类型或引用类型。
In an unsafe context, a type may be a pointer type as well as a value type or a reference type.
在不安全的上下文中,类型可以是指针类型以及值类型或引用类型。
应用推荐