_要探测的函数的函数原型声明。
可以在头文件中定义函数原型。
这个函数原型如清单7所示。
在顶端,那个函数原型。
你也可以为你自己的函数创建函数原型声明。
You can also create function prototypes for your own functions.
因为一些原因,在这个文件顶端,我包含了一个函数原型。
For some reason, at the top of this file, I've also included what I've called a function prototype.
对于访问参数,不需要为ProbeVue指定函数原型。
To access arguments, we do not need to specify the prototype of function for ProbeVue.
通过在出口点应用跟踪钩子并指定函数原型,可以探测函数的退出/返回值。
Tracing of exit/return value of a function is possible by applying trace hook at exit point and specifying function prototype.
在参数的数据类型是由函数原型定义的情况中,参数应该根据标准规则转换成这种类型。
In the case where the data type of the parameter is defined by a function prototype, the parameter is converted to that type according the standard rules.
要想访问函数的参数,需要向ProbeVue提供函数原型,让它知道参数的数据类型。
To access the arguments of any given function you need to provide the function prototype for ProbeVue so that it knows which argument is of which data type.
如果不声明函数原型,使用long long类型作为函数的参数可能会引起一些意想不到的错误。
There may be pitfalls when you use long long types for function arguments, unless you declare function prototypes.
当探测类型为入口时,可以探测传递给函数的参数,这要求在vue脚本的开头或通过头文件定义函数原型。
Tracing of arguments passed to function is feasible when probe type is entry and requires function prototype to be defined at the beginning of Vue script or through header file.
函数原型定义了所有和函数相关的类型信息:函数返回类型是什么、函数的名字、应该给这个函数传递什么类型的实参。
The function prototype defines all the type information related to the function: what its return type is, the function name, and what types of arguments may be passed to it.
对函数使用原型。
什么是一个函数的原型呢?
这些函数的原型如清单8所示。
请考虑清单1所示的平方根函数的原型。
Consider the prototype for a simple square root function shown in Listing 1.
要想访问参数,需要指定函数的原型,让ProbeVue知道要获取的参数的数据类型。
To access arguments you need to specify the prototype of the function for ProbeVue to recognize the data type of the argument to be fetched.
清单8中的头文件包含要探查的函数和类的原型。
The header file in Listing 8 contains the prototype of the functions and classes you are probing.
在这里,要声明其原型并从main函数开始。
Declare its prototype here and start with the main function.
对于任何给定程序库,您都应该通读它所提供的文档,以了解其原型和标准库函数的用法是否有所变化。
You'll need to go through the documentation provided with any given library to know if there is any change in the prototypes and therefore in the usage of the standard library functions.
这种查找是递归的:如果在prototype 内定义的实例不能找到属性或函数,它就会在其原型中查找,依此类推。
This lookup is recursive: if the instance defined in prototype cannot find an attribute or function, it will look in its prototype, and so on.
当调用new操作符时,构造函数就为对象创建一个所谓的原型(prototype);也就是说,它创建了一个 模板(template),从中构建给定类型的对象。
When invoked with the new operator, the constructor function creates what is known as a prototype for an object; that is, it creates a template from which to build objects of the given kind.
如果探查类型是入口,就可以探查传递给函数的参数,这要求在vue脚本的开头或通过头文件定义函数的原型。
Tracing of arguments passed to the function is feasible when the probe type is entry and requires that the function prototype be defined at the beginning of the Vue script or through a header file.
因此,头文件应该包含函数的原型和一个虚拟的函数定义。
Therefore, the header file should include the prototype of the function and also a dummy function definition.
通过修改函数的原型,您可以实现这个函数的可重入版本。
You can implement the reentrant version of this function by changing the prototype of the function. This listing provides storage for the output string
继而可以使用原型中的属性和函数,甚或重定义函数和属性。
You can then use the attributes and functions in your prototype, or even redefine the functions or attributes.
所以您显式定义的任何属性或函数都将比在原始的原型中定义的那些属性或函数优先级要高。
So any attributes or functions you explicitly define take precedence over those defined in your original prototype.
如果没有找到记录,就使用面板中适当的字段,调用Employee构造函数创建一个新的Employee原型。
If the record is not found, I create a new Employee prototype by invoking the Employee constructor function with the appropriate fields from the panel. Here's the Employee constructor function.
所有RequiredValidator对象的原型都是一个Validator实例,该实例没有任何属性,因为没有参数传递给Validator构造函数。
The prototype for all RequiredValidator objects is a Validator instance, which has no properties because no parameters are passed to the Validator constructor.
应用推荐