As you'll recall, there were 3 pieces of code to write: task code, a loader, and an aggregator.
回忆一下,我们编写了3块代码:任务代码、加载器和聚合器。
To do that, you have to specify the points in task code where the thread is allowed to cut over to another task.
这样做,你必须指定点的任务代码中的线程可以切换到另一个任务。
Task tags let you leave notes to yourself or to other developers in code comments.
任务标记允许您在代码注释中给您自己或其他人留下说明。
Task 2: Create a PHP code module to do the necessary business logic and the DB calls.
任务2:创建一个PHP代码模块来执行必需的业务逻辑和数据库调用。
Without that definition, the complex task of effectively assembling the code and changes over time is impossible.
如果没有这个定义的话,有效地装配代码和变更这一复杂的任务将是不可能的。
If you run the above code and use the Task Manager trick again, while navigating between the "leaking" page and a blank page, you won't notice a script leak.
如果我们运行上述代码并用任务管理器加以观察,当从这个页面跳转到一个空白页面的时候,我们并不能发现有内存溢出。
Performing the data type conversion is a common task, so this piece of code can be reused.
因为可以重新使用此段代码,所以执行数据类型转换是一项常见任务。
This simpler approach is usually better when you are aiming at a smaller scope, such as those usually performed by developers before checking in their code for a specific task.
当您的目标是一个较小的范围时,更简单的方法是通常会更好,比如在核查他们的特定任务的代码之前开发人员通常会执行它们。
If a code change is required, a development type of task will be created and assigned to a developer.
如果您需要更改代码时,任务的开发类型将会得到创建,并分配给一个开发员。
One obvious drawback is that the name of the task gets embedded in the application code, thus adding unwanted maintenance complexity.
它的一个显著缺陷就是,任务名称嵌入到应用程序代码中,从而增加了不必要的维护复杂度。
The developer adds the necessary code to implement the task, for example, execute the correct rules.
开发人员添加所需的代码来实现这个任务,例如,执行正确的规则。
It's just a lot of code to perform what is actually a relatively simple task.
只不过是用大量的代码执行一个实际上相当简单的任务。
Increasingly, game art is developed by artist studios rather than by the code developers who performed every task back when I was writing games.
在我以前编写游戏时,代码开发人员执行所有开发任务,而现在,游戏的美术方面越来越多地由美术工作室来承担。
During the coding activities, the developer's primary task is generating bug-free and customer-relevant code.
在编码活动中,开发人员的主要任务是生成没有错误且与客户相关的代码。
Listing 16 shows the code to perform this task.
清单16给出执行此任务的代码。
The developer will add the necessary code to implement the task, in other words, execute the correct rules.
开发人员为实现该任务添加必要的代码,换句话说,就是执行适当的规则。
Their workspace shows only the code related to the story or task they're working on and their outgoing changes are organized automatically.
其工作空间只会显示与故事或是正在从事的任务相关的代码,同时对其所做的任何变更都会被自动组织起来。
Task 6: Create a PHP code module that will act as a REST service to front-end the calls to the business logic in the other two PHP files.
任务6:创建一个PHP代码模块,它将作为REST服务,将调用转发给另外两个PHP文件中的业务逻辑。
Listing 4 shows a snippet of code to perform the task.
清单4显示了执行此任务的代码片段。
I began by replacing the example code in my unit test which instantiates the task library's classes with example code for my unimplemented DSL and revised it several times until I was satisfied.
我开始将我单元测试中初始化任务库各个类的范例代码替换成我尚未实现的DSL的范例代码,并且修改了数次,直到我满意为止。
For this task, you will first generate the deploy code for your application, add it to the server, and then restart the server.
对于该操作,首先要为应用程序生成部署代码,并将其添加到服务器上,然后重新启动服务器。
Task tags allow the team to define specific types of tag-related tasks that they know will be seen by other developers, even if they do not look at the specific code that contains the task.
任务标记允许团队定义与标记相关的特定类型的任务,这些任务会被其他开发人员看到,即使不查看包含任务的具体代码。
But performing a task with interpreted code and performing it with compiled code can take significantly different amounts of time.
但是使用解释后的代码执行任务和使用编译后的代码执行任务在时间上有巨大的差异。
As the code base grows, manual testing becomes an impossible task, and every code change made, big or small, could affect the entire application.
随着代码库的增长,手动测试已经变成不可能完成的任务,无论是大是小,所有代码的变化都会对整个应用程序产生影响。
It's a complex standard, and writing an article that proposes to simplify it is a little like writing an article on simplifying the United States tax code -- not an easy task.
它是一个复杂的标准,要想写一篇使之简化的文章,其难度不亚于撰写一篇简化联邦税务代码的文章,这可不是一件容易的事。
Listing 1 is a code snippet that shows how that task can be accomplished.
清单1的代码片段展示了如何完成这一任务。
Your code does some task, and then formats the data as XML (which may be HTML-compliant, or WML-compliant, for example).
您的代码将完成某些任务,然后将数据格式化为XML(比如可以兼容html或者WML)。
The following code handles the same task for a Cisco wireless access point.
下面的代码处理相同的任务,这一次是对于Cisco无线访问点。
Developers working on Ruby libraries or applications have a new task on their hands: making sure their code works across Ruby versions.
从事Ruby类库或应用工作的开发者现在有了新的任务:确保不同Ruby版本间代码的兼容性。
By using a Gant automated build script to execute the CheckStyle ant task, I can search my code base for classes that rely on too many other classes.
通过使用Gant自动构建脚本执行CheckStyleant任务,我可以搜索代码库,查找过多依赖于其他类的类。
应用推荐