When you want to create an atomic value of one of the time-oriented data types, use a type-constructor function and provide the string representation as an argument.
如果需要创建与时间相关的数据类型的单个值,可以使用类型构造器函数并提供时间的字符串表示形式作为参数。
This function accepts a string as an argument (the original value of the field), and returns a masked version of the value.
这个函数接受一个字符串参数(该域的原始值),并返回该值的一个屏蔽版本。
Using a function as a function argument, or returning a function as a value, elevates this abstraction into the realm of higher-order functions.
将函数用作函数的参数,或将函数作为值返回,这些概念属于高阶函数的领域。
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.
字符串变量的长度:substr函数的输入参数,决定了结果字符串的期望长度或length函数的输出。
For instance, because the output of a function is completely determined by its input and its code, you don't need to evaluate a function more than once with the same argument.
例如,由于函数的输出完全由其输入和代码决定,因此您无需使用相同的实参多次计算一个函数。
To make one executable look like many executables, BusyBox exploits a seldom-used feature of argument passing to the main C function. Recall that the C main function is defined as follows
为了让一个可执行程序看起来就像是很多可执行程序一样,BusyBox 为传递给C的 main函数的参数开发了一个很少使用的特性。
The instanceof function provides a good way of checking type, but you can also roll object type checking into the method signature itself by using type hints in the argument list.
虽然 instanceof功能提供了一种检查类型的好方法,但您还可以通过在参数列表中使用类型提示,来将对象类型检查滚动到方法签名自身中。
This statement passes a row as the second argument of the genxml2 function.
这个语句传递一行,作为genxml2函数的第二个参数。
A friend function named spacefriend, which is a friend of class space, and which takes the class object as an argument and prints the value of its variable x.
名为spacefriend的友元函数,它是space类的友元,它的参数是类对象,输出类对象的x变量的值。
Now, the sqlquery function can take multiple arguments as input where the first argument is a string value representing a full select followed by the values of the parameters.
现在,sqlquery函数可以将多个参数作为输入,第一个参数是一个表示全选择的字符串,其后是参数的值。
The first argument of the distribute function is a list.
distribute函数的第一个参数是一个列表。
The only argument that you pass into the Server is a function that will be called for each client connection. Inside this function, add the client connection to the list of all client connections
传递到Server中的惟一参数是将针对每个客户端连接进行调用的一个函数。
The dyn: evaluate function converts its argument to a string and dynamically evaluates that string as an XPath expression, returning the result of this evaluation.
evaluate函数将其参数转化成一个字符串,将该字符串作为XPath表达式进行动态计算,并返回结果。
The first argument to the add function is a symbolic name, by which the generated page can be referred to in the notebook: we will make use of it below.
add函数的第一个参数是一个符号名,可以在notebook中通过它引用生成的页:下面我们将使用它。
It takes a function argument of an input filename, in which details about the RSS feed sources are specified.
它接受输入文件名称作为函数参数,在该文件中指定了关于rss提要源的细节。
As explained earlier, the stub method takes a callback function as its final argument, which is used to capture the list of courses in the response.
正如先前所介绍的,存根方法会采用回调函数作为其最后的实参,该实参用来捕获响应中的球场列表。
Offset within a string: The second argument of the LOCATE function, which specifies the starting position within a string to begin the search.
字符串中的偏移量:LOCATE函数的第二个参数,指定了字符串中开始搜索的起始位置。
Note that when you try to access an argument of a class member function the actual argument count starts from 2 instead of 1.
注意,在访问类成员函数的参数时,实际的参数编号从2而不是从1 开始。
In XSLT 2.0, you can use a second argument to further check if a particular function that supports a specific number of arguments, or arity, is supported.
在XSLT 2.0中,可以使用第二个参数进一步检查某个函数是否支持特定数量或者任意的参数。
To achieve the desired number of repeats, the functional map call is driven by a single argument that USES the CLONE function, as shown in Figure 4.
为了实现所需次数的重复,用一个使用clone函数的参数驱动功能性映射调用,见图4。
The function, preg_grep , makes processing a list very easy: Simply provide the pattern as the first argument and an array of words to match as the second argument.
使用函数preg_grep可以非常轻松地处理列表:只需提供模式作为第一个参数,并提供要匹配的单词数组作为第二个参数。
The final argument of every exported Sajax function is a response handler that handles the output of foo_bar().
每个 Sajax导出函数的最后一个参数都是一个响应处理程序,负责处理 foo_bar() 的输出。
The second argument, vals, is a list of values for the keys that were passed into the function.
第二个参数是 vals,这是传递到函数中的键的值列表。
The changes begin in the third code block, which USES the two-argument form of the built-in getline function to return a list of all the lines in the range to be realigned.
从第三个代码块开始发生变化,它使用内置的getline函数的双参数形式来返回需要重新对齐的行的列表。
To call a function and use its return value as part of a larger expression, simply name it and append a parenthesized argument list.
要调用函数并使用它的返回值作为语言表达式的一部分,只需要命名它并附加一个使用圆括号括起的参数列表。
The view's map function takes the document as an argument and performs a series of computations to determine what data should be available via the view.
视图的map函数将文档作为一个参数,并执行一系列的计算来决定应该对哪些数据使用视图。
Because map takes one argument, a function, we can use the "placeholder" indicator _ instead of a named parameter.
因为map接受一个参数,即一个函数,我们可以用_占位符来替代有名参数。
Versa provides data conversion functions, one of which is the string function, which converts its argument to a string.
Versa提供数据转换函数,其中之一是string函数,它将其参数转换成字符串。
Superficially the code changes are minor; rather than having a block of code following the "for" line, the code is passed as an argument to the "Parallel.For" function.
最直观的反应就是代码只需作细微的修改;在“for”语句内的代码块,可以作为参数传递到“Parallel.For”函数中。
As is obvious from their names, display is a function that prints out its argument and newline is a function that simply prints out an end-of-line character.
由其名称可以明显看出,display是打印出参数的函数,而newline是只打印出一个回车换行字符的函数。
应用推荐