Make sure you are not accessing null pointer.
确保您不是在访问空指针。
Instead, it places a null pointer into the field.
相反,它是用空指针替代。
The program contains a null pointer dereference.
程序包含一个空指针引用。
If the lua_open call fails, it returns a null pointer.
如果lua_open调用失败,则返回一个null指针。
Clearly, SOAP separating is not the same as a null pointer.
显然,SOAP分离并不同于空指针。
Detector: null pointer dereference and redundant comparisons to null.
检测器:null指针对null的解引用(dereference)和冗余比较。
Accessing the null pointer is very dangerous, as it might crash your program.
访问空指针是非常危险的,因为它可能使您的程序崩溃。
I said earlier that an empty list is a LinkedList containing a null pointer in both fields.
我前面说过,空链表就是两个域都包含一个空指针的LinkedList。
Furthermore, it says nothing about where in the code the null pointer was actually assigned.
此外,它并不指出在代码的何处这个空指针被赋值。
That means a reference type can have a null pointer, but a value type cannot have a null value.
这意味着引用类型可能有空指针,但是数值类型不能有空值。
Else, it goes through the binding vector array looking for a non-NULL pointer to binding handle.
否则,它循环遍历绑定向量数组,寻找非null的绑定句柄指针。
Some types of memory access errors (like using a NULL pointer) cause a program to crash outright.
有些类型的内存访问错误 (比如使用一个NULL指示器) 将会导致一个程序完全崩溃。
Null pointer errors are usually the result of one or more programmer assumptions being violated.
空指针错误通常是一个或多个程序员假设出错的结果。
Here's what results from dereferencing a NULL pointer on a PC running Version 2.6 of the kernel.
这是通过在一台运行着2.6内核的PC机上废弃一个NULL指针所引起的。
This is because the compiler has to preserve the value of the null pointer through all conversions.
使用引用作为函数的参数可能比使用指针更有效率。
Sun's JSF RI expects a renderer will send a null pointer exception if your component doesn't have a renderer.
Sun的JSFRI期望,在组件没有渲染器的时候,渲染器会发送一个空指针异常。
In this example, line 6 will cause a null pointer exception because the variable actions has not been initialized.
在这个例子中,第6行将产生一个null指针异常,因为变量actions还没有初始化。
Unfortunately, many designers have still not learnt that the special null pointer or null object is an equally bad idea.
遗憾的是,许多设计者并没有认识到空指针或空对象带来的危害。
Instead of defining a separate class for empty lists, it represents empty lists by putting a null pointer in both fields.
它在两个域中都放置一个空指针来表示空链表,而不是为空链表定义一个单独的类。
Because FindBugs doesn't know if the map contains "Bob" or not, it will flag line 5 as a possible null pointer exception.
因为FindBugs不知道map是否包含“bob”,所以它将第5行标记为可能null指针异常。
Notice how like our recursive programs, the definition of a linked list also contains a base case -- in this case, the NULL pointer.
注意,与我们的递归程序非常类似,链表的定义也包括一个基线条件 ——在这里是NULL指针。
Unlike, for example, a class-cast exception, a null-pointer exception says nothing about what was expected instead of the null pointer.
例如,不像一个类转型异常,空指针异常不给出它所需要的内容的任何信息,只有一个空指针。
The system level error includes syntactical error, null pointer exception, web service timeout, database connection timeout, and so on.
系统级错误包括语法错误、空指针异常、web服务超时、数据库连接超时等。
Notice how like our recursive programs, the definition of a linked list also contains a base case — in this case, the NULL pointer.
注意,与我们的递归程序非常类似,链表的定义也包括一个基线条件——在这里是NULL指针。
Through pointer mapping set and fault model, it can detect null pointer dereference faults automatically and increases the testing efficiency.
通过指针映射集和故障模型,可以自动检测空指针引用内存故障,提高了测试效率。
Since a NULL pointer terminates a list, we can also use the NULL pointer condition as a base case for many of our recursive functions on linked lists.
由于NULL指针会结束一个链表,所以我们也可以使用 NULL 指针条件作为基于链表的很多递归程序的基线条件。
The text above was inspired by a conversation with some colleagues regarding when to detect a NULL pointer and when simply let the software crash.
上文有感于与同事关于何时探测空指针和是怎么让程序一下子崩溃了的一次对话。
In this... abomination, "she waved at the screen," passing a NULL pointer is a programming error, as the documentation for the function clearly states.
在这里,“她(译注:指guru)面对屏幕挥了挥手,”传入一个空指针是一个编程错误,就像这个程序的文档写的那样。
Null pointer dereference fault is ubiquitous in the program with pointers. It is difficult to locate fault sources adopting dynamic testing method.
空指针态引用故障在使用指针的程序中是普遍存在的,采用动态测试方法进行测试难以准确定位故障源。
Null pointer dereference fault is ubiquitous in the program with pointers. It is difficult to locate fault sources adopting dynamic testing method.
空指针态引用故障在使用指针的程序中是普遍存在的,采用动态测试方法进行测试难以准确定位故障源。
应用推荐