首先,我先做一个检查,我们以前使用过字符串长度函数。
First, I'm going to do a sanity check strlen so we've used string length, strlen, before.
上述函数决定离开圆周的偏移量和各线段的长度。
The functions above determine the offset from the circle edge and length of each line.
可以指定一个可选的字符串长度单元来指明在哪些单元中表示函数的起始位置和结果。
An optional string length unit can be specified to indicate in what units the start and result of the function are expressed.
如果函数长度超过100行,就显示错误消息。
If the function length exceeds 100, an error message is displayed.
除了输入字符串之外,SUBSTRING函数还有其他三个参数,它们分别是:起始位置、长度和代码单元指定。
Along with the input string, the SUBSTRING function has three other arguments, which are start position, length, and code unit specification.
如果您使用CODEUNITS16来计算前两个字节的长度,则函数将给出一个警告。
If you find the length of the first two bytes in CODEUNITS16, the function results in a warning.
该函数接受一个指向用户空间缓冲区的指针、一个指向内存缓冲区的指针、以及一个以字节定义的长度。
This function accepts a pointer to a user space buffer, a pointer to a kernel buffer, and a length defined in bytes.
消息摘要是一个安全的、单向的哈希函数,把任意长度的数据转化成固定长度的校验和/哈希码。
Message Digests are secure, one-way hash functions that convert arbitrary length data into fixed-length check sum / hash code.
如果使用CODEUNITS来获取字符的长度,则用作字符串函数输入的CODEUNITS的不同会导致输出的不同。
If you take the length of a character in CODEUNITS, the output differs according to the CODEUNITS used as inputs to the string function.
消息摘要是安全的单向哈希函数,它可以接受任意大小的输入数据,并输出固定长度的二进制哈希值。
Message digests are secure one-way hash functions that take arbitrary-sized data and output a fixed-length binary hash value.
使用基于字符的字符串函数可以解决获取基于CODEUNITS的字符串长度时的问题。
The character-based string functions can be used to solve the problem of getting the length of string in terms of CODEUNITS.
如SQL标准中所述,此函数使用字符语义查找字符字符串的长度。
This function, as mentioned in SQL standards, is used to find the length of a character string in character semantics.
一些函数的输入是数值,比如字符串函数的起始、长度和偏移量参数。
For some functions, a numeric value is input, for example start, length, and offset parameters of string functions.
在很多情形下,您需要根据代码单元计算的字符串长度,可以使用基于字符的函数来获取根据字符串单元计算的字符串长度。
In many situations, you need the string length in terms of code units, the character-based functions could be used to find the length of the string in terms of string units.
此函数与DB2 中的LENGTH 函数类似,并拥有一个可选的字符串长度单元,可以用来表示结果。
This function is similar to the LENGTH function in DB2 and has an optional string length unit, in which the result can be expressed.
字符串变量的长度:substr函数的输入参数,决定了结果字符串的期望长度或length函数的输出。
Length of a string variable: Input argument for the SUBSTR function, which determines the desired length of the resulting string or output of the length function.
若要获取文件中每行文本的长度,请使用length函数。
To get the length of each line in the file text, use the length function.
注意argv列表的长度是通过len函数而不是作为方法获得的,这是Jython的一种用法,在许多语言中也常见。
Notice that the length of the argv list is obtained through the len function and not as a method; this is a Jython idiom and is common in many languages.
还可以使用string函数来报告字符串属性,如子串的长度或位置,例如
You can also use string functions to report string attributes such as length or position of a sub-string, for example
长度大于0的字符串在解析为Boolean函数时,总是被判断为True,即使它的值是字符串'false '时亦是如此。
A string whose length is greater than zero is always evaluated as True when resolved to a Boolean function, even if its value is the string 'false'.
Perl子例程 checksize 处理整个文件(作为 Perl数组 @_ implicit的一部分)并检查函数长度。
The Perl subroutine checksize traverses over the whole file (as part of the @_ implicit array in Perl) and keeps checking for function lengths.
strncpy _ from_user函数将一个字符串从用户空间复制到一个内核缓冲区,给定一个用户空间源地址和最大长度。
The strncpy_from_user function copies a string from user space into a kernel buffer, given a user space source address and Max length.
如果待计算的中间结果长度固定,而且可以很容易地编为二进制串返回给computeaggregate函数,可以用第一种方法。
The first approach can be used if the intermediate result that is to be computed has a fixed length and can easily be encoded in the binary string returned from the computeAggregate function.
你可以马上看到,当然,K值…,扭力常数-,是长度的函数。
So you can immediately see that, of course, the value for kappa-- -- the torsional constant-- is a function of the length.
改进方法之一可能是只对短的段生成隐形表(可以用string - length函数计算段的长度)。
One improvement might be to generate a blind table for short paragraphs only (you can evaluate the length of a paragraph with the string-length function).
strnlen_user函数带有两个参数:用户空间缓冲区地址和要检查的最大长度。
The strnlen_user function takes two arguments: the user space buffer address and the maximum length to check.
接下来的函数确定每个赋值项的lvalue的长度,这通过将strlen函数映射到已过滤的函数的副本上来实现。
Next the function determines the length of each assignment's lvalue, by mapping the strlen function over a copy of the filtered lines.
滑块的移动调用名为fct的回调来改变显示的颜色条的长度,那个回调会调用ProgressBar的value函数来设置新的长度。
Moving the slider changes the length of the displayed color bar by invoking the callback named FCT, which calls the value function on the ProgressBars to set the new length.
计算堆栈平均长度的办法是,stack1中的函数数量加stack2中的函数数量,再除以2。
The average stack length is determined by the number of functions in stack1 plus the number of functions in stack2 divided by 2.
这个调用从./linux/kernel/printk.c 中的printk函数开始,它会在使用 va_start解析可变长度参数之后调用vprintk(在同一个源文件)。
The call begins in ./linux/kernel/printk.c in the printk function, which calls vprintk (in the same source file) after resolving the variable-length arguments using va_start.
应用推荐