Methods that do not block but that still may take a long time to execute can respect requests for interruption by polling the interrupted status and return early if interrupted.
对于中断请求,不阻塞但是仍然要花较长时间执行的方法可以轮询中断状态,并在被中断的时候提前返回。
The SYSLOG_ACTION_READ command is used to block until log messages are available, and then return them in the provided buffer.
SYSLOG_ACTION _ READ用于阻塞操作,直至日志消息到达后才释放该操作,然后将它们返回到所提供的缓冲区。
Using the key you can drop the membership, block and unblock datagrams from certain addresses, and return information about the group and channel.
利用该键,您可丢弃组成员、阻塞或者取消阻塞来自特定地址的数据报、以及返回有关组和通道的消息。
When the loop exits, I simply return the encryption result of the last data block, which is the result of Step 9 of the secret key generation process.
循环退出时,我只是返回最后一个数据块的加密结果,这就是密钥生成过程第9步的结果。
If an interrupt keeps coming in and there is no registered handler for that device (for instance, all drivers return IRQ_NONE), then the kernel can block interrupts from that device.
如果一个中断请求不断到来而且没有注册那个设备的处理程序(例如,所有的驱动程序都返回IRQ_NONE),内核就会忽略来自那个设备的中断。
I emit an error message and replace the return value with 0, instead (remember: every inline code block returns an object).
我发出错误信息,将返回值替换为0(请记住:每个内联代码块都返回一个对象)。
The method should not block and should return in a timely fashion.
这个方法将不会堵塞并会及时返回。
That code block does nothing but increment the value of the local variable and return it.
代码段做的事就是增加本地变量的值并返回。
And unlike most unit testing frameworks, the one used for Silverlight runs on the same said thread so you cannot block it while waiting for the service call to return.
和大多数单元测试框架不同,Silverlight使用的那个单元测试框架运行在相同线程上,因此你不能阻止它等待服务调用的返回。
The IEnumerable function will generally begin with a "Return Iterator" block, which is a special case of VB's new anonymous, multi-line function syntax.
IEnumerabl的函数将通常以一个“ReturnIterator”代码块开始,它是VB新匿名函数、多行函数语法的一种特例。
The changes begin in the third code block, which USES the two-argument form of the built-in getline function to return a list of all the lines in the range to be realigned.
从第三个代码块开始发生变化,它使用内置的getline函数的双参数形式来返回需要重新对齐的行的列表。
The last line of each format block must be a render, return, or redirect — no different from a normal action.
每一个块的最后一行一定会是一个render、return或者redirect —与普通操作没什么不同。
For example, the semantics of return, break, and this are different in a block of code than they are in a Runnable (or other inner class instance) that represents the same block of code.
比如,return、break和this在某一代码块中的语义与其在Runnable(或其他内部类实例)中同一代码块中的语义是不同的。
An example of this is finding return statements within a finally block.
其中的一个范例是找到finally块内的return声明。
The new method is created with the selected block of code in it refactored to properly use the argument and return values of the new method.
当重构了新方法内的所选代码块以便恰当使用新方法的参数和返回类型后,新方法就创建完成了。
After you close off the CDATA block and script, you return to SVG.
关闭cdata块和脚本后,返回svg。
The return keyword is optional here and it is rarely used, except when returning out of the middle of a block (e.g., in an if statement).
return关键字在这里是可选的,而且很少被用到,除非在一段代码中间返回(比如在一个if语句块中)。
Van Nistelrooy's wages may prove to be a stumbling block, however, with Liverpool not wanting to pay them if he was to return to England.
范尼的工资也许会成为绊脚石,如果他能够返回英格兰,利物浦不想为其支付工资。
Please complete in BLOCK LETTERS and return the completed form to any of our branches.
请用正楷填写,填妥表格后交回本银行任何一间分行。
Take periods of time to check and return all your messages. Perhaps you have a block of time you take every morning, afternoon, and evening.
拿出一段时间专门来查看和回复你的信息,也许每天早中晚你都有这样一段时间。
New students, please finish your registration following steps shown in this paper, and return it to information desk when every block below is signed.
各位新同学,请按照本表步骤顺序办理报到手续,并在完成后将此表交回咨询台。
On the return journey, they would bring back a big block of ice bought from one of the ice boats moored in Cheung Chau harbor, which supplied the local fishing junks.
在回来的路上,他们会从停靠在长洲港的给当地鱼船供货的冰船那里买上一大块冰带回去。
The Samurai is able to return damage used against them with the next successful block.
武士可以通过成功的格挡将伤害回赠对方。
You should use BLOCK LETTERS in completing this form and read carefully the attached "Explanatory Notes on Completion of Return and Declaration".
请用正楷填写此表格及小心阅夹附的《填写申报书及声明书明》。
The good, professional stainless steel chemical-specific pumps, automatic return systems, the pump-block protection function, flow stability, durability, spraying the amount of precision.
配置优良、专业的不锈钢化工专用泵,自动回流系统、卡泵保护功能、流量稳定、耐用、喷涂量精确。
They could serve and hit the ball, block it at the net or return it with equal facility.
他们可以发球、扣球、拦网、反扣,都同样熟练。
They could serve and hit the ball, block it at the net or return it with equal facility.
他们可以发球、扣球、拦网、反扣,都同样熟练。
应用推荐