英语人>网络例句>函数返回值 相关的搜索结果
网络例句

函数返回值

与 函数返回值 相关的网络例句 [注:此内容来源于网络,仅供参考]

If the function succeeds, the return value is a pointer to the first byte of the memory block.If the function fails, the return value is NULL. To get extended error information, call GetLastError .

如果函数调用成功了,则返回值是内存块的首字节的指针,如果失败了,则就返回 NULL ,可以利用函数 GetLastError 获得更多的失败信息。

However, these methods can return any value, so if the comparison operator is used in a Boolean context (e.g., in the condition of an if statement), Python will call bool on the value to determine if the result is true or false.

但是这些方法也可以返回任何值,所以如果比较运算发生在布尔上下文中(例如 if 语句中的条件测试),Python会在返回值上调用函数 bool 确定返回值的真值。

Cos public static double cos Returns the trigonometric cosine of an angle. Parameters: a - an angle, in radians. Returns: the cosine of the argument

Cos函数返回三角的余弦函数,参数a是一个以double类型的弧度表示的角值,返回类型为double。

If the function succeeds, the return value is the low-order doubleword of the file size, and, if lpFileSizeHigh is non-NULL, the function puts the high-order doubleword of the file size into the variable pointed to by that parameter

说的很清楚阿。返回值是文件长度的低32位值,而lpFileSizeHigh 是文件长度的高32位值。也就是说,这个函数可以支持文件长度值达到64位。一般文件没有这么大,所以lpFileSizeHigh的值都是0,而返回值就是文件长度了。

Remember, though, that functions return values; you cannot manually set a function equal to some value like a variable.

请记住,不过,函数返回值;你不能手动设置功能等于一定的价值像一个变数。

If the function succeeds, the return value indicates the event that caused the function to return.

如果函数调用成功,返回值指定导致函数返回的事件。

If this function returns NULL, we interpret it as no more handle to obtain so the current hEdit is the last control in the line.

如果这个函数返回值为 NULL ,说明在当前窗口句柄链中没有其它的句柄了,所以当前的 hEdit 是这个链上的最后一个句柄。

If the value is too small to be represented in a double, then the function returns zero.

如果值太小,无法在a double中表示,那么函数返回值为0。

Struct audit_buffer *audit_log_startstruct audit_context *ctx, gfp_t gfp_mask,{ struct audit_buffer *ab = NULL;struct timespec t;unsigned int serial;int reserve;unsigned long timeout_start = jiffies;if (!audit_initializedreturn NULL

函数audit_filter_type将审计事件值与规则域的值比较,返回逻辑比较结果,即审计事件值符合规则域的定义,则表示不需要查看这个审计事件,返回值为1,否则为0。

We reconverted the result from int back to a float so that you can visu- alize the results more clearly when compared to the output of the other two functions.

下面的例子用四个正数和四个负数作为这三个函数的参数,将返回结果列在一起做个比较。(为了便于比较,我们将int函数的返回值也转换成了浮点数)。

第1/8页 1 2 3 4 5 6 7 8 > 尾页
推荐网络例句

As she looked at Warrington's manly face, and dark, melancholy eyes, she had settled in her mind that he must have been the victim of an unhappy attachment.

每逢看到沃林顿那刚毅的脸,那乌黑、忧郁的眼睛,她便会相信,他一定作过不幸的爱情的受害者。

Maybe they'll disappear into a pothole.

也许他们将在壶穴里消失

But because of its youthful corporate culture—most people are hustled out of the door in their mid-40s—it had no one to send.

但是因为该公司年轻的企业文化——大多数员工在40来岁的时候都被请出公司——一时间没有好的人选。