清单20中的函数返回矢量的矢量,这是因为每个文档都可能生成零到多个映射条目,而每个映射条目都被表示为一个矢量。
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.
如果互斥对象当前处于解锁状态,那么您将获得该锁并且函数将返回零。
If the mutex is currently unlocked you'll get the lock, and this function will return zero.
对于实际的缓冲区处理,函数只需直接返回,就能够很好地处理大小为零的缓冲区。
For the actual buffer processing, the function is perfectly capable of handling zero-sized buffers by simply returning.
所以通常来说,我们不会有,一个简单的解析式,描述压强,作为摩尔分数从零到一,的函数的变化形式。
So in general, we don't have a simple analytical expression for what the pressure is going to do as a function of mole fraction a ll the way from zero to one.
如果函数成功,则返回值非零。
如果两个项相同,函数返回零。
init函数(init_fortune_module)负责使用vmalloc 来为这个点心罐分配空间,然后使用memset 将其全部清零。
The init function (init_fortune_module) allocates space for the cookie pot with vmalloc and then clears it out with memset.
在安装函数内部,调用了kzalloc(分配内核内存并清零)。
Internal to the setup function, there's a call to kzalloc (which allocates kernel memory and zeroes it).
这个退出值不是0(零),如main函数中所返回的。
The exit value is not 0 (zero), as returned in function main.
这个函数预测sum变量将是零(数据包的checksum是有效的),而且ip _ summed变量不等于CHECKSUM_HW。
The function expects that the sum variable will be zero (checksum is valid for the packet) and that the ip_summed variable is not equal to CHECKSUM_HW.
现在这一类型的值可以通过内建的函数new来分配,这将返回一个指针,指向一块内存单元,其所占内存槽初始化为零。
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.
函数调用成功时返回零,失败时返回非零的错误代码。
This call either returns zero on success or a non-zero error code on failure.
而且,特别地,如果我们令此函数为零,而不是近似为零,它意味着我们在水平集的切平面上移动。
And so, in particular, if we set this equal to zero instead of approximately zero, it means we'll actually be moving on the tangent plane to the level set.
有一个特定的函数可以将从TMP36测得的毫伏数转变为摄氏度,范围也将从0-1023 转改为从1-5,找到零点后即可将结果缩放 100。
There is a specific function for converting the measured millivolts from the TMP36 to degrees Celsius, changing from a range of 0-1023 to 1 to 5, finding the zero point and scaling the result by 100.
和copy _ to_user一样,该函数在成功时,返回0,否则返回一个非零数,指出不能复制的字节数。
As with copy_to_user, the function returns zero on success and non-zero to indicate a failure to copy some number of bytes.
因此这里的,波函数平方也等于零,如果我们说在这整个平面上,任何地方找到一个p电子的概率都是零。
So, the wave function at all of these points in this plane is equal to zero, so therefore, also the wave function squared is going to be equal to zero.
如果参数是空序列,fn:string (seq)将返回长度为零的字符串,另一个函数则返回空白序列。
If the argument is an empty sequence, fn: string (seq) will return a zero-length string, but the other function returns an empty sequence.
该函数在成功时,返回0,否则返回一个非零数,指出不能发送的字节数。
The function returns zero on success or non-zero to indicate the number of bytes that weren't transferred.
这个接口的实现需要一个零参数的构造函数,供actionservlet使用,从而确保插件可以正确创建。
Implementation of this interface requires a zero-argument constructor for use by ActionServlet, to ensure the plug-in is created properly.
在微积分中,在函数的极小值点上导数等于零或者不存在导数。
In calculus, the derivative equals zero or does not exist at a function's minimum point.
也许您正在构建一个框架,并且需要保证包中的所有类都有零参数的构造函数、或者所有带下划线前缀的字段都有getter而没有setter。
Maybe you're building a framework and need to make sure that all of the classes in a package have a zero-arg constructor or that all fields prefixed with an underscore have a getter but not a setter.
此外,只要目标的大小至少为1,两个函数都保证目标将以NUL结尾(您不能将任何内容放入零长度的缓冲区)。
Also, both functions guarantee that the destination will be NUL-terminated as long as the size is at least one (you can't put anything into a zero-length buffer).
以ewb电路分析方法中的极零点为分析工具,分析复杂电路或系统的传递函数,来达到取代枯燥繁琐的手工计算的目的。
By using the Pole-Zero as the analytical means in EWB circuit analysis, the transfer function was analysed in complicated circuit or system to replace the dull and onerous manual computation.
基线条件(当函数参数为零时作何处理)十分简单。
The base case (what to do if the function's parameter is zero) is much easier.
例中的调用只有一个实参,而这些函数分别带有零个和两个形参。
Our call has only one argument, and these functions have zero and two parameters, respectively.
返回值:如果函数成功,返回值是非零;否则,它是零(假)。
Return values: If the function succeeds, the return value is nonzero; otherwise, it is zero (False).
根据物理上的理由,我们总是剔除把零作为本征函数。
We always reject zero as an eigenfunction on the ground of physics.
clear_user函数被用于将用户空间的内存块清零。
The clear_user function is used to zero a block of memory in user space. This function takes a pointer in user space and a size to zero, which is defined in bytes.
如果函数执行成功,返回值为非零。
如果函数执行成功,返回值为非零。
应用推荐