文章指出了几类常见动态存储错误的特征及其危害。
The features of some kinds of dynamic memory errors a nd the hazards are introduced in this paper.
测试人员可以分析和现场检测Purify所报告的存储错误。
Testers can analyze and file defect reports for memory errors reported by Purify.
测试工程师可以利用它获取功能验证和系统整合测试期间的存储错误。
Test engineers can use it to catch memory errors during functional verification and system integration testing.
该方法为程序建立并分析指针树,能够有效地检测和定位几类常见动态存储错误。
This method builds and analyzes pointer trees for programs and can detect and localize the dynamic memory errors effectively.
您可以创建一个十分复杂的系统,它可以比较结果并发送带有准确寻找额外存储错误和泄漏信息的电子邮件。
You can create a quite sophisticated system that compares results and sends E-mail notifications with precise details upon finding any additional memory errors and leaks.
这样确保了新的存储错误可以从他们引见的时间的一天或者一周内捕获,这样比释放软件之后捕获要好得多。
This ensures that new memory errors are caught within a day or a week from the time that they were introduced, which is much better than catching them after releasing the software.
例如,您可以将Purify与您的单元或者烟雾测试单元整合在一起,这些单元是开发人员必须在报告任何代码变更前必须运行的单元,并需要它们修复Purify所报告的所有新的存储错误。
For example, you can integrate Purify with your unit or smoke test suite that developers must run before checking in any code changes and require them to fix any new memory errors reported by Purify.
准则1可以通过类型检查得到保证,如果在函数中有任何静态存储声明,则抛出错误消息。
Guideline 1 can be ensured by type checking and throwing an error message if there is any static storage declaration in the function.
当应用程序接收到一个表明应用程序堆中存储空间不够的错误时,应该增加APPHEAPSZ的值。
When your applications receive an error indicating that there is not enough storage in the application heap, increase the value of APPHEAPSZ.
指令存储中断通常是指在取出指令时发生页面错误。
An instruction storage interrupt is a page fault on an instruction fetch.
开发人员可以用它来确保他们已经编写的新代码不会在不防之时导致任何存储毁坏错误或者渗漏。
Developers can use it to ensure that the new code that they have written is not going to inadvertently cause any memory corruption errors or leaks.
它把所有数据存储在芯片中,可以在发生错误时恢复以前的状态。
Essentially, it stores all the data in the chip and reverts back in case of a prior error.
最后一个游标的SQLERROR被返回,而最后一个失败的sql语句的错误字符串将被存储到变量SQLERRSTR中。
SQLERROR of the last cursor is returned, and the error string of the latest failed SQL statement is stored into variable SQLERRSTR.
这是有用的,因为如果主机崩溃以及磁盘错误无法恢复,您将无法读取存储的消息。
This is useful, because if the host crashes and the disks get irreparable errors, you might not be able to read the stored messages.
在其他目录中存储的文件导致磁盘满错误时,是否应该防止某些目录受到影响?
Do you have directories that should be protected from disk-full errors that might occur because of files stored in other directories?
以前,应用程序只有到执行时才会检测到此错误,并产生错误消息和一个存储转储。
Previously, the application would not have detected this error until execution, producing error messages and a storage dump.
存储服务器缓存设置如果设置错误,可能会影响GPFS性能。
Storage server cache Settings can impact GPFS performance if they are not set correctly.
使用模式大大减少了存储不完整或错误数据的可能性,因为数据必须符合明确的规则。
Storing incomplete or incorrect data is less likely when you use a schema because the data must conform to clear rules.
编辑器错误—确定编辑器确实将文件存储为文本。
Editor woes - make sure your editor really saves the file as text.
你还可以结合一些应用,它们可以自动跟踪代码的变化,跟踪测试覆盖,提交错误,检查代码外形和存储使用,等等。
And you can combine utilities that automatically track code changes, trace test coverage, submit defects, inspect code profiles and memory usage, and so forth.
错误处理:新的存储过程现在返回带有适当SQLCODE和SQLSTATE的SQLCA,在使用SQL时与错误处理框架更加内联。
Error handling: the new stored procedure now returns SQLCA with proper SQLCODE and SQLSTATE that is more inline with the error handling framework when using SQL.
第一个全局变量是标准错误消息(存储在sys_errlist中)的数量。
The first is the number of standard error messages stored in sys_errlist.
为错误处理预留runnable对象和存储区。
error Code——值为-1指示存储过程因发生某种错误而中止。
ErrorCode — a value of -1 indicates that the stored procedure was aborted due to some error.
error Code——值为-1指示存储过程因发生某种错误而终止。
ErrorCode - a value of -1 indicates that the stored procedure was aborted due to some error.
dsirr(数据存储中断原因寄存器)表示发生的页面错误的类型。
The dsirr (Data Storage Interrupt reason Register) indicates the type of page fault that has occurred.
dsisr(数据存储中断状态寄存器)表示页面错误无法解决的原因。
The dsisr (Data Storage Interrupt Status Register) indicates why the page fault could not be resolved.
当使用错误的输入参数类型来调用存储过程时,将返回下列错误。
When the procedures are called with wrong input parameter types, this error is returned.
如果代理遇到错误,它将在参数文档的Status文本字段中存储一条错误消息。
If the agent encounters an error, it stores an error message in the Status text field of the parameter document.
如果代理遇到错误,它将在参数文档的Status文本字段中存储一条错误消息。
If the agent encounters an error, it stores an error message in the Status text field of the parameter document.
应用推荐