第一,这是一个全局函数而不是成员函数。
尽量不使用全局函数。
类设计器不支持全局函数和变量。
Class Designer does not support global functions and variables.
这可以使用全局函数clearcache来完成。
在全局函数中包含表达式并编译此函数。
Wrap the expression in a global function and compile the function.
第一行告诉Psyco对所有全局函数“发挥其魔力”。
The first line tells Psyco to do its magic on all global functions.
下面的代码提供了一个为全局对象创建模板并且设置全局函数的例子。
The following code provides an example of creating a template for the global object and setting the built-in global functions.
每个国家需要填充相同的变量和全局函数,这增加了内存的消耗。
Each state needs to be populated with the same variables and global functions, which increases memory consumption.
被测系统并未直接调用全局函数Math . random,来决定每个轴初始的图片状态。
The system under test does not make a direct global function call to Math.random in order to determine the initial image state of the reels.
检测是否有全局函数opendatabase,这个函数用于创建和访问客户端数据库。
Check for the presence of the global function openDatabase, which is used for creating and accessing client-side databases.
为了访问一个用户定义的类里的私有数据,你必须声明全局函数为友元函数,并且在类中定义。
But to be able to reach any private data within a user defined class you have to declare the global function as a friend within the definition of the class.
因此,新应用 程序应该使用堆函数,同时考虑到兼容性,全局函数仍然用于DDE和剪切板函数。
Therefore, new applications should use the heap functions. However, the global functions are still used with DDE and the clipboard functions.
根据全局函数之间调用关系,得出被测文件分析单元之间的逻辑依赖顺序,为计算函数摘要提供基础。
According to global function calls, we obtain the logical orders of analysis program unit, to provide the basis for calculating the function summary.
它包含全局变量和函数的定义。
This includes the definition of global variables and functions.
这些有助于在分析堆栈时找到全局数据和函数地址。
These help in locating global data and function addresses while analyzing stacks.
可以在全局范围以及在名称空间、函数体或类声明内使用静态断言。
You can use static assertions in global scope and inside namespaces, function bodies, or class declarations.
函数可在另一个函数内定义,还可赋给全局变量或作为结果返回。
Functions can be defined within another function and assigned to global variables or returned as results.
基本的方法是,如果函数修改全局数据,则抛出一个错误消息。
The primitive way is by throwing an error message if the function modifies global data.
G:该选项将生成查找表并将其作为静态全局变量,而不是在查找函数内生成以隐藏该表(默认行为)。
G: This option generates the lookup table as a static global variable rather than hiding it by generating it inside the lookup function (the default behavior).
如果带静态(或全局)变量的迭代器类或函数取决于多个数据状态,则出现两个问题。
If an iterator class or a function with static (or global) variables depends on multiple data states, two problems come up.
在对函数和数据类型使用全局变量时,必要时可以使用保守的绑定语义。
Conservative binding semantics exist for global variables as they do for functions and data types whenever necessary.
作为附加的功能,该函数还测试新行的全局位置是否已经出现在父路径中。
As an additional feature, the function also tests whether the global position of the new row already appears in the parent path.
清单3提供了全局工作存储,可由程序中定义的所有函数访问。
Listing 3 provides the global working storage that is accessible by all functions defined in this program.
可重入函数要么使用本地变量,要么在使用全局变量时保护自己的数据。
Reentrant functions either use local variables or protect their data when global variables are used.
使用为基线数据的每会话存储创建的全局临时表(CGTT)(对于每个表函数,使用一个 CGTT)。
Use a created global temporary table (CGTT) for per-session storage of the baseline data (use one CGTT per table function).
如果一个函数要频繁的使用全局变量,我们可以使用局部变量,作为全局变量的拷贝,这样就可以使用寄存器了。
If a function USES global variables heavily, it is beneficial to copy those global variables into local variables so that they can be assigned to registers.
第一个问题是您需要在测试中考虑所有这些全局变量,保证给它们设置了函数可接受的有效值。
The first issue is that you need to account for each of them in your test, making sure you set them to valid values that the function expects.
现在您已经设置了所需的全局变量和函数,样式表的核心就显得简单优雅,如清单14所示。
Now that you've set up the global variables and functions that you need, the heart of the stylesheet is simple and elegant, as you can see in Listing 14.
或者,调用了正在处理全局数据结构的某个函数,而在信号处理器中又调用了同一个函数。
Or, you call some function that was in the middle of the manipulation of the global data structure and you call the same function from the signal handler.
许多脚本引擎在eval()调用之间维持全局变量和函数的状态。
Many script engines maintain state of global variables and functions between calls to eval().
应用推荐