这些小的代码段也更容易维护。
Those small sections of code also become easier to maintain.
清单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.
代码段(2)到(4)与清单2中的相同。
Code snippets (2) through (4) are identical to those in Listing 2.
当然,不是所有的内核代码段都可以被抢占。
Of course, not all sections of the kernel code can be preempted.
代码段做的事就是增加本地变量的值并返回。
That code block does nothing but increment the value of the local variable and return it.
比如,看看清单4中的代码段。
下面的部分中包含了一些有用的命令的代码段。
The following sections contain code snippets for a few such useful commands.
清单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.
上述代码段的编码版本如清单2所示。
An encoded version of the preceding snippet is shown in Listing 2.
开始配置homes代码段。
清单4中的代码段说明了一般的DOM解析过程。
Listing 4 shows a code fragment demonstrating the normal DOM parsing procedure.
接下来的代码段提取了请求消息的负载。
The snippet next extracts the payload of the request message.
清单3中的代码段使用JAXP进行SAX解析。
Listing 3 shows a fragment of code that USES JAXP for some SAX parsing.
对于本示例,以下是映射文件的代码段。
对于本示例,以下是映射文件的代码段。
然后,代码段使用负载来调用相应的服务。
三种括号在语义上等价,如下面的代码段所示。
All three kind of parentheses are semantically equivalent and are shown in the snippet below.
如果该代码段包含脚本代码,则脚本也被沙箱化。
If the snippet contains scripting code, the scripts are also sandboxed.
下面的代码段展示如何创建ECSEmitter实例
The code snippet below shows how to create an ECSEmitter instance
重构只是把这些路径放在更小的代码段中,从而更容易测试。
Refactoring only allows you to push those paths into smaller sections of code, which then become easier to test.
代码段(1)使用从瞬态上下文中提取的地址创建了端点引用。
Code snippet (1) creates an endpoint reference using the address extracted from the transient context.
有时,这些工具不会以您想要的方式测量某些特定代码段的性能。
Sometimes these tools will not measure the performance of some particular piece of code in the way you want.
这种方式通过修改已经编译的EXE或DLL注入必要的代码段。
This involves modifying the compiled EXE or DLL to inject the necessary code fragments.
这种方式通过修改已经编译的EXE或DLL注入必要的代码段。
This involves modifying the compiled EXE or DLL to inject the necessary code fragments.
应用推荐