内函数的声明跟在var语句的后面。
头文件中包含函数的声明,如列表3中所示,而实体文件中包含函数的定义,如列表4中所示。
The header file contains the declaration of the function as shown in Listing 3, and the body file contains the definition of the function as shown in Listing 4.
您可以使用function关键字开始函数的声明,使用var关键字来声明局部变量(这与全局变量不同),但是不用包括正在声明的变量的类型。
You use the function keyword to denote the start of a function and the var keyword to declare local (as opposed to global) variables, but you do not include the type of the variable being declared.
采用这一选项为内联函数所生成的声明和定义将全部位于头文件中,如列表5所示。
The declaration and definition generated for the inline function with this option would all be in the header file, as shown in Listing 5.
其中最奇妙的事情之一是,在几乎每个平台上都为计划要处理的每个库函数和系统调用都提供自己的声明,而不是包括标准的头文件。
One of these magics was, on nearly every platform, to provide its own declarations for every library function and system call it planned to use, rather than including the standard headers.
_要探测的函数的函数原型声明。
简单地说,方法是在类中声明的函数。
任何使用该库的应用程序都需要这个名称空间声明,因为用户定义的函数必须存在某个名称空间中。
This namespace declaration is required for any application that USES the library since the user-defined function has to be in a certain namespace.
SQL与SPARQL版本中的函数声明是相同的。
The function declarations in the SQL and SPARQL versions are identical.
剩余的函数声明被移除了,因为您可以简单地从cea .widget .ClickToCall基出小部件继承它们。
The rest of the function declarations are removed because you can simply inherit them from the base cea.widget.ClickToCall widget.
在functioncall类的内部,必须声明要创建的每一个定制函数。
Inside the FunctionCall class, you must declare each of the custom functions you want to create.
Outline窗口模块提供了有关出现在源代码中的过程、变量、声明以及函数的快速视图。
The Outline window module provides a quick view on procedures, variables, declarations, and functions that appear in source code.
在dojo .subscribe中,上下文是在函数声明之前传递的(参见清单12)。
In dojo.subscribe the context is passed before the function declaration (Listing 12).
Vimscript函数没有使用前导大写字母,相反,可以使用显式的范围前缀声明函数(类似变量,如第1部分所述)。
Instead of using a leading capital letter, Vimscript functions can also be declared with an explicit scope prefix (like variables can be, as described in Part 1).
首先,由于Rhino是采用动态类型的语言,因此在函数和变量的声明中看不到类型。
First, because Rhino is a dynamically typed language, you won't find types in its declarations of functions or variables.
重新声明函数被看作一种致命的错误(这样做是为了防止发生两个不同脚本同时声明函数的冲突)。
Redeclaring a function is treated as a fatal error (to prevent collisions where two separate scripts accidentally declare functions of the same name).
因而,在泛型类定义内部,唯一可调用的构造函数是那些在界限中声明的构造函数。
Then, inside the generic class definition, the only constructors that could be called are those declared in the bound.
同样,实例化泛型类的客户机类必须使用满足对构造函数存在所声明的约束的类来这样做。
Also, client classes that instantiate our generic class must do so with classes that meet the declared constraint on what constructors exist.
噢,这个问题是如此简单,问题数据都作为声明中决策变量的系数直接包含在了目标函数和约束声明中。
Well, this problem is so simple that the problem data is directly included in the objective function and constraints declarations as the coefficients of the decision variables in the declarations.
栈接口大大简化了这一点;在此,没有必要定义或声明函数所带的参数。
The stack interface dramatically simplifies this; there is no need to define or declare the arguments that the function takes.
这个属性可以告诉编译器,使用该属性声明的函数以及它调用的后续函数都不会引发异常。
This attribute is a hint to the compiler that the function declared with this attribute and the subsequent functions it calls do not throw an exception.
隐式类型系统一个较大的优点是,不需要为函数的参数声明类型,因为编译器会从传入的值推断出参数的类型。
One big advantage of type-inferred systems is that you don't need to declare the types of arguments to a function because the compiler infers them from the parameters you pass in.
PINE 并没有包括系统头文件,而是对相关函数提供了自己的声明,所有这些都是使用32 位偏移量来定义的。
PINE, rather than including the system headers, provided its own declaration of the related functions, all defined in terms of 32-bit offsets.
该函数可以拥有任何名称,但必须在模块定义(DEF)文件的exports函数中用序数值1来声明它。
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.
内部函数是函数体紧跟函数声明之后的标准函数。
An internal function is a standard function where the function body follows the function declaration.
为fci所创建的每一个定制函数声明惟一的识别号。
Declare a unique identification number for each custom function that you will create with the FCI.
您还可以声明探针可以调用的函数,尤其是希望供多个探针调用的通用函数。
You can also declare functions that probes can call, which is perfect for common functions for which you'd like to serve multiple probes.
(右大括号)与声明函数的那一行代码头部对齐。
The (right curly brace) is aligned with the line containing the beginning of the declaration of the function.
Go为声明匿名函数提供了简单的语法。
Go provides a simple syntax for declaring anonymous functions.
Go为声明匿名函数提供了简单的语法。
Go provides a simple syntax for declaring anonymous functions.
应用推荐