Reuse your favorite code fragments easily!
重用您最喜爱的代码片段很容易!
Code fragments from this sample appear throughout this section.
此处将用整节的篇幅来显示该示例中的各个代码段。
Literal code fragments are stored and output in their original format.
原义代码片段按其原始格式存储和输出。
In many sample code fragments, you will see the query method called as follows.
在许多样例代码片段中,将看到以下query方法。
So now we have this monstrosity, let's rewrite our original code fragments using it.
好现在我们有了这个大怪物,让我们用它重写我们开始的代码片段。
This involves modifying the compiled EXE or DLL to inject the necessary code fragments.
这种方式通过修改已经编译的EXE或DLL注入必要的代码段。
The following code fragments illustrate the subscription syntax used by three different vendors.
以下代码片段举例说明了三个不同供应商所使用的订阅语法。
I then implemented the migration script taking as a basis code fragments defined in (B. Richmond, 2004) (R6).
随后,我执行移植脚本作为(B . Richmond, 2004)中定义的基本代码片段(R6)。
This chapter includes examples in complete form. Some are revised from the code fragments of the previous chapters.
这章将以完整的形式展现示例。一些是改编前面章节的代码片段的。
If you want to build additional Web components, it is a good idea to place the common code fragments into reusable tag files.
如果想要构建额外的Web组件,最好把公共的代码片段放到可重用的标记文件中。
Instead of the data being placed in the XHTML file directly, it is kept elsewhere and brought into the page using code fragments.
数据也不再是直接放入XHTML文件,而是保存在其他地方再利用代码片段带入此页面。
Compound literals and designated initializers are a wonderful code maintainability feature. Compare these two code fragments.
复合文字和指定的初始化程序是非常好的代码可维护性特性。
Its main strength is allowing view-code fragments to be packaged up for re-use, without sacrificing flexibility down the line...
它的主要强项在于可以将代码段打包以期复用,而不需要牺牲灵活性。
Since the entire boldfaced expression in statement (5) appears in many code fragments, I will abbreviate it to TREAT ( … ) from now on.
因为语句(5)中的整个粗体表达式会出现在许多代码片段中,所以从这里往后我将它简写为TREAT ( …
Over time you will start to see patterns and duplication across code fragments and application functionality which will help achieve synergies.
随着时间的推移,你会看到多个代码片段和应用功能中存在的模式和重复的代码,这对起到增效作用很有帮助。
Note: I do not guarantee such a class's performance and am providing these code fragments "as is," without warranty of any kind by me or IBM.
注意:我不保证这种类的性能,而只是提供这段原本就是如此的代码,我或者IBM对此不作任何保证。
Tag libraries allow custom tags (for example, ) to be added to a JSP page, which at runtime are resolved into code fragments in, well, tag libraries.
标记库允许将自定义标记(例如 )添加到JSP页面,然后在运行时在标记库内将其解析为代码片段。
AOP or Aspect Oriented Programming allows developers to "weave" code fragments through their object and methods without explicitly placing the code in the class's source.
AOP或者说面向方面编程支持开发人员将代码段“织入”到对象和方法中,而不需要显式地将代码放入到类的源代码中。
In certain places, fragments of the ESQL given in this article build on the code in preceding sections, so it should be added to a compute node sequentially.
在某些地方,本文中给出的ESQL片段基于前面的部分的代码,所以应该按顺序将其添加到计算机节点中。
While certainly attainable in code, building these fragments within a rule management environment allows better control and management of reuse, particularly where rules are dynamic or complex.
尽管也可以在编码中实现,但是在规则管理环境中构建这些片段,就能够更好地控制和管理重用,对于动态或复杂的规则尤其如此。
I already had fragments of code available — e.g., for managing the requirements documents from Case Study 2 and for scanning the Word document from Case Study 1 (R6).
我已经具备代码片段——例如来自案例研究2中的管理需求文档可以用来扫描来自案例研究1中的Word文档(r 6)。
As you can see from the examples above, you can return straight text or even fragments of HTML — or Extensible HTML (XHTML) — code.
从上面几个例子可以看出,您完全可以返回简单的文本甚至是HTML片段——或者Extensible HTML (XHTML)——代码。
The second application, named Rails Exploration Testing, or Rails XT, contains fragments of code bunched in a repository to demonstrate Rails' capabilities.
第二个应用程序,名为RailsExplorationTesting,或者RailsXT,包含了从存储库中得来的代码片段,用来示范Rails的能力。
Snippets are little fragments of code that perform small tasks, such as running a regular expression on some input, connecting to the database, and querying the database.
片段是完成小任务(比如在一些输入中运行常规表达式、连接到数据库和查询数据库)的小部分代码。
Researchers checked the DNA of the Croatia bones against fragments of genetic code extracted from specimens from three other locations.
研究人员将克罗地亚出土的人骨dna和另外三个地方出土的样本的遗传密码进行了比对。
Some nodes contain fragments of source code, others documentation, others mainly organize further child nodes.
一些节点包含有源代码片段,一些节点包含的是文档,还有一些节点主要是组织深层的子节点。
In image processing, morphological erosion using fragments of code, get rid of some variables can be used.
在影像处理中,使用形态学侵蚀的片段程序码,变数部份改掉即可使用。
In addition, the template contains fragments of program code.
另外,模板包含程序代码片断。
In addition, the template contains fragments of program code.
另外,模板包含程序代码片断。
应用推荐