An urgency to finish the project or fixes to the application in a hurry can cause developers to "cut corners" to complete the code quickly.
急于完成项目或快速修复应用程序都可能促使开发人员“走捷径”,以便快速完成编码。
We can then complete the creation of a functioning mock object by adding code to construct, populate, and return a suitable data object.
然后我们可以通过向结构添加代码、进行填充并返回一个适当的数据对象来完成功能性模拟对象的创建。
That means that anyone can download, build, and run the code needed to create a complete mobile device.
这意味着每个需要去创建一个完整的移动设备的人都可以下载、编译、运行这些代码。
Fine. But if you interpret "complete" to mean simply "code the component and submit," you have a problem.
好,但如果你认为完成只是简单地意味着编码组件并提交,问题就产生了。
Such restrictions are typically placed on sections of the application such as an interrupt handler, where the code responding to the interrupt must complete its work in a given time period.
此类限制通常是对应用程序的某些部分实施的,比如中断处理程序,其响应中断的代码必须在给定的时间范围内完成工作。
The Resources section contains a link to the complete code, or follow the modification instructions below as we transmogrify Part 1 into the completed Part 2 program.
“参考资料”部分包含完整代码的链接,或者遵循下面的修改说明将第 1部分变为第 2 部分中完成的程序。
Larger projects that have multiple locations and multiple code repositories may not be able to build the complete project continuously.
拥有多个位置和多个代码库的大型项目,可能并不能构建完整的项目。
The purpose of this feature is to assist the developer in running a complete set of tests which would show if the code change is safe to be checked-in.
此功能的目的是帮助开发人员,通过运行一个完整的测试集来检查在签入代码的时候所更改的代码是否安全。
Very often adding tracking or logging requires additional code to be written after the main software is complete.
通常情况下,在主体软件完成之后,跟踪和日志都需要额外添加代码。
All that remains to complete the scoring code upgrade is to modify the main program logic flow from Listing 7 to Listing 8.
完成评分代码升级剩下的全部操作就是将主程序逻辑流程从清单7修改为清单8。
For the complete set of CreateAction validators, refer to the code archive that accompanies this article (see Download).
要查看完整的CreateAction验证器,请参阅本文附带的代码归档文件(参见下载)。
Deep requests are requests originating from the Web page that execute server-side code but do access a persistence store to complete the request.
深请求是执行服务器端代码并访问持久性存储才能完成请求的Web页面发出的请求。
It supports both put and get, and gives your code complete access to the HTTP request header, including the UserAgent field.
它支持put和get,并且使您的代码具有对HTTP请求标头的完全访问权,包括useragent域。
On my desktop machine, one million iterations takes about 12 seconds to complete. The pooling code avoids the allocation of the MyClass object within the loop
在我的桌面计算机上,一百万次迭代需要大约12秒钟才能完成。
Listing 2 shows the Listing 1 code modified to use a trivial asynchronous call (trivial in that the application code just waits for the operation to complete rather than doing anything useful).
清单2显示了经过修改的清单1代码,其中使用了一个小小的异步调用(应用程序代码仅仅等待操作完成,而不进行任何有用的工作)。
When an object has to manipulate a collection of objects, it effectively USES procedural code to complete the operation.
当一个对象必须操作一个对象集合时,它有效地使用过程化代码来完成该操作。
While some browsers will call the function only when the request is complete, other browsers will call back continuously to tell the code that the request is still running.
有些浏览器可能只在请求完成时才调用这个函数,而也有些浏览器会不断回调该函数从而告诉代码请求依然在运行。
Another case is where the client code could be doing other things while it waits for the called service to complete.
另一个情况是客户端代码能在等待被调用服务完成的同时能干些别的事情。
For a complete introduction to the data architecture strategies and search code referenced here, be sure to read Part 1 of this series.
要获得数据架构策略和此处引用的搜索代码的完整说明,请一定要阅读本系列的第1部分。
The user of your script will never know the difference, except that the first invocation of Inline-enabled code takes a little time to complete the compilation of the embedded code.
使用您脚本的用户不会看出其中的不同,只不过第一次调用使用内联的代码时,程序将多花一点时间来完成对嵌入代码的编译。
But how to complete this task if you were given access to the source code and resources of an existing application, but not allowed to introduce any functional changes to the application?
但要是不允许你引入任何功能变化,只能访问现有应用的源代码和资源,那你该如何完成这一任务呢?
The complete code for this application can be obtained from the source download, so I'm just going to highlight changes from the original version of the form.
这个应用程序的完整代码可以从源代码下载部分获取,因此我只强调相对表单的最初版本的一些变化。
As you can see, the above code combines three tokens to generate a complete SQL query.
就像你看到的,上面的代码用三段字串组成了一个完整的SQL查询语句。
The trend to providing canonical reference implementations with complete source code and permissive licensing has made life a lot easier.
提供具有完整源代码和宽松授权方式的规范参考实现的趋势使事情变得更简单。
Now that the code is complete, you need to create a JAR file and associated JAD file for deploying to the J2ME device.
现在已经完成了代码,接下来需要创建JAR文件及关联的JAD文件,以便部署到J2ME设备。
See Download to get the complete source code for the article's examples, which implement the simple library-management service used previously in this series.
参见下载部分获取本文中的全部示例的完整源代码,该代码实现了此前在本系列中使用的简单图书馆管理服务。
They can place markers in the code and check the elapsed time it takes to complete certain operations.
可以在代码中放上标志,检查完成特定操作所需要的时间间隔。
Inability to understand the complex interactions of disparate design elements in code leads to enormous difficulties in estimating the effort required to complete a solution.
由于不能理解代码中不同设计元素之间复杂的相互作用,导致在估算完成解决方案所需的努力时困难重重。
This gave Microsoft the chance to complete small bits of ancillary code to make it run smoothly.
这就给了微软有机会写出辅助程序以使系统运行更加稳定。
To get the complete XSL, you can download the source code related to Technique 3 at the bottom of the article.
要获取完整的XSL,可以从本文的结尾处下载与技巧3相关的源代码。
应用推荐