下面是进行移动的实际代码。
实际代码更复杂一些,如清单2 所示。
The actual code is somewhat more complex, as shown in Listing 2.
您有了一个不错的项目框架,但是没有实际代码。
下面是这个函数的伪代码和实际代码。
完成这个任务的实际代码非常简单,如清单5所示。
The actual code for this turned out to be embarrassingly simple. See for yourself in Listing 5.
我将在这快速的重新演示,但请你以实际代码为准。
I'll go over each real quick here, but will refer you to the source code for the actual code.
如果所有单元测试都失败,我就可以开始编写实际代码了。
Provided that all the unit tests fail, I know that I am ready to begin writing the actual code.
与实例形态相比,常规形态更接近于在最终产品中出现的实际代码。
The generic form is closer to the actual code that will be produced in the end product than the instance form is.
最后当你拿到他干的活儿时,里面可能就20行实际代码,简单易读。
But when you get the project it will only be 20 lines of actual code and will be very easy to read.
至于你的实际代码的问题,我以为你想要一些简单的方法来测量次数?
As for your actual code problem, I assume you want some easy way to measure times?
每当实际代码碰到任何类型的错误,它就抛出一个异常,然后该异常就进入调用栈。
Whenever the actual code encounters any type of error, it throws an exception, which then goes to the call stack.
如果打开代码归档中的Posts . php文件,您将看到实际代码非常少。
If you open up the Posts.php file in the code archive, you will see very little actual code.
完整的代码包含 117行,但只有43 行是实际代码,其余内容都是注释。
The entire listing contains 117 lines, however only 43 of these are actual code, the rest is documentation.
我们将开发实际代码,你可以分发和扩展它们,而不仅仅是抽象的理论。
We'll develop living code, not just abstract theory, code which you can explore and extend.
在下节(节选自本书第二章),我们将给您展示一些实际代码例子来阐述Seam如何工作的。
In this next section (excerpted from chapter 2 in the book), we will show you some real code examples to illustrate how Seam works.
使元数据与它引用的实际代码实现内联,从而提供引用的本地性,使所有事物都汇集在一个地方。
Having the metadata inlined with the actual code it references provides locality of reference, so that everything is in one place.
然后,还将查看实际代码,这些代码展示了用来解决基本问题的、广泛采用的两个解决方案。
Then, you'll examine working code that illustrates two widely used solutions to the basic problem.
因为运行时编译使用概要数据来指导优化,所以JIT对测试代码的优化可能不同于对实际代码的优化。
Because runtime compilation USES profiling data to guide its optimization, the JIT may well optimize the test code differently than it would real code.
我也许会后悔那种选择,但我喜欢将测试程序与实际代码分开,因为这很容易从分发版中除去该测试程序。
I might live to regret that choice, but I prefer to separate tests from the actual code as it's easier to remove the tests from the distribution.
尽管服务器公开了影响行为的配置,但实际代码不可用,因而有时必须设法进行推论,而不是直观的检查。
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 dispatcher can either contain the actual code used to deal with a particular element as an anonymous subroutine or it can contain a reference to a named subroutine defined elsewhere.
从设计应用程序到编写实际代码,一直以来最困难的问题之一就是错误无法被重现——“无法再现”的错误。
From the design of the application through to the actual writing of the code, one of the most difficult problems has always been that of the bug that can't be reproduced - the "no repro" bug.
在研究Webzine的实际代码之前,让我们首先考虑一个简单的示例,这个示例很好地说明了PHP的特征。
Before I get into the actual Webzine code, let's start with a simple example that nicely illustrates the character of PHP.
因为注释需要时间去研读,而且它们分布于屏幕上的实际代码中的不同位置,所以在显示器上一次只能看少许的注释。
They take time to read, and they spread out the actual code on the screen, so you can have less of it on your monitor to inspect at one time.
这是do.it 的逻辑和实际代码(org.eclipse.ui.handlers/handler)。
This is the logic for do.it and the real code (org.eclipse.ui.handlers/handler).
不可构建格式是指来自源主机的实际代码并不存在于包中。这种情况只可能发生在包是在软件包编辑器中构建的情况下。
Not-built format states that the actual code from the source host does not reside in the package this will only happen if the package is built inside the software package editor.
既然已经学习了如何使用readdir和stat来查找目录中的条目,那么让我们来看看演示这些函数的一些实际代码。
Now that you've read about using readdir and stat to find out about the entries of the directory, let's look at some code that demonstrates these functions in action.
它携带一个int数,当你获得了它就处理它,然后一旦你查看整个文件,最终你将发现实际代码中,定义或执行了这个东西。
It takes an int; deal with it when you get to it and then once you look through the whole file, should you find -- ultimately find the actual code that defines or impliments this thing.
与之相反,清单1中的代码马上开始度量执行时间,这意味着它的结果与实际代码的执行时间关系不大,但与JVM行为密切相关。
In contrast, the code in Listing 1 immediately starts measuring execution, which means that its results might have little to do with the actual code and more to do with JVM behavior.
在Python语言中,所有事物都是程序可以访问的对象,其中包括保存整数的简单类型,以及您编写的实际代码和这些代码在Python解释器中的表示。
In the Python language, everything is an object a program can access, including simple types that hold integers, as well as the actual code you write and its representation in the Python interpreter.
应用推荐