As the example code demonstrates, the file contents are now the result of two write operations (the text is repeated).
正如示例代码所示,文件内容现在是两个写入操作的结果(文本是重复的)。
Going back to your client code, you see that result of all of this is passed back to the client and used to update the DOM there.
如果回到客户机代码,就能看到所有这些结果均被传递回至客户机,并被用来在那里更新dom。
This code computes the same result as the example in Listing 1, except in a parallel-friendly way.
此代码计算的结果与清单1中的示例相同,但采用并行友好的方式。
Repeated use of the reflection classes in timing-sensitive code can result in ongoing class-loading activity that introduces delays.
在时间敏感型代码中反复使用反射类可能导致持续不断的类加载活动,这会引起延迟。
They're a result of bad code, and in most cases, code without the problem would have been easy to write.
这些问题是错误编码的结果,在大部分情况中,很容易写出没有问题的代码。
Working through the entire record store, the enumeration and our search code build a result set that is sorted based on the specified search criteria.
枚举和我们的搜索代码将遍历整个记录存储,根据指定的搜索条件构建一个排序过的结果集。
The result code is extracted and compared to the expected value thanks to a tiny script.
通过一小段脚本将结果代码抽取出来并与期望值进行比对。
Pretty cool, considering how much better your code gets as a result of this small change.
相当酷,考虑一下您的代码因为这个小小的更改变得有多好。
This code computes the same result as the example in Listing 1, except in a parallel-friendly way.
这一代码计算出与清单1中的例子一样的结果,除了是以一种并行友好的方式来进行的这点不同之外。
They don't have any passion for this, they are not really interested in doing it right and they mostly produce low quality code. As a result, the present economy will force them to do something else.
有很多人其实并不适合程序员这个职业,他们缺乏对编程的热情,对编程提不起兴趣,所编代码的质量也很差,而当前的经济形势会促使这一部分人转向其他行业。
Sure, the customer may not care if your employees are working long hours every day but have you talked to them about the quality of the code as a result?
当然,客户不关心你的雇员是否每天长时间工作,可你是否跟他们讨论过产出代码的质量?
If the page no longer exists and the server is returning a proper 404 or 410 HTTP result code, making us unable to view the page, you may be better off requesting removal of the page altogether.
如果该页不再存在或者服务器返回404或者410状态代码,使我们无法访问该页,你最好同时请求删除该页面。
Conflicting operations result in the defragmenter returning an error code.
如果存在与碎片整理程序冲突的操作,将返回错误代码。
Listing 16 shows the code for this processing result section, in which we simply get the output parameter from the CallableStatement.
清单16显示了处理结果部分的代码,在这里我们只需要从CallableStatement中获得输出参数。
Lack of code ownership, inexperience, and our (correct) reliance on the unit tests, did sometimes result in inelegant code, but refactoring later in the project cycle rectified this.
缺乏代码所有权,缺乏经验以及我们对单元测试的依赖,有时会产生不当的代码,但是随后的项目重审时会用refactoring对此调整。
Get_operation_result Returns an operation result code and message for the bind, search, add, modify, rename, and delete operations.
get _ operation_result返回绑定、搜索、添加、修改、重命名和删除操作的操作结果代码和消息。
All my modifications and fixes to the Stack class result in the code you see in Listing 28.
把我对stack类作出的所有修改和修复综合起来,可以得到清单28中的代码。
Smart with architecture - just enough architecture to build the skinny system, architecture must result in executable code.
架构(明智)——架构够用就好,架构必须来自于可以执行的代码。
Next, we check the result code to see if this event relates to a successful query.
接下来,检查结果代码,看看这个事件是否与成功的查询有关。
Once again, the tradeoff is that batch database operations do not necessarily process updates in the same order as the code, but they do generally result in better performance.
再次说明,批处理数据库操作的折衷在于,这种操作不会按与代码中相同的顺序来处理更新,但通常会带来更好的性能。
Applications with direct JDBC access use SQL to define the queries and rely on custom code to map the result set data back to the actual business objects.
具有直接JDBC访问功能的应用程序使用SQL定义查询,并且依靠自定义代码将结果集数据映射回到实际业务对象。
On the other hand, a nonstandard, AD hoc, or incoherent set of annotations could result in incomprehensible code.
另一方面,非标准的注释、特殊注释或者不一致的注释会带来难以理解的代码。
According to MDA principles, this modeling activity should result in automatic code generation.
根据MDA原则,该建模活动应该导致自动的代码生成。
Listing 2 shows the kind of cluttered code that would result from using Boolean return values.
清单2显示了一种有点杂乱的代码,这是使用布尔返回值产生的结果。
As a result, less code is downloaded, and as illustrated in the preceding architecture contrast, this approach results in a reduced number of transactions.
因此,只需加载更少的代码。在与前面的架构的对比中,我们看到这个方法减少了事务的数量。
The result of code generation is a DAO implementation class which is compiled and used to execute the SQL statements declared in the original interface.
代码生成的结果就是第二个实现类,该实现类被编译并用于执行初始接口中声明的sql语句。
As a result, developers often find their code departing from the object-oriented model and diving instead into a procedural programming style.
因此,开发人员常常发现他们的代码偏离了面向对象模型的轨道,反而陷入了过程编程模型的泥潭。
Figure 3 shows the result of compiling the code in Listing 5.
图3显示了清单5中代码的编译结果。
Because PHP manages memory for you, there's no PHP code that can result in stack and buffer overflow exploits.
因为PHP可以为您管理记忆,所以PHP代码不会导致堆栈和缓冲溢出。
When I load this code in my browser, I see the result shown in Figure 7.
在浏览器中加载这段代码时,将看到图7所示的结果。
应用推荐