The code in Listing 1 is fairly straightforward; we've simply chained together multiple exceptions to create a single, nested exception.
清单1中的代码很简单;我们已经简单地将多个异常“串”在一起,以创建单个、嵌套的异常。
While it might be possible to identify the memory leaking data structure by analyzing the heap dumps, identifying the memory leaking code which is in a infinite loop is not straightforward.
虽然通过分析堆转储能够标识内存泄漏数据结构,但是标识无限循环中的内存泄漏代码并不简单。
The self-test code (the command-line usage) provides a straightforward template for any importing module to follow.
自测代码(命令行用法)为任一导入模块提供了一个可遵循的简单模板。
While the code presented here is fairly straightforward, it's a big change from the traditional approach.
虽然这里提供的代码相当简单,但却是对传统方式的巨大修改。
There is no straightforward way to make the code in Listing 1 thread-safe, making this idiom an accident waiting to happen.
没有什么简单的办法可用来把清单1中的代码变成线程安全的,这使得这一惯用技法变成了一个在等待时机发生的事故。
On the other hand, code can't be much more straightforward than passing an argument to a method and examining the result.
另一方面,代码再易懂也不如将参数传给一个方法并检查结果更加直白。
I've demultiplexed these into separate productions in the JJTree script in Listing 4, since this makes the code on the client side more straightforward.
在清单4中,我已经将这些运算符分离到JJTree脚本中的单独结果中,因为这让客户机端的代码更简单。
These are fairly straightforward operations against the IEntry and IRequestContext instances, so the relevant code snippet is not included in this article.
这些都是针对IEntry和IRequestContext实例的非常简单的操作,所以本文不提供相关的代码片段。
Adding this capability to your Web site is very straightforward; keep in mind that the code presented here was created by a 12 year old.
将这项功能添加到Web站点非常简单。请注意,这里给出的代码是由一个12岁的孩子创建的。
The code in Listing 6 is straightforward HTML. The toolbar was created by using a div with the toolbar class applied to it.
清单6中的代码是一个简单的HTML,工具栏是使用一个应用toolbar类的div创建的。
One straightforward way to test your implementation is with some code embedded in an HTML Web page.
对实现进行测试的简单方法之一是在HTMLweb页面中嵌入一些测试代码。
As usual, the Groovy version is much more straightforward, as shown in Listing 6, because flexible types and code blocks are first-class citizens.
Groovy版本通常比较简单,如清单6所示,因为其灵活的类型和代码块都是一等公民。
Writing jQuery code when you know every ID and class on the page can be very straightforward and easy.
知道页面上的所有ID和类时,编写jQuery代码是非常简单的。
Help those who want to modify the Service Factory source code; doing this is not a straightforward process.
为那些希望修改服务工厂源代码的用户提供方便;目前执行此操作并不是一个简单的过程。
In fact, it is also straightforward to generalize the above code so that the code can handle both of these naming conventions as well as other similar conventions.
事实上,可以使用很简单的方法将以上代码变得更通用,这样可以同时处理这两种命名约定以及其他类似的约定。
This is very straightforward code, and, in some ways, simpler than the SAX-based implementations.
这是非常直观的代码,并且,在某些方面比基于SAX的实现更加简单。
As shown in the examples, generation is simple and straightforward, and all of the customized code supports customization.
正像例子中展示的那样,生成的过程既简单又直接,所有的定制代码都支持定制。
There is no straightforward way to make the code in Listing 1 thread-safe, making this idiom an accident waiting to happen.
没有直观的途径来使清单1中的代码是线程安全的,这使这种语言风格成为了一种等待时机发生的事故。
You must make sure that there is a straightforward way to bring your code into a model-driven development environment.
你必须确信把代码转化为模型驱动的开发环境是一种更为直观的方法。
Although the server exposes configurations that affect the behavior, the actual code is not available and so it is sometimes necessary to resort to deduction rather than straightforward inspection.
尽管服务器公开了影响行为的配置,但实际代码不可用,因而有时必须设法进行推论,而不是直观的检查。
The migration will be straightforward, usually a simple re-hosting exercise, with minimal or no impact on application code.
迁移很简单,通常就像一个简单的托管练习,对应用系统的代码影响很小或没有影响。
The latest version of the language contains many new instructions and functions that can greatly simplify many tasks-shorter and straightforward code is always easier to maintain.
这是该语言的最新版本,其中包含有大量新指令和新函数,可以有效地简化众多任务—更加简短更加直观的代码通常更容易维护。
Modifying the template to execute the desired kernel code is relatively straightforward.
修改模板来执行期望的内核代码相对也比较简单。
While this code was very straightforward to write, we ran into a couple of issues when analyzing the thought process behind it.
尽管这个代码非常容易写出来,但此后我们在分析想法的时候陷入了争论。
This structure doesn't take advantage of all of XML's hierarchical capabilities, but it's the most straightforward to set up, code, and debug.
这种结构虽然没有利用所有XML的分层结构功能,但它是最容易设置、编写代码和调试的。
The first is the most straightforward: optimize your code. There are a few things you can do here, like re-factoring and caching, that will help your apps run faster.
最直接的方法是优化你的代码:重构和缓存可以让你的程序运行更快,优化代码是最诚恳也是最最显而易见的减少等待时间的方式。
Outside-in SVG scripting allows for advanced visual effects that are straightforward to code.
由外而内的svg脚本编程允许高级可视效果,容易编写代码。
This method's flow is straightforward; once the data is parsed, the code builds up a string representation that's similar to the approach of the XML parser handler.
该方法的流程简单明了,一旦数据被解析,代码建立一个类似于xml解析器处理程序方法的字符串表示。
Given the previously defined classes, the demo application code is relatively short and straightforward to implement, as shown in Listing 4.
给定先前定义的类,演示应用程序代码相对简短并且易于实现,如清单4所示。
The code to authorize an IP range is straightforward.
授权一个IP范围的代码很直观。
应用推荐