Note the return check from del_timer, which identifies whether the timer is still in use.
注意来自 del_timer的返回检查,它确定计时器是否还在使用。
You need to return it today if you want to check out any books today.
如果你今天要借出任何书的话,今天之内就得还这本书。
Thus, to check for success, see if the return value is 1.
因此,要检查是否成功,请查看返回值是否为1。
If you return a null array, the clients of the code must write extra code to check whether the return value is null (as shown in Listing 13).
如果您返回零数组,该代码的客户端必须编写额外的代码来检查返回值是否为零(如清单13所示)。
Check return values and handle exceptions.
检查返回值并处理异常。
With static typing, the compiler can check the values of arguments, variables, or return values against values allowed for a given operation.
通过静态类型,编译器可以检查参数和变量的值或针对一个给定操作所允许的返回值。
Every time you call a function that can return an error, you need to be careful to check that your request produced the result you expected (or handle the error if it didn't).
每次您调用一个可以返回错误值的函数时,就必须小心地检查请求所生成的结果正是您所希望的(如果不是,就需要对错误进行处理)。
A common pitfall, similar to not checking for exceptions, is to fail to check the return value and for the code to proceed on the assumption that the call was successful.
与未检测异常相似,这也存在一个缺陷,即代码未检测返回值却假定调用成功而继续运行。
Then you use the conditional if statement to check the return code of the command.
然后,您使用条件型if语句,以检查该命令的返回代码。
If it is easier to check a return value, or call an API to change a setting then go deep... and stop messing around on the surface.
如果检查一个返回值或者调用一个API来改变设置会更简单,那么就深入下去,停止在UI上浪费时间了。
The Replication Center will not do this check before running the SQL, and the SQL script will then run into the conflict and return an error message.
ReplicationCenter在运行SQL之前不进行这项检查,如果有错误,sql脚本将运行到这个冲突,并返回一条错误消息。
With the return value of fork in mind, the code can now check to see if it is the parent or child process and act accordingly.
考虑到fork的返回值,现在该代码可以检查确定它是父进程还是子进程,并进行相应的操作。
Next, check if the request made includes raw HTTP post data; if it does, return a JSON-encoded response.
接下来,检查请求是否包含原始httppost数据;如果有,返回一个JSON编码的响应。
It also means that you can check for the presence of params.iata to decide if you should return a list or an instance.
它还意味着您可以检查params . iata存在与否,以此来决定是应该返回列表还是一个实例。
I decided to return null, because when timeouts are not expected, this check could be skipped.
我决定返回null,因为当预料不会超时的时候,可以跳过该检查。
The custom check function needs to return the type boost: : test_tools: : predicate_result.
定制检查函数需要返回boost: test _ tools: predicate_result类型。
Note that I have to check that the attribute is actually present, since when it's absent the contains test would return true (the empty string is contained in all strings).
我必须检查这个属性实际上是否出现,因为当没有这个属性时,contains测试将返回true(所有字符串都包含空字符串)。
I check the return value of GetInt is greater than zero.
我检查了GetInt的返回值比0大。
The lock function must immediately check and return (non-blocking).
lock函数必须立即进行检查并返回(非阻塞方式)。
Disable namespace aware to ignore the namespace tagging in the XML document, and to check only the simple name of the element and the final return value.
禁用Namespaceaware忽略X ML文档中的名字空间标签,仅检测元素的简单名称和最终的返回值。
Rather than wait for the report to be generated, you could return a "please check the reports page in a few minutes" message, while the report is farmed out to a separate server asynchronously.
不需要让用户一直等待生成报告,而是可以返回“pleasecheckthereportspageinafewminutes”消息,同时在另一台服务器上异步地生成报告。
Mr. Feller instructed Mary Ann Lettieri, 71, to return with cash, not a check, to collect a fur from storage last Saturday.
上周六,Feller告诉71岁的MaryAnnLettieri要带现金而不是支票来取毛皮。
You then check if this field has any value at all or is not numeric, and, if either of these conditions hold true, you return an error.
您要检查这个字段是否没有任何值或者不是数字的,以及如果出现这两种情况中的一种,您应该返回一个错误。
If your queries execute without error but return no data, double-check the path expressions and namespace declarations in your query.
如果查询能够执行,但是没有返回数据,那么请仔细检查查询中的路径表达式和名称空间声明。
By design, a spider will return to a site periodically to check for new pages and changes to existing pages.
通过设计,蜘蛛可以周期性地返回到站点,检查新的页面和修改已有页面。
To his surprise a check for that amount, accompanied by a contract, came by return mail.
出乎他意料之外,寄回了一张五百元的支票和一纸合同。
Buttons are available to compose new mail, to refresh the view to check for new incoming messages, and to return to the previous view, in this case, the home page.
可以使用按钮来编写新邮件、刷新视图以查看新到来的邮件,以及返回前一个视图,在本文中为主页。
Buttons are available to compose new mail, to refresh the view to check for new incoming messages, and to return to the previous view, in this case, the home page.
可以使用按钮来编写新邮件、刷新视图以查看新到来的邮件,以及返回前一个视图,在本文中为主页。
应用推荐