Let's look at an example of how to model a global function, using parse_line as an example.
让我们看一下怎样对一个通用函数建模的范例,使用parse_line作为例子。
Check for the presence of the global function openDatabase, which is used for creating and accessing client-side databases.
检测是否有全局函数opendatabase,这个函数用于创建和访问客户端数据库。
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.
被测系统并未直接调用全局函数Math . random,来决定每个轴初始的图片状态。
Because it is a global function, you can use it anywhere in the program, just include the header file and add the implementation file to the project.
因为它是一个全球性的功能,你可以在任何地方使用它的程序,只需包含头文件和执行文件添加到项目。
According to global function calls, we obtain the logical orders of analysis program unit, to provide the basis for calculating the function summary.
根据全局函数之间调用关系,得出被测文件分析单元之间的逻辑依赖顺序,为计算函数摘要提供基础。
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.
为了访问一个用户定义的类里的私有数据,你必须声明全局函数为友元函数,并且在类中定义。
The convergence property and dynamic characteristics of the newly proposed population migration algorithm for solving global function optimization problems are analyzed by means of probability.
用概率论分析了新提出的求解函数全局优化问题的人口迁移算法的收敛性及动态特性。
Global variables are never allocated to registers. Global variables can be changed by assigning them indirectly using a pointer, or by a function call.
全局变量不会被分配在寄存器上,修改全局变量需要通过指针或者调用函数的方式间接进行。
This would allow the IMF to use its insurance function explicitly to tackle global imbalances.
这将使得IMF更加显性地使用其保险人职能解决全球不平衡问题。
By default, a variable is scoped to the function in which it is first assigned to, or is global if its first assignment occurs outside any function.
默认情况下,变量的范围是变量第一次被分配到的函数的内部,如果它的第一次分配出现在任何函数的外部,那么它就是全局变量。
The discussion is taking place at both the local and global levels How small can a fragment of an ecosystem be and still function in all its richness and thus be considered preserved?
关于这个问题的辩论在局部和全球范围两个层面上同时展开:生态系统的一小部分可以小到何种程度仍能维持其完整、丰富的功能,从而可以认为是受到了保护呢?
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.
如果一个函数要频繁的使用全局变量,我们可以使用局部变量,作为全局变量的拷贝,这样就可以使用寄存器了。
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.
函数可在另一个函数内定义,还可赋给全局变量或作为结果返回。
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).
G:该选项将生成查找表并将其作为静态全局变量,而不是在查找函数内生成以隐藏该表(默认行为)。
If an iterator class or a function with static (or global) variables depends on multiple data states, two problems come up.
如果带静态(或全局)变量的迭代器类或函数取决于多个数据状态,则出现两个问题。
Please note that the global variable cannot be dropped if it is referenced in a function, method, trigger or view.
请注意,如果函数、方法、触发器或视图中引用了某个全局变量,则不能删除该变量。
As an additional feature, the function also tests whether the global position of the new row already appears in the parent path.
作为附加的功能,该函数还测试新行的全局位置是否已经出现在父路径中。
Also when a global variable is referenced inside a function or another scope, the script engine has to search through the whole scope to find it.
当在函数或其它地方引用一个全局变量时,脚本引擎需要搜索整个全局命名空间。
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.
或者,调用了正在处理全局数据结构的某个函数,而在信号处理器中又调用了同一个函数。
Use a created global temporary table (CGTT) for per-session storage of the baseline data (use one CGTT per table function).
使用为基线数据的每会话存储创建的全局临时表(CGTT)(对于每个表函数,使用一个 CGTT)。
Mode field specifies the scope of tracing, that is, global for all users on the system or user for users who have tracing enabled by the Administration API task function.
模式(mode)指定跟踪的范围,即是针对系统上的所有用户,还是只针对通过AdministrationAPItask函数启用了跟踪的用户。
Using the sys_nerr global variable and the strerror() function, you can easily whip up some code (see Listing 5) to print out all of the built-in error messages of the system.
通过使用 sys_nerr全局变量和strerror()函数,将可以很轻松地快速编写一些代码(请参见清单5)以打印出系统的所有内置错误消息。
The structure in Listing 4 is used by the mimeokay function for one purpose: to set the global string pointer fstr to the appropriate MIME type string matching the file's extension: fext.
清单4中所示的结构由mimeokay函数使用,用来实现以下用途:将全局字符串指针fstr 设置为与文件扩展名 fext 相匹配的合适的MIME类型。
First, check for Web workers by looking for the worker function in the global scope (window).
首先要通过在全局范围(视窗)中查找worker函数来检测Webworker。
This function initializes the global state of Guile and must be called prior to any other Scheme function.
该函数初始化guile的全局状态,它必须在任何其他Scheme函数之前调用。
CSimpleBinaryTree provides a generic global compare function that compares two Pointers of type long.
CSimpleBinaryTree提供了一个通用的全局比较函数,它可以比较两个长整型的指针。
The principal function of the Web container is for servlet and JSP components, but it still provides global transaction support.
web容器的主要功能是针对Servlet和JSP组件,但是它也提供全局事务支持。
The principal function of the Web container is for servlet and JSP components, but it still provides global transaction support.
web容器的主要功能是针对Servlet和JSP组件,但是它也提供全局事务支持。
应用推荐