如果函数执行成功,返回值为非零。
返回值为其数字参数的余弦值。
它的返回值为打印的字符数。
返回值为数值参数的正弦。
对于其他所有类型的语句,返回值为- 1。
返回值为大于或等于其数字参数的最小整数值。
The return value is an integer value equal to the smallest integer greater than or equal to its numeric argument.
如果返回值为零,则说明这两个字符串是相等的。
A return value of zero means that the two strings are equivalent.
返回值为0。
返回值为零,说明是一次成功的解析,否则返回的是非零值。
The return value is zero for a successful parse, and non-zero otherwise.
如果返回值为NULL,表明当前没有这个依于这个类的窗口;
如果有错误发生,返回值为- 1,例如没有可生成的语音文件格式。
If an error occurs then the result is -1. This can happen, for example, if you ask for a non-existent format.
如果某个行是分层结构中的叶子节点,则返回的值为1,否则返回值为0 。
The value of 1 is returned if the row is a leaf in the hierarchy, otherwise a value of 0 is returned.
我假定,可以构造一个person,并且“缺省”person会返回值为0的age。
I assumed that I could construct a person and that the "default" person would give me back an age of 0.
测试程序遵循标准的Unix习惯:如果测试通过则返回值为0,如果失败则返回一个非0 值。
Test programs generally use the standard Unix conventions: they return 0 in the event of a successful run and some non-zero value in the event of failure.
尤其要注意,如果返回值为NULL并不一定就是说当前线程没有捕捉到鼠标,完全有可能是另一个线程或进程捕捉到了鼠标。
NULL return value means the current thread has not captured the mouse. However, it is possible that another thread or process has captured the mouse.
最后,考虑这种情况:如果没有定义updatecommand,却提交更改,那么canupdate返回值为假,并引发一个异常。
Finally, consider that if UpdateCommand isn't defined, CanUpdate returns false and an exception is thrown if you try to submit changes.
如果客户住在目标地区,则xmlexists函数的返回值为“true ”,DB 2将返回与那一行相关的客户的姓名。
If so, the XMLExists function evaluates to "true," and DB2 returns the name of the client associated with that row.
先获取配置服务,然后在其返回值为空(null)时再调用createConfigService() 是个不错的主意。
It's a good idea to try to get config service first, then call createConfigService()when its return value is null.
图2显示了选择模拟事件和测试人员为checkPurchaseOrder操作输入的返回值为 true 时集成测试客户端的运行情况。
Figure 2 shows an integration test client run where an emulation event is selected and where the tester entered a return value of true for the checkPurchaseOrder operation.
因此,要检查是否成功,请查看返回值是否为1。
所以在继续执行前,在代码中检查返回值是否为一个空句柄是非常重要的。
It is therefore important that your code checks a return value is not an empty handle before continuing execution.
唯一的主要区别在于,服务将输入和输出定义为XML消息,而不是调用参数和返回值。
The only major difference is that the service defines inputs and outputs as XML messages rather than as call parameters and return values.
很庆幸我们为返回值预留了存储空间。
So, thankfully I know I have storage space for return values.
业务委派组件调用该服务,并将任何返回值打包为模型对象。
The business delegate component invokes the service and wraps any return value as a model object.
服务器也必须为在响应客户机时使用的返回值和参数执行相同操作。
The server must do the same for the return value and the parameters that will be used in the response to the client.
在这种情况下,get返回null,这使得测试get的返回值是否为null变得比平时更重要了。
In that case, get returns null, making it even more important than usual to test the return value of get for null.
为类字段和方法返回值指定约束条件
Specify constraints for class fields and method return values
如果上面消息流的返回值显示为无效消息,那么我们需要调用staff函数来修改这个消息并使其返回至协作。
If the message flow above returns values that indicate an invalid message, then we are required to invoke a staff function to fix the message and then return to the collaboration.
为返回值和参数定义XMLserializable类型。
Define XML serializable types for the return value (and the parameters).
为返回值和参数定义XMLserializable类型。
Define XML serializable types for the return value (and the parameters).
应用推荐