Let's step through this code snippet.
让我们逐步研究这一代码片段。
Let's go element by element through this code.
我们来逐个看看这个代码中的元素。
Listing 19 shows you how this works — it's not as complex as it is a lot of work, so I'll let you walk through this code on your own.
清单19演示了如何做,虽然需要做很多工作,但是并不复杂,所以我把代码留给您自己来看。
To perform a code review on all of these files, you need to iterate through this list.
为了对所有这些文件进行代码复查,您需要通过该列表进行重复。
To run this code through PHP, you need the graphics library.
为了通过PHP运行此代码,需要一个图形库。
This pattern encapsulates code for accessing components through directory services, such as JNDI client code, so that a client can simply pass in the name of a resource and get back that resource.
这个模式通过目录服务封装访问组件的代码,如JNDI客户端代码之类,因此客户端可以简单的以资源名通过验证并返回这个资源。
Typically, developers handle this process through a bunch of assignment code, as shown in Listing 1.
通常,开发人员通过一系列赋值代码来处理此过程,如清单1 所示。
This is accomplished through “activation code” included within the image that reads input parameters, maps these parameters to different pre-configured profiles, and performs reconfiguration.
这是通过映像内包含的 “激活代码”实现的,它可以读取输入参数、将这些参数映射到不同的预配置的配置文件并进行重新配置。
Through a compilation process, this high-level code is compiled into an intermediate representation called object code.
通过一个编译过程,该高级代码被编译成一个名为对象代码 的中间表示。
You have just walked through the sample code, and from this code you have made a very useful translation service.
我们讨论了示例代码,并以此为基础开发了一个非常有用的翻译服务。
In this example, the code block is iterated until the loop is broken through the condition.
在此示例中,代码块迭代,直至循环根据条件而中断。
Before you can run this article's example code, you'll need to go through the initial setup required to run anything associated with the WSDK or the WSTK.
在运行这篇文章的示例代码之前,您将需要进行必须的初始安装才能运行任何与wsdk或wstk相关的代码。
This code iterates through each resource and creates an instance of the CodeReviewResource class (the C++ parser) that you created previously.
该代码通过每个资源进行遍历,并创建了您在前面创建的类CodeReviewResource (C++剖析器)的一个实例。
This is code that traditionally runs on application servers, primarily accessed through Web services.
这些代码通常在应用程序服务器上运行,主要通过Web服务访问。
In addition to that, Google has indirectly funded development the this summer and last summer through its summer of Code program.
除了这些,Google还通过它的夏日代码计划(Summerof Code program)在去年和今年的夏天间接地赞助了开发。
View code interacts with Swing components through this object. To change the content of the flash-card text pane, for example, you could write
视图代码通过这个对象与Swing组件交互。
If the application you are testing ever changes, you have to sort through all this code (and all the code in all the other scripts you use to test it) to find and fix problems.
如果您正在测试的应用程序曾经发生变化,您必须将所有这些代码(以及您用来进行测试的所有其它脚本中的代码)进行排序,以发现和修复问题。
When you read through this section, it will be very helpful if you have the code in front of you, so you can reference it as it gets discussed.
当您阅读本节的时候,如果眼前就有代码,那将是非常有帮助的,在讨论到它的时候就有代码可以参考。
Authorization checking performed in this way will be somewhat slower than inline code, particularly when invoked through a separate process.
以这种方式执行的授权检查将比内联代码慢一点,尤其是在通过单独的进程来调用的时候。
This makes the whole picture comes into focus: Traceability, from requirement through model to code (Figure 31).
这使整个图片集中到一点:跟踪性,从请求到模型,到代码(参见图31)。
And it's through this automation that low-level source code details like coding standards, complexity, and duplication (to name a few) become the responsibility of a machine.
通过使用这种自动化,一些低级的源代码细节(如编码标准、复杂性和重复程度等)的处理成为了机器的职责。
This code helps you avoid an extra pass through the string.
这段代码帮助您避免额外地传递字符串。
Early versions of the binding compiler did not go through this step of constructing a code generation model, instead generating code directly from the binding.
绑定编译器的早期版本不经历构造代码生成模型这一步,而是直接从绑定生成代码。
The EMF lets us generate a code that will use to create model instances, which we carry through to this generation.
EMF让我们生成了一个代码,您可以使用该代码来创建模型实例,我们可以使用它来完成生成操作。
This is important, because the first thing the code does is search through the page for swappable elements.
这一点很重要,因为此代码的第一项功能就是在整个页面内搜索可切换的元素。
We will now take you through all the configuration and code you will need to set this up on your own machine.
现在,我们将演示您需要在自己的计算机上设置的所有配置和代码。
If you have not already done so, you might want to download the sample code so you can view it as you read through this description.
如果您尚未获得示例代码,可以下载示例代码,以便在阅读下面的说明的过程中可以参考它。
This forces the user to ask a neighbor, experiment, or dig through other documentation or source code.
这样用户就不得不寻求别人的帮助、进行试验或者是搜索其他的文档或源代码。
I hope you've understood all the code I've gone through in this article.
我希望您已经理解了我在本文中讲述的所有代码。
I hope you've understood all the code I've gone through in this article.
我希望您已经理解了我在本文中讲述的所有代码。
应用推荐