解决方案:在后台对服务器端检查例程执行一个Ajax调用;如果有错误,就警告用户,突出显示不正确的字段。
The solution: Make an Ajax call in the background to a server-side checking routine; if there are errors, warn the user, highlight incorrect fields, and so on.
Sigil和php脚本与XML和拼写库相结合,是在查找和修复使用常规EPUB检查例程无法检测的错误时非常有用的工具。
Both Sigil and PHP scripting with XML and spelling libraries are helpful tools in finding and fixing errors that cannot be detected using normal EPUB checking routines.
这个例程首先检查接口句柄是否为 NULL。
This routine initially checks if the interface handle is NULL.
确定出您所知道的危险值仍不失为一个好主意:您可以用它们(在头脑中)检查您的确认例程。
It's still a good idea to identify values you know are dangerous: you can use them to (mentally) check your validation routines.
这个例程检查所有片段的总长度并创建一个具有这种长度的新数组。
This routine checks the total length of the pieces and creates a new, single array that is that long.
这个例程检查字符是否在A到Z之间,然后将其转换为小写字母并将它直接和其他字符比较。
This routine checks to see if a character is between a and Z, then converts it to lowercase and compares it; it compares other characters directly.
这个例程首先检查传递的管理器入口点向量mgr_epv是否是NULL。
This routine initially checks to see if NULL manager entry point vector, mgr_epv, was passed.
Perl子例程 checksize 处理整个文件(作为 Perl数组 @_ implicit的一部分)并检查函数长度。
The Perl subroutine checksize traverses over the whole file (as part of the @_ implicit array in Perl) and keeps checking for function lengths.
这个例程检查表单中的一些域并整理错误,还通过返回false防止表单被提交。
This routine checks some of the fields in the form and collates the errors, and prevents the form from being submitted by returning false.
这个例程检查表单中的一些域并整理错误,还通过返回“false”防止表单被提交。
This routine checks some of the fields in the form and collates the errors, and also prevents the form from being submitted by returning "false".
这个例程检查传递的绑定句柄在名称服务数据库中是否有相应的条目名称。
This routine checks if the binding handle passed with the routine has an entry name in the name service database.
示例程序将受益于一些增强功能:如使缓冲区保持同步,或者检查当内容丢失时是否必须重新绘制整个缓冲区。
The example program would benefit from such enhancements as keeping the buffers synchronized or checking if the complete buffer must be redrawn when contents are lost.
清单6将添加第一个基本的击键力度相关的检查子例程:密码输入总时间。
Listing 6 adds subroutines for the first basic keystroke dynamics-related check: total time of password entry.
这个例程首先检查传递的查询上下文是否非null,以及是否是用于组成员查询的上下文。
Initially, this routine checks if the passed inquiry context is not NULL and is for a group member inquiry.
它检查这个问题计数值是否是目前最大的。如果当前集合中还有其他问题,就再次递归运行这个例程。
It checks to see whether that's the highest question count so far, and if any other questions are in the current set, it sends them to run through the routine again.
拼写例程逐个检查单词,将它们与标准的已知列表对比,指出不匹配的单词,提供建议并允许您进行更改。
A spelling routine examines words one by one and compares them to a standard known list, pointing out those that don't match, making Suggestions, and allowing you to make changes.
示例程序在事件发生数据中检查错误格式,判断select()调用是否返回了错误。
The sample program checks for the error format in the event occurrence data if the select() call returned an error.
本文向您介绍了如何在不同的Unix系统,包括AIX和Solaris上,安装多实例队列管理器,以及如何运行样例程序来检查客户端的自动重连接。
This article showed you how to set up a multi-instance queue manager on various Unix flavors, including AIX, HP-UX, and Solaris, and how to run sample programs to check client auto-reconnection.
清单7显示了 hasNonPrintable子例程,它可以针对 @nonPrintable数组中的一个预期前缀检查密码。
Listing 7 shows the hasNonPrintable subroutine used to check a password for one of the expected prefixes in the @nonPrintable array.
对用 gss_wrap子例程加密的消息进行解密并检查嵌入的签名。
Unwraps a message sealed by the gss_wrap subroutine and verifies the embedded signature.
例如,如果单击按住时间为“19710 10”,checkdynamics子例程将遍历必要的排列以检查“1925 5”、“20315 15”及两者之间的排列。
For example, if the click-hold times are "197 10 10," the checkDynamics subroutine will work through necessary permutations to check "192 5 5," "203 15 15," and everything in between.
示例程序并不检查EVENT_OVERFLOW,因为它指定info_lvl为1并使用默认缓冲区大小4k。
The sample program does not check for EVENT_OVERFLOW since it specifies an INFO_LVL of 1 and USES the default buffer size of 4k.
这使您可以提供一个这样的事件处理方法,即每次发生此事件时就执行一个自定义例程(如检查删除操作的结果)。
This enables you to provide an event-handling method that performs a custom routine, such as checking the results of the delete operation, whenever this event occurs.
持续发展:我们建议您定期检查最新的版本,因为我们的病毒研究人员将增加更多的检测例程此工具,以消除更大的威胁。
Continuous development: we recommend you to check regularly for the latest version, as our virus researchers will add more detection routines to this tool, in order to remove even more threats.
在设备的控制过程中,DTC子例程将运行检查电路、传感器和执行器的操作。
During the control of the device, DTC subroutines will run to check the operation of the circuits, sensors and actuators.
在设备的控制过程中,DTC子例程将运行检查电路、传感器和执行器的操作。
During the control of the device, DTC subroutines will run to check the operation of the circuits, sensors and actuators.
应用推荐