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 key to using react is that formally react can't return so that the implementation inside the react has to re-invoke the block of code containing the react block.
使用react的关键是在形式上react不能返回,所以react中的实现必须重复调用包含react块的代码块。
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。
Perhaps you will say, we can not do anything for them, but we are a member of society, doing their job, a building block for society, is one of the best return on the.
或许你会说,我们无法为他们做些什么,但我们都是社会的一份子,做好自己的工作,为社会添砖加瓦,就是对他们最好的回报了。
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.
各位新同学,请按照本表步骤顺序办理报到手续,并在完成后将此表交回咨询台。
Saglttarius symbols of the arrow and return to the simple form of pictograms, from the myth of Block striker striker can be seen at the wisdom and freedom-loving.
射手座的符号象征射手的箭,回到象形的简单形式;由射手座的神话可以看出射手座的智慧和爱好自由。
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.
在回来的路上,他们会从停靠在长洲港的给当地鱼船供货的冰船那里买上一大块冰带回去。
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.
在回来的路上,他们会从停靠在长洲港的给当地鱼船供货的冰船那里买上一大块冰带回去。
应用推荐