The function in Listing 20 returns a vector of vectors. This is because each document could generate zero to many map entries, and each map entry is represented as a vector.
清单20中的函数返回矢量的矢量,这是因为每个文档都可能生成零到多个映射条目,而每个映射条目都被表示为一个矢量。
Use the && control operator to combine two commands so that the second is run only if the first command returns a zero exit status.
使用&&控制操作符来组合两个命令,以便仅当第一个命令返回零退出状态时才运行第二个命令。
This stock quote service implementation returns unique values for the symbols XXX and YYY, and returns zero for anything else.
这个股票报价服务实现为符号xxx和yyy返回唯一的值,对别的符号则返回零。
If the two items are equal, the function returns zero.
如果两个项相同,函数返回零。
Run a command only if another command returns a zero exit status.
仅当另一个命令返回零退出状态时才运行某个命令。
As the test man page states, the test command evaluates expression parameters and, if the expression value is True, returns a zero (True) exit value.
正如test的手册页指出的,test命令运算表达式参数的值,如果表达式的值是True,就返回零(True)退出值。
Values of this type can now be allocated using the built-in function new, which returns a pointer to the value in memory with all slots initialized to the zero value.
现在这一类型的值可以通过内建的函数new来分配,这将返回一个指针,指向一块内存单元,其所占内存槽初始化为零。
This function returns zero on success. In general, the get_user and put_user functions are faster than their block copy counterparts and should be used if small types are moved.
成功时该函数返回0,一般情况下,get_user和put_user函数比它们的块复制副本要快一些,如果是小类型被移动的话,应该用它们。
However, Vimscript functions always return a value, so if no return is specified, the function automatically returns zero.
然而,Vimscript函数始终返回一个值,因此如果没有指定任何return,那么函数将自动返回0。
It returns the number of bytes that were not clearable or zero if the operation was successful.
它将返回不可清除的字节数,如果操作成功,则返回0。
Similarly, the || control operator separates two commands and runs the second command only if the first command returns a non-zero exit status.
类似地,||控制操作符分隔两个命令,并且仅当第一个命令返回非零退出状态时才运行第二个命令。
As you learned previously, if the command returns a zero, then it was successful; if it returns a non-zero, then it failed.
如前所述,如果该命令返回零,那么该命令的执行是成功的;如果它返回的是非零,那么它的执行是失败的。
One of them returns 0; the other, a non-zero value.
其中一个返回0;另一个返回一个非零值。
This routine takes in two arguments, the second being the absolute value of time by which, if the lock could not be acquired, the routine returns with a non-zero status.
这个例程有两个参数,第二个参数是绝对时间值。如果在到达这个时间时还无法获得锁,例程会返回且状态码非零。
But obviously the Fed is constrained once nominal rates hit zero, and so the economy returns to its trend growth rate but never recovers the ground lost during the financial shock.
但很明显,一旦名义利率下降到零美联储会受约束,因此经济恢复到趋趋向增长率,但不会在金融冲击下恢复所受损失。
This call either returns zero on success or a non-zero error code on failure.
函数调用成功时返回零,失败时返回非零的错误代码。
Zero customer returns in the last six months.
在过去的六个月中,客户零退货。
Run a command only if another command returns a non-zero exit status.
仅当另一个命令返回非零退出状态时才运行某个命令。
So we can grab the image's title, date, and description. (Note that split() returns a zero-based array.
因此,我们可以获取图像的标题、日期以及描述(注意split()返回一个基于零的数组。
The read function returns the number of bytes read (up to the maximum that you specify), -1 on error, or zero if the end of the file has been reached.
read函数返回读取的字节数(最高为您指定的最大值);或者 -1,表示错误;或者0,如果已经到达文件末尾。
If you set this variable, TCSH displays the exit status whenever a script or program returns a non-zero value, thereby indicating a potential error.
如果设置这个变量,那么当脚本或程序返回非零值时tcsh会显示退出状态,这会指出潜在的错误。
However, if CD fails, it returns non-zero, evaluation proceeds, and continue executes.
然而,如果cd失败,则它会返回非零,并且会执行continue。
If the argument is an empty sequence, fn: string (seq) will return a zero-length string, but the other function returns an empty sequence.
如果参数是空序列,fn:string (seq)将返回长度为零的字符串,另一个函数则返回空白序列。
As stated in the definition, test returns a zero exit value if the expression value was True or a non-zero exit value (that is, 1).
根据定义,如果表达式值是True,那么test返回零退出值,否则返回非零退出值(即1)。
If no match is found, preg_match returns a zero.
如果未找到匹配,则preg_match返回零。
As with copy_to_user, the function returns zero on success and non-zero to indicate a failure to copy some number of bytes.
和copy _ to_user一样,该函数在成功时,返回0,否则返回一个非零数,指出不能复制的字节数。
LOCATE LOCATE (' beach ', p.description) Returns the starting location for the first occurrence of a substring in a search string, or zero if the substring isn't found.
LOCATE LOCATE ('beach ',p. d escription)返回一个子字符串在搜索字符串中第一次出现的起始位置,如果没找到子字符串,则返回0。
The function returns zero on success or non-zero to indicate the number of bytes that weren't transferred.
该函数在成功时,返回0,否则返回一个非零数,指出不能发送的字节数。
If the UID of the authenticating user is zero, then only pam_allowroot module returns PAM_SUCCESS.
如果验证中的用户的uid为零,那么只有pam_allowroot模块会返回PAM_SUCCESS。
Returns zero rows if value1 is greater than value2.
如果value1大于value2,返回0。
应用推荐