此功能本身就是取消代码与外部关联的耦合。
This ability in itself essentially decouples code from external associations.
实现了以下功能的代码:针对所有三种浏览器事件模型连接鼠标事件,启动和取消两种类型的计时器,并连接它们的计时器事件。
You implemented code to: hook cursor events for all three browser event models, start and cancel both types of timers, and hook their timer events.
例如,刚才的代码片段在当前用户未被授权查看索引大于4的页面时,取消了转换到新页面的操作。
For example, the code snippet just shown cancels the transition to the new page if the current user is not authorized to view pages with an index greater than 4.
要减少一个方法的调用次数,方法是找出哪些代码正在调用该方法,然后取消这些调用。
The way to call a method less often is to find out what code is calling that method, and then not make those calls.
但是,即使是不可取消的任务也应该尝试保留中断状态,以防在不可取消的任务结束之后,调用栈上更高层的代码需要对中断进行处理。
However, even noncancelable tasks should attempt to preserve the interrupted status in case code higher up on the call stack wants to act on the interruption after the noncancelable task completes.
它有很好的语法高亮(支持多种语言)、好几种代码折叠的风格、支持块缩进/取消缩进。
It has good syntax highlighting (in lots of languages), several styles of code folding, and block indent/dedent.
新的方法将取消编写用来调用String方法的多行代码,它意味着将解析器逻辑的核心委托出去,并替换为regexp库。
Instead of lines of code with calls to String methods, the new approach implies delegating the core of the parser logic and replacing it with a regexp library.
取消此复选框,从而仅添加封装 Tree代码。
Clear this checkbox so that just the enclosing Tree code will be added.
要从队列中读取消息(在本例中最终涉及到从文件系统中读取数据,因为我们使用文件系统的JNDI标识符),使用清单11中的代码。
To read the message from the queue (which in this case ultimately involves reading from the file system since we use the JNDI identifier for the file system), use the code in Listing 11.
如果代码执行的操作决定不进行提交或者不能成功提交,那么它必须回滚该事务以取消这些操作。
If the code performing the actions decides not to commit or cannot commit successfully, then it must roll back the transaction to undo the actions.
取消以下粗体代码的注释。
清单1中的处理程序代码将读取消息主体,并将其赋值给静态变量。
The handler code in Listing 1 reads the message body and assigns it to a static variable.
即使之后可以取消(称为还原),但这些更改和取消这些更改的替换代码也都成为项目历史不变的一部分。
Even though they can subsequently be un-done (known as reverting), both the changes and the replacement code that undoes those changes are a permanent part of project history.
和ADB取消包装代码类似,理解和使用服务调用的取消包装形式比使用直接代码简单得多。
As with the ADB unwrapped code, it's much easier to understand and work with the unwrapped form of the service calls than with the direct code.
如果该代码的返回值错误,就会取消提交。
If the return value from the code is false, the submittion is cancelled.
如果信息有效,那么我们将更新XML日程文件并取消将用户重定向到主菜单的VXML代码段。
If the information is valid, you update the XML diary file and write out a VXML fragment that redirects the user to the main menu.
当对合适的WSDL服务定义使用取消包装操作时,生成的客户机存根(以及服务器代码框架)将更为简单和直接。
When unwrapping is used with a suitable WSDL service definition, the generated client stub (and also the server skeleton) is simpler and more direct.
那么我会把这些注释上,让我们看看这段代码,取消注释。
So I'm going to comment those out, and let's go down to this piece of code, and uncomment it.
当发生mouseout事件时,代码调用一个函数,它会取消本节前面启动的计时器,然后转换回Inactive状态。
When a mouseout event occurs, your code will call a function that cancels the timer started earlier in this section, and then transitions back to Inactive state.
要了解如何在这种情况下维持任务执行、以及如何在activity被销毁时正确地取消任务,请参见Shelves例程的源代码。
To see how you can persist your task during one of these restarts and how to properly cancel the task when the activity is destroyed, see the source code for the Shelves sample application.
此外,还需要取消注释这个data.xq代码,正如README安装指导文件内解释的那样。
You will also need to uncomment the data.xq code, as explained within the README installation instruction file.
清单10显示了对等的JiBX取消包装代码。
可以通过调用 PostEvent参数对象的getPost函数获取消息(Post 对象)(参见下面的示例代码)。
The message (Post object) can be obtained by calling the getPost function of PostEvent parameter object (see the following code sample).
为简单起见,建议您不取消注释标准计算节点模板中的代码行CALL CopyMessageHeaders,并且在其后加上本文所提供的ESQL代码。
For simplicity, it is recommended that you uncomment the line CALL CopyMessageHeaders ; from the standard compute node template, and follow it with the ESQL code provided in this article.
很多时候,它只是需取消 php.ini文件中的一行代码注释即可启用已编译的模块。
Many times it is just a case of uncommenting a single line in your php.ini file to enable the already compiled module.
清单6中的代码适合与Axis2 1.2一起使用,其中包含了相对于Axis2 1.1.1中使用的ADB取消包装进行的几项大改进。
Listing 6 code is appropriate for use with Axis2 1.2 and includes some major improvements from the code that would have been used for ADB unwrapped in Axis2 1.1.1.
尝试此操作前,请从源代码管理取消绑定此解决方案文件。
Please unbind the solution file from source control before attempting this operation.
如果一个会话被选中为牺牲品,那么它会被取消同时抛出的错误代码为1205。
If session is chosen as the victim, it would be aborted with error code 1205.
表示在代码执行过程中由调试器执行的一个步骤。此步骤作为命令颁发和完成之间的标识符使用,可以实现取消对某个步骤的执行。
Represents a step in code execution that is performed by a debugger, serves as an identifier between the issuance and completion of a command, and provides a way to cancel a step.
表示在代码执行过程中由调试器执行的一个步骤。此步骤作为命令颁发和完成之间的标识符使用,可以实现取消对某个步骤的执行。
Represents a step in code execution that is performed by a debugger, serves as an identifier between the issuance and completion of a command, and provides a way to cancel a step.
应用推荐