我们的测试代码,特别是模拟对象,使我们能完全控制数据库结果。
Our test code, specifically the mock objects, give us total control over the database results.
他们的运算结果是相同的,但是第一个代码片断要比其他片断运行的要快。
The results will be identical, but the first code segment will run faster than others.
隐藏活动的对象并不一定是恶意应用程序代码的结果。
This hiding of live objects is not necessarily the result of malicious application code.
结果,由于需要维护的代码量减少了,他们的应用变得更为简单。
As a result, their application became simpler because there was less code to maintain.
他们喜欢写代码、运行代码然后看结果。
结果:可以更改应用程序或者遗留代码,以提供清晰的接口。
Consequences: Application or legacy code can be changed to provide a clean interface.
表4显示了以上代码的结果。
结果就是代码覆盖率降低了产品的生命。
The result is that code coverage declines over the life of the product.
尝试代码归档中的完整脚本以查看结果。
Try out the full script from the code archive to see the results.
你可以在控制窗口中查看代码的输出结果。
这两组结果都是由完全一样的代码生成。
These two sets of results were generated by the exact same line of code.
代码返回图5所示的结果。
此页面上的代码的结果如 图2 所示。
调试的代码中去,然后运行看看结果。
图3展示了通过命令行运行API代码的输出结果。
Figure 3 shows the output from running the API code from the command line.
结果更为简洁,如清单2中的代码所示。
This results in the code shown in Listing 2, which is much neater.
图4显示了清单 4 内代码的结果。
清单7所示代码的结果如图2所示。
在前一篇文章中,谈到了会导致异常结果的线程代码。
In my previous article, I talked about threaded code that did unusual and unexpected things.
这一段令人兴奋的代码生成的结果如下所示。
The result generated by this exciting piece of code looks like this.
结果就是所谓的“代码纠缠”,或者更简单点儿说“一团糟”。
The result is sometimes known as code tangling, or more simply, "a mess."
上面的代码会产生如下结果。
其结果是使用最少的代码创建非常先进的web应用程序。
The result is a very modern web application created with minimal code.
当在命令行中运行这段代码时,得到如下结果。
最后,测试代码输出get _ name调用的结果。
Finally, the test code printed the result of the get_name call.
结果是.NET中最优化的代码来自Visual C++编译器。
The result is that the best optimized code in .NET comes from the Visual C++ compiler.
下面是在命令行中运行此代码时出现的结果。
Here's what happens when I run this code on the command line.
这里提供了精确的代码运行结果,包括makefile。
这里提供了精确的代码运行结果,包括makefile。
应用推荐