清单8显示了处理调整大小的代码段。
清单7显示了从树中删除节点的代码段。
Listing 7 shows the code snippet that's handling the deletion of a node from the tree.
清单1中的代码段说明了如何生成密钥对。
The code snippet in Listing 1 demonstrates how a key pair is generated.
清单3显示了处理HTTP参数的代码段。
Listing 3 shows the section of the code that processes the HTTP parameters.
当然,不是所有的内核代码段都可以被抢占。
Of course, not all sections of the kernel code can be preempted.
上述代码段的编码版本如清单2所示。
An encoded version of the preceding snippet is shown in Listing 2.
代码段做的事就是增加本地变量的值并返回。
That code block does nothing but increment the value of the local variable and return it.
下面的部分中包含了一些有用的命令的代码段。
The following sections contain code snippets for a few such useful commands.
接下来的代码段提取了请求消息的负载。
The snippet next extracts the payload of the request message.
清单2中的代码段(1)创建了一个端点引用。
Code snippet (1) in Listing 2 creates an endpoint reference.
代码段(1)只是将端点地址设置为所需的值。
Code snippet (1) simply sets the endpoint address to the desired value.
直接选择此错误会将您带到错误发生的代码段。
And selecting the error directly clearly points you to where in the code the error occurred.
然后,代码段使用负载来调用相应的服务。
清单4中的代码段说明了一般的DOM解析过程。
Listing 4 shows a code fragment demonstrating the normal DOM parsing procedure.
清单3中的代码段使用JAXP进行SAX解析。
Listing 3 shows a fragment of code that USES JAXP for some SAX parsing.
如果该代码段包含脚本代码,则脚本也被沙箱化。
If the snippet contains scripting code, the scripts are also sandboxed.
清单1显示了我们的示例中函数选择器的代码段。
Listing 1 shows an extract of the function selector code that comes with our example.
三种括号在语义上等价,如下面的代码段所示。
All three kind of parentheses are semantically equivalent and are shown in the snippet below.
在学习过程中,我在REST客户机中添加了以下代码段。
As part of my learning curve, I added the following code segment to REST client.
下面的代码段展示如何创建ECSEmitter实例
The code snippet below shows how to create an ECSEmitter instance
清单5包含设置rpgio数据结构中的这些值的代码段。
Listing 5 contains a code snippet for setting these values in the rpgIO data structure.
重构只是把这些路径放在更小的代码段中,从而更容易测试。
Refactoring only allows you to push those paths into smaller sections of code, which then become easier to test.
将所有代码段放在一起可产生清单7中的示例程序。
Putting all the pieces together produces the example program in Listing 7.
它是与Web浏览器中显示的内容相关的一个可重用代码段。
It's a reusable piece of code related to what gets displayed in the Web browser.
代码段(1)使用从瞬态上下文中提取的地址创建了端点引用。
Code snippet (1) creates an endpoint reference using the address extracted from the transient context.
使用AspectJ,可以在应用程序的不同地方执行代码段。
With AspectJ, you can execute code snippets at various points in your application.
这个代码段是一个完整但相当简单的示例,它展示了几个细节。
This code fragment, which stands as a complete but rather simple example, shows a number of details.
清单3就是在位置标签行上增加一个标签的代码段,如图7所示。
The code snippet in listing 3 adds another TAB to the place TAB row as shown in figure 7.
有时,这些工具不会以您想要的方式测量某些特定代码段的性能。
Sometimes these tools will not measure the performance of some particular piece of code in the way you want.
有时,这些工具不会以您想要的方式测量某些特定代码段的性能。
Sometimes these tools will not measure the performance of some particular piece of code in the way you want.
应用推荐