这项重要的功能让众多的Haskell函数可以接受函数作为参数。
This important capability lets many Haskell functions take a function as a parameter.
该函数接受所有其输入参数作为引用值。
This function accepts all its input arguments as referenced values.
此函数接受被引用的远端url值作为来自调用者的输入参数。
This function accepts a referenced remote URL value as an input argument from the caller.
这个函数接受一个字符串参数(该域的原始值),并返回该值的一个屏蔽版本。
This function accepts a string as an argument (the original value of the field), and returns a masked version of the value.
这个简单的函数接受任何变量,并将它显示在屏幕上。
This simple function takes in any variable and displays it to the screen.
这种方法依赖于接受回调函数名作为请求参数的远程服务。
This approach relies on the remote service accepting a callback function name as a request parameter.
您也可以为第一个参数使用%1,如果此函数接受多个参数,还可以使用类似的%2、%3等。
You could also use % 1 for the first parameter and similarly % 2, % 3, etc. if the function accepted multiple parameters.
函数定义接受一个输入参数。
该函数接受三个参数,然后对这些值进行一些简单的测试,以确保函数不会开始一个无限循环。
The function accepts three arguments, and performs some simple tests on the values to ensure that the function will not start an infinite loop.
所传递的函数不接受参数。
外部函数接受这个时间戳,并将其转换成一个时间值。
The outer function takes this timestamp and converts it to a time value.
这个函数接受两个参数:“行数组”和 “列数组”。
The function takes two parameters: "array of rows" and "array of columns".
这些函数接受一组输入并返回一组输出,从而完成特定的任务。
These functions take a set of inputs and return a set of outputs to accomplish a specific task.
在重命名操作受到支持之前,该函数仅接受固定的参数。
Before rename operations were supported, the function took only the fixed arguments.
此函数接受源节点,并将其作为子节点复制到目标节点下。
This function takes the source node and copies it over as a child under the destination node.
此函数接受两个参数:表的名称以及字段名和值的关联数组。
The function takes two arguments: the name of the table and an associative array of field names and values.
这些函数都接受目标的总大小(而不是剩余空间)作为参数。
Both of these functions take the total size of the destination buffer as a parameter — not the space still left.
getString函数接受两个参数。
这个函数接受两个64位输入值,名为val1和val2。
The function receives two 64-bit input values, called val1 and val2.
在清单3中,InitGoogleTest函数接受测试基础设施的参数。
In Listing 3 you see that the InitGoogleTest function accepts the arguments to the test infrastructure.
find函数接受一系列参数来筛选返回的结果。
The find function accepts a series of arguments that allow you to filter the results that are returned.
ellipse函数也接受四个参数,分别定义位置和宽/高度。
The ellipse function also takes four arguments, defining the location and width/height.
line函数接受四个参数,代表的是要在其间绘制线条的点。
The line function takes four arguments, representing the points between which a line is drawn.
convert _ to_upper函数接受任意字符的地址,转换为大写并将其存储回去,不返回任何东西。
The convert_to_upper function takes the address of an arbitrary character, converts it to uppercase, and then stores it back and returns nothing.
如在lambda函数的示例中所示,闭包的最明显用法之一是少数php函数接受回调函数作为参数。
As we saw in the examples for lambda functions, one of the most obvious USES for closures is in the few PHP functions that accept a callback function as a parameter.
清单25中的reduce函数接受三个参数
The reduce function shown in Listing 25 takes three arguments
这个函数接受两个参数:一个函数和一个序列。
This function takes two parameters: a function and a sequence.
在上述代码中,父类的构造函数接受一个参数,一个表示布局的整型参数。
In the code above, the constructor of the parent class takes one argument, an integer representing the layout.
然后,可以使用函数的输出作为另一个接受XML参数的函数的输入,也可以把它转换为等效的SQL数据类型。
The output from the function can then be used as input to another function taking XML arguments, or it can be cast to an equivalent SQL data type.
为了演示这个技术,我特意编写了一个函数,该函数接受一个ASCII字符、加载它、将其转换成大写并存储回去。
To illustrate the technique, I'll write a function that takes the address of an ASCII character, loads it, converts it to uppercase, and stores it back.
应用推荐