For a non-class function argument, numbering starts from __arg1.
对于非类函数的参数,编号从__arg1开始。
Wrap the function argument in string if it needs to be a string.
如果函数需要字符串,则用string包装参数。
As you can see, in this instance there is a single function argument.
如您所见,本例中只有一个函数参数。
A manifestly typed language forces you to declare each variable and each function argument.
显式类型语言要求声明每个变量和每个函数参数。
It takes a function argument of an input filename, in which details about the RSS feed sources are specified.
它接受输入文件名称作为函数参数,在该文件中指定了关于rss提要源的细节。
Using a function as a function argument, or returning a function as a value, elevates this abstraction into the realm of higher-order functions.
将函数用作函数的参数,或将函数作为值返回,这些概念属于高阶函数的领域。
So that particular argument for extending particular function argument the assertion language or for expressing contracts in English goes away at least in the long term.
因此,有关扩展断言表达式有关因此语言和英语中的契约表述的争论,在一个较长时期后将会契约争论表述沉寂下来。
Partial application is a broader technique that resembles currying but does not restrict the resulting function to a single argument.
部分应用是一种更广泛的技巧,它与局部套用类似,但是生成的函数并不限于单函数。
Each event function contains two forms: one without any arguments, and one that contains a function as an argument.
每个事件函数都包含两种形式:一个没有任何参数,一个包含一个函数作为参数。
It will pass the event object to that function as its argument.
它将事件对象作为参数传递给这个函数。
The logic in the feed sources input component simply reads from a file, whose name is passed as a function input argument.
提要源输入组件的逻辑只是简单地从文件中读取,而文件的名字则以函数输入参数的形式传递。
We didn't specify which function callback would be applied as the second argument, just that a function callback would be applied.
我们并没有指定哪个回调函数会被用作第二个参数,只需要是一个回调函数就可以了。
This hairy function call does the argument parsing.
这个复杂的函数调用执行参数解析。
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.
正如先前所介绍的,存根方法会采用回调函数作为其最后的实参,该实参用来捕获响应中的球场列表。
The object pointer is passed as the first argument to the function.
其对象指针作为函数的第一个参数被传递。
The second argument is a function that will actually handle the request.
第二个参数是真正处理请求的一个函数。
As with the IRR function, guess is an optional argument.
与irr函数一致预测值是可选参数。
EINVAL — You passed an invalid argument to the function.
EINVAL:向函数传递了无效的参数。
The third argument is our custom function that we want to call.
第三个参数是想要调用的定制函数。
You can easily repurpose this function by adding a nonrequired argument.
可以通过增加一个非必需的参数,轻松地改变这个函数的用途。
In the first example in Listing 3, I simply use the scm_call_1 function to call the Scheme function with one argument.
在清单3中的第一个例子中,我使用scm_call_1函数调用scheme函数,调用时带有一个参数。
Finally, Listing 7 shows the main function of the program, which just calls the process_directory function for every argument passed on the command line.
最后,清单7显示了该程序的main函数,它只是对命令行中传递的每个参数调用了process_directory函数。
Because map takes one argument, a function, we can use the "placeholder" indicator _ instead of a named parameter.
因为map接受一个参数,即一个函数,我们可以用_占位符来替代有名参数。
For example, for functions that take optional arguments, the wrap_*() function extracts the optional argument.
例如,对于使用可选参数的函数,wrap_*()函数将提取可选的参数。
Puts a probe on function spacefriend, and fetches its argument using __arg1 because it is a non-class function.
在函数spacefriend上设置探查,使用__arg1获取它的参数,因为它是非类函数。
Ext.Direct calls take a function as an argument, itself accepting two arguments: provider and response.
Direct调用用一个函数作为参数,它本身接受两个参数:provider和response。
The spu_mfcdma64() function takes an additional argument specifying the top 32 bits of an effective address.
spu_mfcdma64()函数则使用另外一个参数来指定有效地址的高32位部分。
Versa provides data conversion functions, one of which is the string function, which converts its argument to a string.
Versa提供数据转换函数,其中之一是string函数,它将其参数转换成字符串。
The first argument of the distribute function is a list.
distribute函数的第一个参数是一个列表。
In case of static functions, the first actual argument of function can be accessed using __arg1.
对于静态函数,可以使用__arg1访问函数的第一个实际参数。
应用推荐