测量实例1:函数列表视图。
清单7.infofunctions命令得到的函数列表。
传给load_biz _ rules的参数是broker进程的ID和业务规则所在的文件;返回的是一个Erlang函数列表。
The arguments applied to the load_biz_rules are the broker process id and the file name containing business rules; the return value is a list of Erlang functions.
函数列表视图是一种典型的运行时分析视图,它能够由特殊的运行时分析工具(如rational Quantify)创建(见图5)。
Function List view is a typical runtime analysis view that can be generated with a specialized runtime analysis tool such as Rational Quantify (see Figure 5).
load_biz _ rules的最后一行执行了一次列表推导(list comprehension),构建并返回一个函数列表。
The last line of load_biz_rules performs list comprehension to build and return a list of functions.
你可以在此项设置中创建一个函数列表来禁用这些函数。
It can be set to a list of functions that you would like disabled in your PHP installation.
调用堆栈是某个时间点处理器上处于活动状态的函数列表。
A call stack is the list of functions that are active on a processor at a point in time.
virtio_driver结构定义上层设备驱动程序、驱动程序支持的设备ID的列表、一个特性表单(取决于设备类型)和一个回调函数列表。
The virtio_driver structure defines the upper-level device driver, list of device IDs that the driver supports, a features table (dependent upon the device type), and a list of callback functions.
假定将任意参数列表传递给上面的函数。
Assume an arbitrary argument list is passed to the above function.
lambda的第一个参数是函数可以取得的参数列表。
The first argument to lambda is the list of arguments the function can take.
可以使用range()函数来生成一个整数列表。
The range() function can be used to generate a list of integers.
第一个参数是函数名,第二个参数是参数列表,第三个参数是希望执行的代码。
The first argument is the function name, the second the argument list, and the third is the code you wish to execute.
可以在同一个函数中同时使用命名参数和可变参数,只需要将可变参数的省略号放在命名参数列表之后。
Named and variadic parameters can be used in the same function, simply by placing the variadic ellipsis after the list of named parameters.
具有可变参数列表的函数(…)。
需注意的是,假如两个函数的名称与参数列表均一致然而返回类型不同的话,这就是个编译错误。
You should note that two functions with the same name and parameter list, but different return types, generate a compiler error.
持久化参数信息,提供了一个参数列表,可以为每一个过程或函数输入参数值,并且持久化保存这些值。
Persist parameter information provides the list of parameters for which the values can be entered for each procedure or function, and these values are persisted.
类中的函数定义通常包括了一个特殊形式的参数列表,用于方法调用约定——同样我们在后面讨论这些。
The function definitions inside a class normally have a peculiar form of argument list, dictated by the calling conventions for methods — again, this is explained later.
不管参数列表区域多大,被调用的函数总可以知道每个参数的精确偏移量。
This way, the function being called can know the exact offset of each parameter, no matter how big the parameter list area is.
例如,在清单4中的CommentBlock函数,假设评论人可能是最需要的可选参数,所以将其放置在参数列表的第一位。
The CommentBlock function in Listing 4, for example, assumes that the comment introducer is the optional argument that is most likely to be needed, and so places it first in the parameter list.
如果指定完整签名(函数名和完整参数列表),调试器将在指定重载上设置一个断点。
If you specify the complete signature, function name, and full argument list, the debugger sets one breakpoint on the specified overload.
没有所带参数列表与初始化匹配的构造函数。
There is no constructor with a parameter list that matches the initialization.
Vimscript中的函数使用function关键字定义,后跟函数名,然后是参数列表(这是强制的,即使该函数没有参数)。
Functions in Vimscript are defined using the function keyword, followed by the name of the function, then the list of parameters (which is mandatory, even if the function takes no arguments).
一旦定义了函数,只需要在函数名后边加上一个可选的、用逗号分隔的参数列表(该列表用括号括起来),就可以调用它。
Once a function is defined, you can invoke it by following the function's name with an optional comma-separated list of arguments within parentheses.
记住,参数列表区是针对函数的所有调用定义的,因此可能会比任何单次函数调用需要的空间都大。
Remember, the parameter list area is defined for all of the calls made by a function, and therefore will likely be bigger than necessary for any individual function call.
参数列表中的参数是该函数发送给其他函数调用的参数,而非其自身的参数。
The parameter list is for parameters that this function sends to other function calls, not for its own parameters.
当函数返回到进行调用的函数时,后者一定不能依赖于仍在栈中的参数列表。
The calling function must not depend on the parameter list still being on the stack when your function returns to it.
因为分号,函数返回类型,方法参数列表,甚至大括号都经常会被省略,使用等于号可以避免几种可能的二义性。使用等于号也提醒了我们,即使是函数,在Scala里面也是值。
Because semicolons, function return types, method arguments lists, and even the curly braces are sometimes omitted, using an equals sign prevents several possible parsing ambiguities.
用相同的参数列表调用admin( )和task( )函数的效果是相同的,但是它们返回的表示操作结果的值有不同的数据类型。
The effects of calling the admin( ) and task( ) functions with the same argument list are equivalent, but their return values, which indicate the result of the operation, have different data types.
省略构造函数参数列表和封闭的圆括号等价于指定一个空参数列表。
Omitting the constructor argument list and enclosing parentheses is equivalent to specifying an empty argument list.
如果必须更改函数的输入参数列表,则需要自己删除该函数,因为在执行Build时,Application Developer不能删除和重新创建函数。
If you have to change the input parameter list of your function, you will need to drop it yourself because Application Developer will not be able to drop and re-create it when you do the Build.
应用推荐