If there is no entry in log, the code skips the rest of the method because test case execution is clean and there is no information to capture.
如果日志中没有条目,那么代码就会跳过方法的其余部分,因为测试用例的执行是干脆的,并没有得到什么信息。
This article USES example code to demonstrate keystroke dynamics for enhancing the security of your applications in authentication and continuous data entry contexts.
本文将使用示例代码来演示击键力学如何在验证及连续数据输入环境中增强应用程序安全性。
The code presented here reads through one or more directories specified on the command line, and prints some information about each entry found in the directories.
这里所介绍的代码将浏览命令行中指定的一个或多个目录,并显示在该目录中找到的每个条目的相关信息。
First, modify the database schema, then update the code to support the new schema. Next, add the functionality to save feed entry and web pages to the database.
首先,修改数据库纲要,其次,更新代码以支持新的纲要,然后添加将提要条目和网页保存到数据库中的功能。
With the appropriate persuasion, increasing the security of your authentication schemes can be as easy as applying these control algorithms to your current password entry code.
通过适当的说服工作,增加身份验证方案的安全性可以像对当前密码输入代码应用控制算法一样简单。
The following sample code first opens the Problems view, then checks whether the Problems view contains an entry.
接下来的范例代码首先打开了问题视图,然后检查问题视图是否包含有一个条目。
The following sample code first checks if an entry is made to the log file after the test case completes.
接下来的范例代码首先会检查测试用例完成以后日志文件是否做了一个条目。
Because of this, you can see the SQL statements as the code adds this new entry to the filesystem.
鉴于此,当代码将此新条目添加到文件系统中时,您可以看到sql语句。
You can replace code references in operation bodies, action on entry, action on exit, reaction in state, overridden properties, and configuration initialization.
您可以替换操作实体、条目操作、状态变更、重要属性以及配置初始化中的代码引用。
The first section of code below shows how to set up a simple password entry and confirmation program that takes into account the full timing of password entry.
下列代码的第一部分将展示一个简单的密码输入和确认程序,它将计算输入密码的完整时间。
If we look at the typical entry point code in an RCP context (see Listing 4) vs. the RAP context (see Listing 5), you'll notice that there are similarities.
如果查看RCP上下文(参见清单4)和RAP上下文(参见清单5)中的典型入口点代码,您会发现存在相似之处。
This payload represents the code that will be run on a system after the scanner discovers an entry point into the system.
这个有效负载表示在扫描器发现系统的入侵点之后将在系统上运行的代码。
In the code above, we change the last name of the current row entry.
在上面的代码中,我们更改了当前行条目的lastname字段。
The order entry application writes custom code to exchange messages from and to WebSphere MQ.
订单输入应用程序通过编写定制代码与WebSphereMQ交换消息。
You need to include only the updated fields in the document Atom entry when updating the document; in the preceding code snippet, we updated the Price field.
在更新文档时仅需在文档Atom条目中包含已更新的字段;在上一个代码片段中,我们更新了Price字段。
The code snippet shown in Listing 5 is the entry function into the xml2json converter.
清单5中的代码片段是xml2json转换器的入口函数。
Each path element contains a single dirname element, so the code searches for elements named dirname and grabs the first entry.
每个path元素包含了一个dirname元素,所以代码搜索名称为dirname的元素,并获取其中的第一个条目。
You need to set a flag to let the code know whether you are reading the title element within the entry.
需要设置一个标志让代码知道读取的是不是条目内的title元素。
User Function Tracing probes (or uft) for entry of exit of user written code.
针对用户编写的代码的入口或出口的用户函数跟踪探针(或uft)。
The code shown in Listing 3 simply adds a new entry into the records table, counts the number of records, and returns it.
清单3中显示的代码只将新条目添加到records表中,计算并返回记录数目。
Again, if the exit code of zenity is 0, then ENTRY has the person's name. Here is the calendar example from above rewritten to use zenity.
再次说明,如果zenity的退出代码是0,那么ENTRY有某人的姓名。
stext is the kernel entry point, which means that the code under this section is the first to execute when the kernel boots up.
stext是内核入口点,这意味着在内核引导时将首先执行这一节下的代码。
Open the deploy \ install.xml file, and paste the code for the feature information after the en_US entry.
打开deploy \install . xml文件,将特性信息的代码粘贴在en_US条目之后。
Certain entry criteria are used to determine code readiness for system test (e.g., regression status, defect backlog, etc.).
某些入口标准用来确定对于系统测试的代码准备状态(举例来说,回归状态,缺陷后备,等等)。
If an entry is found, the code checks whether the entry is an error (the view lists warning, as well as error, messages).
如果您找到了一个条目,那么代码会检查条目是否是一个错误(视图中会列出警告,以及错误和信息)。
Incorrect values due to incorrect data entry or outdated information (" Somers, ct 10589 "where the postal code" 10589 "is not in the state Connecticut but in New York).
由于数据输入不正确或信息过时而导致的不正确值(“Somers,CT 10589”,其中的邮政编码“10589”不属于康涅狄格州,而属于纽约州)。
Then, this code prints the string that the method returned, which is the blogid of the remote blog entry that was created.
然后,此代码打印该方法返回的字符串,也就是创建的远程博客文章的 blogid。
Without a gate at (or near) an entry point, code would run with whichever keys the caller happened to hold.
如果在入口点处(或者附近)没有这样的门,那么代码将使用调用者当时持有的任何键来运行。
Finally, we present live sample code for listing the blog entries in a blog library, creating a blog entry, and commenting on a blog entry, to help you further understand these REST-based services.
最后,对于列出博客库中的博客条目、创建博客条目和评论博客条目,我们将给出生动的示例代码,帮助您进一步理解这些基于REST的服务。
Unexpected code paths: by following the entry and exit points, it is possible to see any unexpected code paths taken by the program.
意外的代码路径:通过跟踪进入和退出点,可以看出程序是否采用了意外的代码路径。
应用推荐