If I want to validate this code in a white box manner, I have to separate UI-specific code from business code, which requires some refactoring.
如果我想以白盒方式验证这段代码,就必须将特定于用户界面的代码与业务代码分开,这就需要进行重构。
Check-out code from a repository.
从存储库签出代码。
Listing 8. Optimized code from Listing 7.
清单8.从清单7中优化来的代码。
Listing 5 shows the code from the compile method.
清单5展示了compile方法中的代码。
Download the source code from the Cfengine repository.
从Cfengine存储库下载源代码。
Some even (try to) generate code from the resulting models.
有的甚至可以(试图)从结果模型中生成代码。
The code from last month only worked with JDK 5.0 or later.
上个月的代码只适用于JDK 5.0或更高版本。
It abstracts the presentation code from the transformation code.
它从转换代码提取表示代码。
In this text field, enter the following code from Listing 14.
在该文本区域中,输入以下代码清单14的代码。
Now, deploy the PHP code from Listing 3 to your own PHP server.
现在,将清单3的PHP代码部署到PHP服务器。
Listing 4 contains the corresponding code from Automatous Monk.
清单4包含Automatous Monk中的相应代码。
Model-driven development: Generating source code from UML models.
模型驱动的开发:从uml模型中产生源代码。
Suggestions, experience reports, and code from users and contributors.
建议,经验式的报告,以及来自用户和贡献者的代码。
To generate the EGL code from the UML model, perform the following steps.
为了从uml模型中产生EGL代码,进行以下步骤。
In addition, using AOT code from the cache helps reduce startup time.
另外,使用缓存中的AOT代码也有助于减少启动时间。
You can place the control in any JSP page by adding the code from Listing 3.
您可将控件置于任何JSP页面中,只需添加清单 3 所示代码。
This ability in itself essentially decouples code from external associations.
此功能本身就是取消代码与外部关联的耦合。
CLM can prohibit code from being delivered if it doesn't meet this criterion.
如果不满足标准的话,CLM可以阻止代码被交付。
You can also download stable binary and source code from the JXME Web site.
您还可以从JXME网站下载稳定的二进制代码和源代码。
Listing 3 shows the window text code from Listing 2 with an added ARIA "live" tag.
清单3所示的窗口文本代码在清单2的基础上添加了一个ARIA“活动”标记。
As explained earlier, the example XML code from Listing 2 is in human readable format.
正如前面所解释的,清单2中的示例XML代码是一种可读的格式。
In general, mixing code from various licenses in a collective works presents no issues.
在合成作品中混合来自不同许可的代码一般来说不会出现问题。
JAXB supports both generating code from schemas, as in this case, and starting from code.
JAXB支持从模式中生成代码(本例就属于此例),也支持从代码中生成。
These use computer programs to generate a code from the very data that comprise the image.
这种系统用计算机程序由组成图片的数据生成一种编码。
It does this by looking for virus "signatures" - chunks of computer code from known viruses.
它通过寻找计算机病毒的“签名”(已知计算机病毒代码的标本)来做这件事情。
Replace the contents of this file by entering or pasting the source code from Listing 2.
输入或粘贴清单2中的源代码作为这个文件的内容。
Just after the annotations in Listing 2, can you spot two lines of duplicate code from Listing 1?
就在清单2的注释之后,您是否看到了来自清单1的两行重复的代码?
Reuse the code from Listing 2 where you perform a simple GET to retrieve the instance details.
重用清单2中的代码,该代码执行一个简单的GET来检索实例细节。
The larger question here to consider is, precisely what are we trying to encapsulate the code from?
在这里我们需要考虑的一个更大的问题是:我们到底从哪里封装代码?
Substitute the second currency type value in the recording (USD) with custom code from SAMPLE_VAR2.
将记录(usd)中第二个货币类型值替换为来自SAMPLE_VAR2的定制代码。
应用推荐