The function definition takes one input parameter.
函数定义接受一个输入参数。
By default, they are passed by value, meaning that if we would update the value passed within the closure function definition, it would not update the outside value.
默认情况下,它们是由值传递的,意味着如果要更新传递到闭包函数定义内的值,则不更新外部值。
You can do this by using two input parameters in the function definition, as shown in Listing 3.
在函数定义中使用两个输入参数即可实现这一功能,如清单3所示。
The definition of services that encapsulate reusable business function.
封装可重用业务功能的服务的定义。
This function receives the widget's definition in JSON format and initializes a new widget.
此函数接收json格式的小部件定义并初始化一个新的小部件。
Therefore, the header file should include the prototype of the function and also a dummy function definition.
因此,头文件应该包含函数的原型和一个虚拟的函数定义。
The function can have any name and must be declared in the EXPORTS function of the module definition (def) file with an ordinal value of 1.
该函数可以拥有任何名称,但必须在模块定义(DEF)文件的exports函数中用序数值1来声明它。
Looking at the definition of this function, you'll see how to load XML data from the database.
查看这个函数的定义,弄清如何从数据库加载XML数据。
Variables to be imported from the outside environment are specified in the use clause of the closure function definition.
从外部环境中导入的变量是在闭包函数定义的use子句中指定的。
The first line of a function definition, also known as the method signature, begins with def (shorthand for define).
函数定义的第一行也称为方法签名(method signature),以def开头(def是define这个单词的缩写)。
Known as lambda calculus, it was designed to investigate the function definition and application, as well as the concept of recursion.
它被称为lambda演算,用于研究函数定义与应用程序以及递归概念。
Listing 27. Alternate function definition within bash.
清单27.bash中的另一种函数定义。
The transformation also provides an option to generate the function definition for an inline function in the header file below the class declaration. To activate this option, perform these steps
该转换还提供了另外一个选项:为一个在类声明下的头文件中的内联函数生成该函数的定义。
Scala regards a method with the equals sign before the body as a function definition and a function always returns a value in functional programming.
Scala把主体之前的部分包含等于号作为函数定义,而一个函数在函数式编程中永远都有返回值。
If there is some special function specific to a data source and not available on WebSphere Information Integrator, you need a function template definition for that function.
如果存在特定于某个数据源的、在WebSphereInformation Integrator上没有的特殊函数,则需要那个函数的函数模板定义。
Listing 4 shows the definition of function nfs_direct_wait in Linux Kernels 2.6.18 vs. 2.6.26.
清单4显示了nfs_direct _ wait函数在LinuxKernels 2.6.18与2.6.26中的定义。
In the function invocation, the order of parameters passed in corresponds to the the order of XSL: params in the function definition.
函数调用中传递的参数顺序与函数定义中xsl:param的顺序对应。
Function definition section: the function definition section allows you to define the following function attributes for ids.
Function definition区段:函数定义区段允许您为IDS定义以下函数属性。
Input: Data types of the input arguments to this 4gl function; must have one-to-one correspondence from left to right, and must match the count of arguments, as in the function definition.
INPUT:这个4gl函数的输入参数的数据类型;必须从左到右与函数定义中的输入参数一一对应,还必须与输入参数数量匹配。
OUTPUT: Data types of result returned from this 4GL function; must have one-to-one correspondence from left to right, and must match the count of arguments, as in the function definition.
OUTPUT:这个4GL函数返回的结果的数据类型;必须从左到右与函数定义中的输出参数一一对应,还必须与输出参数数量匹配。
Closures are functions that reference variables from the scope enclosing the function definition.
闭包本质上是一个函数和其引用的变量的统一定义。
This method of function definition is ideal when the arguments and function result will always be strings.
当函数的参数和结果总是字符串时,该函数定义方法是一个理想方法。
The link step resolves interfile dependencies, such as linking a function call in one file to a function definition contained in a second file.
链接步骤解决了文件间的依赖,如将一个文件中的函数调用链接到另一个文件中的函数定义。
A string that appears at the top of a function definition to document the function's interface.
文档字符串:一个在函数定义的顶部的字符串,讲解函数的交互界面。
A lambda function is a function definition that you use to pass higher-order functions into Lisp functions. For example, the lambda expression in Listing 10 computes the sum of two integers.
lambda函数是用于将高阶函数传入lisp函数的函数定义。
As you might expect, you have to create a function before you can run it. In other words, the function definition has to run before the function gets called.
如你所愿了,你可以建立一个函数,然后运行一下试试了。换种说法就是,在调用之前一定要先把函数定义好。
A value created by a function definition. The name of the function is a variable that refers to a function object.
函数对象:由函数定义所创建的值,函数名字指代了这一函数对象。
But don't let the complexity of calculus dissuade you from using lambdas: They are really nothing more than anonymous functions. The following function definition, for example, is a lambda.
但是,不要让calculus的复杂性妨碍了您对lambdas的使用:它们也只不过是匿名函数。
It is not necessary that the function definition is textually enclosed in the class definition: assigning a function object to a local variable in the class is also ok.
不是必须要将函数定义代码写进类定义中,也可以将一个函数对象赋给类中的一个变量。
It sets forth emphatically the concept, function definition, general frame and the technique routine of the system, as well as the basic functions of the prototype system to be established.
阐述了防洪智能应急响应系统的概念及功能定义,总体框架结构,系统实现的技术路线,以及项目所建立原型系统的基本功能。
应用推荐