函数定义接受一个输入参数。
函数定义针对特定的领域。
清单27.bash中的另一种函数定义。
范围是由花括号定义的还是函数定义的?
范围是由花括号定义的还是函数定义的?
清单7给出的宏定义使用这些函数定义了算术符号。
Listing 7 shows the macro definition to define math symbols using these functions.
通过用匿名函数来替换正式函数定义,您可简化代码。
By replacing formal function definitions with anonymous functions, you simplify code.
该函数定义在kernel/timer.c 中;
因此,头文件应该包含函数的原型和一个虚拟的函数定义。
Therefore, the header file should include the prototype of the function and also a dummy function definition.
着色器函数定义了单个顶点上可以执行的操作。
Shader function defines what operations must be executed on a single vertex.
在函数定义中使用两个输入参数即可实现这一功能,如清单3所示。
You can do this by using two input parameters in the function definition, as shown in Listing 3.
绝对的,是由函数定义的,但是你也可以用花括号来创建局部范围。
Absolutely, by functions, but you can also create local scope with curly braces.
从外部环境中导入的变量是在闭包函数定义的use子句中指定的。
Variables to be imported from the outside environment are specified in the use clause of the closure function definition.
该图说明了这一点,但还可以创建更大规模的构造,如函数定义和类。
The picture illustrates this, but you can also create larger scale constructs like function definitions and classes.
lambda函数是用于将高阶函数传入lisp函数的函数定义。
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演算,用于研究函数定义与应用程序以及递归概念。
Known as lambda calculus, it was designed to investigate the function definition and application, as well as the concept of recursion.
模块视图提供了用于创建程序的源文件的代表,包括它们所提供的函数定义。
The modules view provides a representation of the source files that were used to create the program, including the function definitions they provided.
函数调用中传递的参数顺序与函数定义中xsl:param的顺序对应。
In the function invocation, the order of parameters passed in corresponds to the the order of XSL: params in the function definition.
当函数的参数和结果总是字符串时,该函数定义方法是一个理想方法。
This method of function definition is ideal when the arguments and function result will always be strings.
文档字符串:一个在函数定义的顶部的字符串,讲解函数的交互界面。
A string that appears at the top of a function definition to document the function's interface.
这些函数定义在一个支持的数据库中,就是将任务转换成可执行表单时使用的那个数据库。
These functions are defined in a supporting database used in translating the task into an executable form.
函数参数区段可以用于为函数定义一个或多个参数并指定数据类型、模式和其他参数属性。
The function parameters section may be used to define one or more parameters for the function and specify the data type, mode, and other parameter properties.
作为练习,把这个程序的最后一行放到顶部,这样函数调用就在函数定义之前了。
As an exercise, move the last line of this program to the top, so the function call appears before the definitions.
当您测试您的程序时,Purify将会提供整个真实的api函数定义,而存根会被忽视。
When you instrument your program, Purify provides the real definitions for the API functions, and stubs are ignored.
函数定义:创建新函数的语句,确定函数的名字,形式参数,以及函数内部的语句。
A statement that creates a new function, specifying its name, parameters, and the statements it contains.
这将self变量封闭在函数定义中,所以当浏览器调用函数时它仍然可用,见清单6。
This encloses the self variable with the function definitions, so it is still available when the browser calls the functions, as shown in Listing 6.
默认情况下,它们是由值传递的,意味着如果要更新传递到闭包函数定义内的值,则不更新外部值。
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.
这是使用函数闭包在函数定义中封闭变量的第一种方法,但不是惟一的方法,目前就采用这种方法。
This is your first opportunity to use function closures to enclose variables in function definitions, but it won't be the last, so get used to this, too.
Functiondefinition区段:函数定义区段允许您为IDS定义以下函数属性。
Function definition section: the function definition section allows you to define the following function attributes for ids.
Scala把主体之前的部分包含等于号作为函数定义,而一个函数在函数式编程中永远都有返回值。
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.
应用推荐